Skip to content

ps

  • Application: It's a service. E.g., firefox, gimp
  • Process: A small portion of the application. Application is composed of processes
  • Threads: Instances of the process. Usually multiple

  • Daemon: It's a process that continuously run in the background until it's stopped

  • Job: It's a service or process that is scheduled (workorder)
  • Script: List of instructions. pwd, useradd
# List processes running in the system
ps -ef

# List processes running in the current terminal!
ps

# List all processes along with additional info
ps aux
ps aux | grep "chrome"
  • ps always show the ps command itself in the list. Because when the processes are listed ps is currently running