Final Exam Ch. 9 Review

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

What option can be used with the ps command to display an entire list of processes across all Terminals, including daemons?

-e

In which directory would a system administrator store scripts that should be run monthly by the cron daemon?

/etc/cron.monthly

17. Which process has a PID of 1 and a PPID of 0?

init/systemd

12. A runaway process that is faulty and consuming mass amounts of system resources _____.

is a rogue process

While the top command is running, what key can be pressed to change the nice value of a process?

r

5. 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

10. Nice values are used to affect process priorities using a range between ___________.

-20 and 19

6. Where are individual user tasks scheduled to run with the cron daemon stored on a Fedora system?

/var/spool/cron

Where are scheduled commands stored on Ubuntu Linux systems?

/var/spool/cron/atjobs

Which of the following is the highest value that can be set for the nice value which would result in a greater chance of a lower priority?

19

11. What kill level signal cannot be trapped?

9

9. 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 the /etc/cron.deny can use the cron command.

4. When you run the ps command, how are daemon processes recognized?

There is a question mark in the TTY column.

16. 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?

True

15. 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

2. The pkill command terminates _____.

all instances of a process with the same name matched by a regular expression

8. What command is used to view and modify user jobs scheduled to run with cron?

crontab

Which of the following commands will show the current user cron jobs that have been created for the current logged in user?

crontab -l

18. What is the name given to a process not associated with a terminal?

daemon process

After a background process has been started, what command below can be used to move it to the foreground?

fg

19. Which command can be used to see processes running in the background?

jobs

You have started a job running in the background that you want to now bring to the front so that you can watch it execute. Which of the following commands can be used to display the job's output to the terminal?

jobs -f (wrong)

Which of the following can be used preceding a command to prevent a process from terminating when the parent process terminates?

nohup

20. Every process has a process ID and a _____.

parent process ID

13. A process spawning or initiating another process referred to as ____.

parenting (wrong)

Which of the following commands can be used to terminate a process by the process name?

pkill

7. Which command entered without arguments is used to display a list of processes running in the current shell?

ps

3. Which of the following commands will most likely increase the chance of a process receiving more time slices?

renice -12

14. The at command is used to _____________.

schedule processes to run at a single instance in the future


Set pelajaran terkait

PN ATI Learning System Pharmacology Final Quiz

View Set

S4 N243 PrepU - Ch. 62: Management of Patients with Burn Injury

View Set

Chp. 1- Demographic & Health Characteristics of Older Adults

View Set

Emergency Care: Seizures and Strokes

View Set

leadership and management Chapter 8 planned change

View Set

Reach for the Stars: Revenge of the Event

View Set