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
-------------- next part --------------
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       );
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ClientInfoFiles.tar.gz
Type: application/x-tar-gz
Size: 1370 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20021224/51e64e68/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20021224/51e64e68/attachment.pgp>

Reply via email to