Checking remote processes

Garrett Cooper youshi10 at u.washington.edu
Sun Oct 1 18:24:43 PDT 2006


jhall at vandaliamo.net wrote:
> Is there a way to test a remote server to determine if certain processes
> are running?
>
> For example, can server 1 check server 2, which is at a remote location,
> to ensure squid is running?
>
> I have not been able to figure out how to do this, or if it is even possible.
>
> Thanks,
>
>
> Jay
>   
This is easily done with ssh:

ssh remote_host_addr "ps aux | grep server_proc_name", i.e.

ssh some.hosts.address "ps aux | grep httpd"

-Garrett


More information about the freebsd-questions mailing list