how can I count how many of my processes are running
Hi, I list all the instances of a running process my doing:
ps -ef | grep myprogram This lists all them. how can I simply output a count of how many are running??? |
Do you mean something like
ps -ef | grep myprogram | wc -l |
spot on :) cheers
|
All times are GMT -5. The time now is 04:54 AM. |