I am working on a script that will retrieve process info from a Linux, a Windows, a Suse and a Solaris hosts.
I run this script from a RedHat 2.6 machine. The first problem I have is how to get process info from a Windows XP host. There are only two ways to do it:
- directly execute a script from the RedHat machine, get the process info remotely
- telnet to the WinXP host and get process info locally then return back a temp file with all the info
for the first solution, I need to install Win32:IsWinNT, Win32, Win32::Process::Info on the RedHat 2.6 hosts. However, the cpan seems couldn't find the Win32::IsWinNT module
> # perl -MCPAN -e 'install Win32::IsWinNT'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 27 Jun 2005 05:58:10 GMT
Warning: Cannot install Win32::IsWinNT, don't know what it is.
Try the command
i /Win32::IsWinNT/
to find objects with matching identifiers.
Can I install those windows modules on a RedHat host? I did find out the cpan do test those windows modules on Linux platforms.
Any ideas? Thanks.