summaryrefslogtreecommitdiff
path: root/htroot/api/status_p.xml
blob: 73c6607dee2809227c458c7a2a519de13892dc5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version="1.0"?>
<status>
  <ppm>#[ppm]#</ppm>
  
  <wordCacheSize>#[wordCacheSize]#</wordCacheSize>
  <wordCacheMaxSize>#[wordCacheMaxSize]#</wordCacheMaxSize>

  <memory>
    <used>#[usedMemory]#</used>
    <free>#[freeMemory]#</free>
    <total>#[totalMemory]#</total>
    <max>#[maxMemory]#</max>
  </memory>
  
  <disk>
    <used>#[usedDisk]#</used>
    <free>#[freeDisk]#</free>
  </disk>
  
  <processors>#[processors]#</processors>
  <load>#[load]#</load>
  
  <traffic>
	<in>#[trafficIn]#</in>
	<proxy>#[trafficProxy]#</proxy>
	<crawler>#[trafficCrawler]#</crawler>
  </traffic>
  
  <dbsize>
    <urlpublictext>#[urlpublictextSize]#</urlpublictext>
    <urlpublictextSegmentCount>#[urlpublictextSegmentCount]#</urlpublictextSegmentCount>
    <webgraph>#[webgraphSize]#</webgraph>
    <webgraphSegmentCount>#[webgraphSegmentCount]#</webgraphSegmentCount>
    <citation>#[citationSize]#</citation>
    <citationSegmentCount>#[citationSegmentCount]#</citationSegmentCount>
    <rwipublictext>#[rwipublictextSize]#</rwipublictext>    
    <rwipublictextSegmentCount>#[rwipublictextSegmentCount]#</rwipublictextSegmentCount>    
  </dbsize>
  
  <loaderqueue>
    <size>#[loaderSize]#</size>
    <max>#[loaderMax]#</max>
  </loaderqueue>
  
  <localcrawlerqueue>
    <size>#[localCrawlSize]#</size>
    <state>#[localCrawlState]#</state>
  </localcrawlerqueue>
  
  <limitcrawlerqueue>
    <size>#[limitCrawlSize]#</size>
    <state>#[limitCrawlState]#</state>
  </limitcrawlerqueue>
  
  <remotecrawlerqueue>
    <size>#[remoteCrawlSize]#</size>
    <state>#[remoteCrawlState]#</state>
  </remotecrawlerqueue>
  
  <noloadcrawlerqueue>
    <size>#[noloadCrawlSize]#</size>
    <state>#[noloadCrawlState]#</state>
  </noloadcrawlerqueue>

<!-- crawl profile list -->
#(crawlProfiles)#<crawls count="0"/>::
  <crawls count="#[count]#">
  #{list}#
    <crawl>
      <name>#[name]#</name>
      <count>#[count]#</count>
      <handle>#[handle]#</handle>
      <depth>#[depth]#</depth>
      <status>#(terminateButton)#terminated::alive#(/terminateButton)#</status>
    </crawl>
  #{/list}# 
  </crawls>
#(/crawlProfiles)#
  
  <postprocessing>
    <collectionRemainingCount>#[postprocessingCollectionRemainingCount]#</collectionRemainingCount>
    <webgraphRemainingCount>#[postprocessingWebgraphRemainingCount]#</webgraphRemainingCount>
    <status>#(postprocessingRunning)#idle::busy:#[activity]##(/postprocessingRunning)#</status>
    <speed>#[postprocessingSpeed]#</speed>
    <elapsedTime>#[postprocessingElapsedTime]#</elapsedTime>
    <remainingTime>#[postprocessingRemainingTime]#</remainingTime>
    <remainingTimeMinutes>#[postprocessingRemainingTimeMinutes]#</remainingTimeMinutes>
    <remainingTimeSeconds>#[postprocessingRemainingTimeSeconds]#</remainingTimeSeconds>
  </postprocessing>
  
</status>