Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added load info to status_p.xml
orbiter86b514cf4604
diff --git a/htroot/api/status_p.java b/htroot/api/status_p.javaindex 2a3a3ad9f..f04872d54 100644--- a/htroot/api/status_p.java+++ b/htroot/api/status_p.java@@ -26,6 +26,7 @@// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USAimport net.yacy.cora.protocol.RequestHeader;+import net.yacy.cora.util.Memory;import net.yacy.crawler.CrawlSwitchboard;import net.yacy.crawler.data.CrawlProfile;import net.yacy.kelondro.index.RowHandleSet;@@ -64,6 +65,7 @@ public class status_p {prop.putNum("totalMemory", MemoryControl.total());prop.putNum("maxMemory", MemoryControl.maxMemory());prop.putNum("processors", WorkflowProcessor.availableCPU);+ prop.putNum("load", Memory.load());// proxy trafficprop.put("trafficIn", ByteCount.getGlobalCount());diff --git a/htroot/api/status_p.xml b/htroot/api/status_p.xmlindex f69b934a1..e38b2a908 100644--- a/htroot/api/status_p.xml+++ b/htroot/api/status_p.xml@@ -12,6 +12,7 @@</memory><processors>#[processors]#</processors>+ <load>#[load]#</load><traffic><in>#[trafficIn]#</in>