From: Mohit Sindhwani Date: 2007-08-31T00:36:38+09:00 Subject: Re: collecting remote system information Kyle Schmitt wrote: > I've worked on some projects before for this sort of thing, and Ed is right. > > It's not pretty. > > The only way to do it without really mucking about on each system is > to get the data in the system-specific format, then munge it together > into whatever global format you design. > > This means writing system specific code for ... well each system to test. > > There's a MS command line app some where on the MSDN site (complete > with sample code) that can be used to gather lots of info for ms OSes > (no I don't remember the name of the app, sorry), and then, depending > on the unicies you're dealing with, data will be exposed by different > system calls or virtual file systems. > > > --Kyle > > There are a couple of packages on RubyForge that are cross-platform Ruby libraries for returning some of the basic information about the system. The URL is: http://rubyforge.org/projects/sysutils I just downloaded some of these for adding more information to one of the regular scripts that I run for gathering statistics about the running environment of some largely unattended scripts and to alert me if the status changes (mostly, I was interested in finding free disk space). I'm not sure if these packages will give you something that helps. Cheers, Mohit. 8/30/2007 | 11:36 PM.