Count httpd processes

pidof httpd | wc -w
Returns the number of running httpd processes
Sample Output

By: eneko
2011-02-24 16:46:46

1 Alternatives + Submit Alt

What Others Think

Why have these been voted down? Does anyone know of a cleaner way to count the number of processes?
l0b0 · 464 weeks ago
Preventive healthcare consists of measures taken for disease prevention. MaxRemind top rank medical billing company USA offers Preventive Healthcare Medical Billing Services and medical credentialing services to Preventive healthcare physicians in all states of USA at lowest rates.
stevematt · 38 weeks and 2 days ago
If you can't write the program yourself, try reading about this essay first. Maybe you have a school assignment with these processes, or maybe you need to write an essay on success? Then just visit, I did this every time I couldn't write my own essay.
EthanVaughan · 27 weeks and 1 day ago
Does support your entire worked with site using cPanel support interface and get sound great to all of you here? We overall can see that as that was what we will really need to like in the free hours as that was the means by which we can help the motivation behind them now.
noshaan1 · 21 weeks and 4 days ago
Just click here as we all know that you will be able to find so much more that you can't imagine otherwise now. From here you all can learn so many new things that you can't think otherwise from any other source as that was what we needed to look forward to for them in the free time. Just see that as what we will like that.
saveed · 13 weeks and 6 days ago
If you are unable to write the software yourself, read this essay first. Perhaps you have a school assignment including these steps, or perhaps you need to compose a successful essay? Then go to pay for essay writing service, which is what I did whenever I couldn't write my own essay.
jackchadwick · 5 weeks and 6 days ago
Simply best assignment writing service since we all know you'll be able to find so much more than you can think. You can learn so many new things from here that you won't be able to learn them from any other source, as that was what we needed to anticipate for them in their spare time. Just think of it as something we'll enjoy.
jackchadwick · 4 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: