Perl: the Markov chain saw | |
PerlMonks |
Re: AIX box needs to fetch running-process info from Win2Kby terra incognita (Pilgrim) |
on Nov 19, 2004 at 21:18 UTC ( [id://409161]=note: print w/replies, xml ) | Need Help?? |
Use snmp to monitor the process remotely.
On RH Linux the command would be
This will return all the process names and PID running on the windows machine in the following format.
From this list it should be easy to parse out the name you want. This will of course require that you run "snmp service" on the Windows machine if they are not running already. You will not need to run the "snmp trap service" however. -- UPDATE -- Net::SNMP will be the package you want, and Example 1 in the docs will work on a windows machine.
In Section
Seekers of Perl Wisdom
|
|