Thank you so very much for this matt. We have some windows experts - but I am not one of them. We have enough interest for there now to be an internal process finding the funding for the programming work (yes, I work in a bank),
We have people for example that know how to use the xyz.dll direct rather than via WMI, for efficiency reasons. I will keep the group posted on progress, but it may be weeks rather than days for stuff to start. P.S. One possibility is to further hack the cygwin version to make the non-working metrics work by some means or another (the load stuff we may not get working, but correct CPU reporting, and processes and process queue stuff sounds doable). Do you have views? kind regards, Richard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of matt massie Sent: 10 November 2005 19:37 To: Grevis, Richard: IT (LDN) Cc: Ganglia Developers Subject: [Ganglia-developers] Re: [Ganglia-general] windows gmond client richard- it would be wonderful if you were to write a windows native gmond! i had to make a lot of painful compromises in 3.x to get ganglia working on cygwin/windows (like not using any POSIX threads). having a windows-only code base would make things soooo much easier all around. i originally thought that having a single code base would be easier. i was wrong. step 1. i think step one in building the client is finding out all the OS calls necessary for collecting the system metrics. the current windows client uses the cygwin "/proc" filesystem. this filesystem is really just a directory with files that contain the current system configuration and status in the same format as linux. the problem with the cygwin proc filesystem is that is not complete and is emulated. step 2. once you have the code for collecting all the metrics, step 2 is to send those metric out via UDP in XDR format. unless things have changed, windows does not have a DLL with the Sun XDR api to format the data (of course.. why would microsoft support a portable data format that has been around for over 18 years). luckily, i have the code for XDR which should compile pretty painlessly on windows (and i'm attaching it to this email). ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays Group does not accept legal responsibility for the contents of this message. Although the Barclays Group operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays Group for operational or business reasons. ------------------------------------------------------------------------