So, I changed ClientLoad to ClientInfo, and made it also report
the stuff on the environment infolet, except for the thread stuff
which I havn't 100% worked out yet ^_^.  Anyhow, people should
find this a little more paletable, hopfully ^_^.

Example output:

NodeInfo
LeastRecentTimestamp=f22047b540
AllocatedMemory=33b000
DatastoreUsed=338d000
MostRecentTimestamp=f24e1a0e00
JavaVersion=Blackdown-1.3.1_02b-FCS
DatastoreMax=10000000
FreeMemory=115c38
EstimatedLoad=0
JavaName=Java HotSpot(TM) Server VM
OperatingSystemVersion=2.4.19-rc1
OperatingSystem=Linux
NodePort=7ca8
NodeAddress=192.168.2.15
DatastoreFree=cc73000
JavaVendor=http://www.blackdown.org/
Architecture=i386
EndMessage

        - fish
Index: src/freenet/node/Main.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/Main.java,v
retrieving revision 1.131
diff -u -3 -p -r1.131 Main.java
--- src/freenet/node/Main.java  21 Dec 2002 01:29:31 -0000      1.131
+++ src/freenet/node/Main.java  24 Dec 2002 02:11:40 -0000
@@ -1689,6 +1689,7 @@ public class Main {
    
         // FCP messages
         mh.addType( FCPRawMessage.class, ClientHello.messageName,     
ClientHello.class     );
+        mh.addType( FCPRawMessage.class, ClientInfo.messageName,      
+ClientInfo.class     );
         mh.addType( FCPRawMessage.class, GenerateSVKPair.messageName, 
GenerateSVKPair.class );
         mh.addType( FCPRawMessage.class, GenerateCHK.messageName,     
GenerateCHK.class     );
         mh.addType( FCPRawMessage.class, ClientGet.messageName,       ClientGet.class 
      );

Attachment: ClientInfoFiles.tar.gz
Description: application/tar-gz

Attachment: msg06047/pgp00000.pgp
Description: PGP signature

Reply via email to