Checking remote processes

Norberto Meijome freebsd at meijome.net
Mon Oct 2 22:13:01 PDT 2006


On Sun, 01 Oct 2006 18:24:41 -0700
Garrett Cooper <youshi10 at 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.


More information about the freebsd-questions mailing list