Process Management Flashcards
Quick review of process definitions
Show process information for all users
ps -a
ps -x
Displays info regarding processes without terminals
ps -ef
Displays full information for all processes (in foreground and background)
You execute the sleep command for 800 seconds by accident, stop this command and obtain a job ID
control z
When a process is killed, but it’s still visible in the ps listing, it is called a _________________
Zombie Process
When a PPID is terminated prior to terminating the PID, the PID is now an________________
Orphan Process
Please check if passwd file (/var/lib/sss/mc/passwd) is using processes or has been opened by processes
lsof /var/lib/sss/mc/passwd
Type of processes that system processes run in the background with root permission are called ______________
Daemon Processes
You want to run a command in the back ground; after obtaining it’s job id 7, you type ____
bg 7
Kill Process 5784 slowly
kill 5784 -15