Chapter 9 Homework Review linux
20 and 19
Nice values are used to affect process priorities using a range between _____________
all instances of a process with the same name matched by a regular expression
The pkill command terminates ________
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. If /etc/cron.allow exists, only users listed in it can use the cron command. If /etc/at.allow exists, only users listed in it can use the at command.
Which of the following statements is true? (Choose all that apply.)
forking
A process spawning or initiating another process is referred to as _____.
is a rogue process
A runaway process that is faulty and consuming mass amounts of system resources ________.
True
As daemon processes are not associated with terminals, you must use an option such as -e alongside the ps command to view them. True or False?
parent process ID
Every process has a process ID and a_______.
You can use the Ctrl+z key combination and the bg command.
How can you bypass the wait function and send a user process to the background?
schedule processes to run at a single instance in the future
The at command is used to _______________.
True
To kill a process running in the background, you must place a % character before its process ID. True or False?
crontab
What command is used to view and modify user jobs scheduled to run with cron?
daemon process
What is the name given to a process not associated with a terminal?
9
What kill level signal cannot be trapped?
There is a question mark in the TTY column.
When you run the ps command, how are daemon processes recognized?
/var/spool/cron/username
Where are individual user tasks scheduled to run with the cron daemon stored on a Fedora system?
jobs
Which command can be used to see processes running in the background?
ps
Which command entered without arguments is used to display a list of processes running in the current shell?
top
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?
renice -12
Which of the following commands will most likely increase the chance of a process receiving more time slices?
init/systemd
Which process has a PID of 1 and a PPID of 0?