Skip to main content

Process management

Display all running processes

ps aux

Display only PID, USER and COMMAND columns

ps -eo pid,user,args

Find process by name

pgrep procName

Useful options:

  • -a adds the full command line to the output.
  • -l adds only the name of the process.
  • -i makes the search case insensitive.
  • -u user will list the processes owned by user.