In this chapter, we have examined how to manage and monitor processes. Since processes and threads are the entities that actually carry out the execution of applications, it’s important that administrators understand how to send signals to manage their activity.
1. |
Which of the following statements is true?
|
|
2. |
What is a process ID?
|
|
3. |
A process that can have its effective ownership changed is known as what?
|
|
4. |
What is the ultimate parent PID for all processes on a system?
|
|
5. |
What does the acronym PPID stand for?
|
|
6. |
What does the acronym STIME stand for?
|
|
7. |
What is the acronym for the memory address of sleeping processes?
|
|
8. |
What command sequence is used to suspend a process?
|
|
9. |
How can the kill command be used to send a SIGHUP to pid 2192?
|
|
10. |
How can the kill command be used to send a SIGKILL to pid 2192?
|
|
Answers
1. |
A. A shell can spawn any type of application, or another shell. |
2. |
D. A sequentially allocated integer that distinguishes one process from another. When the maximum PID is allocated, new PIDs are allocated from 1 again. However, PIDs associated with running processes are never duplicated. |
3. |
C. Effective ownership changes are always associated with a setUID process. |
4. |
B. All processes start with 1 and increase from there. |
5. |
D. A process that spawns a child process is known as a parent. |
6. |
A. STIME represents a process starting time. |
7. |
C. WCHAN is the acronym. |
8. |
C. Hold down the CTRL key and press Z on the keyboard. |
9. |
A. A SIGHUP is represented by 1. |
10. |
D. A SIGKILL is represented by 9. |