Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: AIX box needs to fetch running-process info from Win2K

by terra incognita (Pilgrim)
on Nov 19, 2004 at 21:18 UTC ( [id://409161]=note: print w/replies, xml ) Need Help??


in reply to AIX box needs to fetch running-process info from Win2K

Use snmp to monitor the process remotely.

On RH Linux the command would be

Snmpwalk –c public hostname hrSWRunName

This will return all the process names and PID running on the windows machine in the following format.

HOST-RESOURCES-MIB::hrSWRunName.1234 = STRING: “foo.exe”

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://409161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found