General discussion

Locked

checking processes

By telescop ·
I am trying to write a script that will return a value of yes or no(1 or 0) if a specified process is running on a networked workstation. This is so I can be sure my backup agent is running. Does anyone know of a command that will check for process x on machine y and return a value to tell if it is running or not.

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

checking processes

by telescop In reply to checking processes

This is a NT4 network

Collapse -

checking processes

by Marco Milo In reply to checking processes

I have the same problem, and i've used the follwing command:

rsh MACHINE_NAME ps -ef | grep PROCESS_NAME | grep -v grep

this should work...

Collapse -

checking processes

by telescop In reply to checking processes

I need DOS script. For NT network.

Collapse -

checking processes

by telescop In reply to checking processes

This question was closed by the author

Back to Desktop Forum
4 total posts (Page 1 of 1)  

Hardware Forums