News for hackers. Stuff that matters.
Re:Ask HN: Who's Hiring? (January 2011 Edition) by cperciva on Saturday January 01, 2011 @12:02PM (#2057838)
Completely off-topic, but...

  ps aux | grep apache | grep -v grep | wc -l
A more succinct, albeit less portable, alternative is 'pgrep apache | wc -l'. (Or 'pgrep httpd | wc -l', depending on your apache commandline.)

There are no comments on this comment yet.