Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

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)

Michael Peter Christen1bbc0fe6d22c
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]#