Quiz 11/18
As daemon processes are not associated with terminals, you must use the -e switch with the ps command to view them. True or False?
True
Which of the following statements is Which of the following is true? (Choose all that apply.) a. If /etc/at.allow exists, only users listed in it can use the at command. b. If /etc/cron.allow exists, only users listed in it can use the cron command. c. 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. d. If /etc/cron.allow and /etc/cron.deny exist, only users listed in the former can use the cron command and any listed in the latter are denied access to the cron command. e. If a user is listed in both /etc/cron.allow and /etc/cron.deny, then /etc/cron.deny takes precedence and the user cannot access the crontab command.
a b c
The killall command terminates _________. a. all instances of a process with the same PPID b. all instances of a process with the same PID c. all instances of a process with the same priority d. all instances of a process with the same name
d
What is the name given to a process not associated with a terminal? a. child process b. parent process c. user process d. daemon process
d
Which command entered without arguments is used to display a list of processes running in the current shell? a. ppid b. list c. pid d. ps
d
What runlevel halts the system?
0
What kill level signal cannot be trapped? a. 1 b. 9 c. 3 d. 15
b
Which command can be used to see processes running in the background? a. bg b. jobs c. ps -% d. fg
b
The at command is used to _______________. a. schedule processes to run periodically in the background b. schedule processes to run periodically on a recurring basis in the future c. schedule processes to run at a single instance in the future d. schedule processes to run in the foreground
c
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? a. ps b. ps -elf c. top d. process
c
Which of the following commands will most likely increase the chance of a process receiving more time slices? a. renice 0 b. renice 15 c. renice -12 d. renice 19
c
Which process will always have a PID of 1 and a PPID of 0? a. the kernel itself b. ps c. init d. top
c
A runaway process that is faulty and consuming mass amounts of system resources ________. a. is a zombie process b. is an orphaned process c. has a PPID of Z d. is a rogue process
d
Every process has a process ID and a_______. a. fork process b. daemon c. child process d. parent process ID
d
Nice values are used to affect process priorities using a range between _____________. a. 0 and 20 b. 0 and -19 c. -19 and 20 d. -20 and 19
d
The first process started by the Linux kernel is the ___ daemon, which has a PID of 1 and a PPID of 0 referring to the kernel itself.
init