Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

In some cases, you may want to know the number of processes working in the system. You can know it by grep -ef | grep <process name> | wc -l


Following is the example to check the total number of process for "postgres":

Code Block
ps -ef | grep postgres | wc -l


Following is the example to check the total number of process for "ffmpeg":

Code Block
ps -ef | grep ffmpeg | wc -l