Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2006 15:12:52 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Checking remote processes
Message-ID:  <20061003151252.54200f76@localhost>
In-Reply-To: <45206A59.3030008@u.washington.edu>
References:  <1532.12.170.206.13.1159751554.squirrel@admintool.trueband.net> <45206A59.3030008@u.washington.edu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, 01 Oct 2006 18:24:41 -0700
Garrett Cooper <youshi10@u.washington.edu> wrote:

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

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

to make sure you don't catch the 'grep httpd' in the output ;)
_________________________
{Beto|Norberto|Numard} Meijome

"Humans die and turn to dust, but writing makes us remembered"
  4000-year-old words of an Egyptian scribe

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20061003151252.54200f76>