Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2006 18:24:41 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Checking remote processes
Message-ID:  <45206A59.3030008@u.washington.edu>
In-Reply-To: <1532.12.170.206.13.1159751554.squirrel@admintool.trueband.net>
References:  <1532.12.170.206.13.1159751554.squirrel@admintool.trueband.net>

next in thread | previous in thread | raw e-mail | index | archive | help
jhall@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45206A59.3030008>