Managing Processes Flashcards
process
a running program
init process
core of a linux system, runs scripts that start all of the other processes running on the system, including text consoles and GUI
ps
shows all programs running on system, but by default only shows programs running on current shell
ps -ef
shows every process running on the system
UID
user responsible for running process
PID
process ID of the process
PPID
process ID of the parent process
C
processor utilization over the lifetime of the process
STIME
system time when the process was started
TTY
the terminal device from which the process was started
TIME
the cumulative CPU time required to run the process
CMD
the name of the program that was started in the process
sleeping
processes swapped into virtual memory, sometimes waiting for an event
interruptable sleep mode
receives signals immediately
uninterruptible sleep mode
the process only wakes up for an external event, such as hardware becoming available
zombie
the process has ended, but the parent process hasn’t acknowledged its termination
ps a
display every single process on the system associated with a TTY terminal
pa -A or ps -e
display every process on the system
ps -C
only display processes running a command in the command list
ps -g
only display processes whose current effective group is in the GID list