CompTIA Linux+ Chapter 9
Every process has a process ID and a_______.
parent process ID
Which command entered without arguments is used to display a list of processes running in the current shell?
ps
Which of the following commands will most likely increase the chance of a process receiving more time slices?
renice -12
The at command is used to _______________.
schedule processes to run at a single instance in the future
Which command is used to gain real-time information about processes running on the system with the most processor-intensive processes listed at the beginning of the list?
top
Nice values are used to affect process priorities using a range between _____________.
-20 and 19
Where are individual user tasks scheduled to run with the cron daemon stored on a Fedora system?
/var/spool/cron/(the user's login name)
What kill level signal cannot be trapped?
9
As daemon processes are not associated with terminals, you must use the -e switch with the ps command to view them. True or False?
False
To kill a process running in the background, you must place a % character before its process ID. True or False?
False
Which of the following statements is true? (Choose all that apply.)
If /etc/at.allow exists, only users listed in it can use the at command. If /etc/cron.allow exists, only users listed in it can use the cron command. If /etc/cron.deny exists and /etc/cron.allow does not exist, any user not listed in /etc/cron.deny can use the cron command.
When you run the ps command, how are daemon processes recognized?
There is a question mark in the TTY column.
How can you bypass the wait function and send a user process to the background?
You can use the Ctrl+z key combination and the bg command.
What command is used to view and modify user jobs scheduled to run with cron?
crontab
What is the name given to a process not associated with a terminal?
daemon process
The term used to describe a process spawning or initiating another process is referred to as_____.
forking
Which process will always have a PID of 1 and a PPID of 0?
init
A runaway process that is faulty and consuming mass amounts of system resources ________.
is a rogue process
Which command can be used to see processes running in the background?
jobs
The killall command terminates _________.
all instances of a process with the same name