Hello all,

How can I find out information about a system in a system-independent manner?

I wrote a perl script that nicely displays information about a Linux
system: # of cpus, cpu speed, size of RAM, # of disks, size of disks, IP
address.  The code uses the system() command and relies on the /proc
psuedo-file system.  Now, I would like to have a similar script that runs
on Win32 systems.  I seem to have two choices: 1) write a completely
different script specific for Win32 or 2) write a system-independent script
that will run on both Win32 and Linux.

Ideally, I would like to do option 2.  I've searched for commands that will
tell me cpu, memory, IP, and disk information on a Win32 system, but have
not found them.  I have found Sys::CPU on CPAN, but that has not been
tested on Win32 and is only part of what I'm looking for.

Any pointers would be greatly appreciated.

Regards,
- Robert


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to