On Tue, Dec 24, 2002 at 01:16:59PM +1100, fish wrote: > 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 ^_^.
How do I test this? > > 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 ); -- Matthew Toseland toad at amphibian.dyndns.org/amphibian at users.sourceforge.net Full time freenet hacker. http://freenetproject.org/ Freenet Distribution Node (temporary) at ICTHUS. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20030128/6162c735/attachment.pgp>
