From 1bbc0fe6d22c788da7fa5aee68c62c47f30b81ee Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Thu, 27 Feb 2014 00:32:39 +0100 Subject: [PATCH] added a properties file format for the status_p api to support reading of that information with the java Properties class (very easy for small clients) --- htroot/api/status_p.properties | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 htroot/api/status_p.properties diff --git a/htroot/api/status_p.properties b/htroot/api/status_p.properties new file mode 100644 index 000000000..15a29d2e0 --- /dev/null +++ b/htroot/api/status_p.properties @@ -0,0 +1,49 @@ +ppm=#[ppm]# +wordCacheSize=#[wordCacheSize]# +wordCacheMaxSize=#[wordCacheMaxSize]# +memory.used=#[usedMemory]# +memory.free=#[freeMemory]# +memory.total=#[totalMemory]# +memory.max=#[maxMemory]# +disk.used=#[usedDisk]# +disk.free=#[freeDisk]# +processors=#[processors]# +load=#[load]# +traffic.in=#[trafficIn]# +traffic.proxy=#[trafficProxy]# +traffic.crawler=#[trafficCrawler]# +dbsize.urlpublictext=#[urlpublictextSize]# +dbsize.urlpublictextSegmentCount=#[urlpublictextSegmentCount]# +dbsize.webgraph=#[webgraphSize]# +dbsize.webgraphSegmentCount=#[webgraphSegmentCount]# +dbsize.citation=#[citationSize]# +dbsize.citationSegmentCount=#[citationSegmentCount]# +dbsize.rwipublictext=#[rwipublictextSize]# +dbsize.rwipublictextSegmentCount=#[rwipublictextSegmentCount]# +loaderqueue.size=#[loaderSize]# +loaderqueuemax=#[loaderMax]# +localcrawlerqueue.size=#[localCrawlSize]# +localcrawlerqueuestate=#[localCrawlState]# +limitcrawlerqueue.size=#[limitCrawlSize]# +limitcrawlerqueue.state=#[limitCrawlState]# +remotecrawlerqueue.size=#[remoteCrawlSize]# +remotecrawlerqueue.state=#[remoteCrawlState]# +noloadcrawlerqueue.size=#[noloadCrawlSize]# +noloadcrawlerqueue.state=#[noloadCrawlState]# +#(crawlProfiles)#crawls.count=0:: +crawls.count=#[count]# +#{list}# +crawl.#[name]#.count=#[count]# +crawl.#[name]#.handle=#[handle]# +crawl.#[name]#.depth=#[depth]# +crawl.#[name]#.status=#(terminateButton)#terminated::alive#(/terminateButton)# +#{/list}# +#(/crawlProfiles)# +postprocessing.collectionRemainingCount=#[postprocessingCollectionRemainingCount]# +postprocessing.webgraphRemainingCount=#[postprocessingWebgraphRemainingCount]# +postprocessing.status=#(postprocessingRunning)#idle::busy:#[activity]##(/postprocessingRunning)# +postprocessing.speed=#[postprocessingSpeed]# +postprocessing.elapsedTime=#[postprocessingElapsedTime]# +postprocessing.remainingTime=#[postprocessingRemainingTime]# +postprocessing.remainingTimeMinutes=#[postprocessingRemainingTimeMinutes]# +postprocessing.remainingTimeSeconds=#[postprocessingRemainingTimeSeconds]#