Linux 101 : The "ps" command output



To display the running processes on a system, we use the below command:


  • PID : unique Process ID number that identifies a process.
  • TTY : the terminal in which the process was started.
  • TIME : refers to the CPU time that was necessary to start a process.
  • CMD : represents the command used to start the process.
To see all the parameters displayed on our screen, we could use the "-f" option, for a full "display":


Below is a short description of the output columns: 
  • UID : User ID of the user account who the process.
  • PPID : refers to the Parent process ID - PID of the process that started the displayed process -.
  • C :  "1" means that is executing on the CPU or waiting for its turn, and "0" means that the process is either sleeping or waiting for an event to act.
  • STIME : refers to eth start time of the process.

Comments

Leave as a comment:

Archive