In this chapter, we have examined advanced topics in process and memory management, especially in the area of pseudo file systems. Configuration of pseudo file systems and swap files can be tricky, so administrators should always select their parameters carefully.
1. |
What is the mount point for the process file system?
|
|
2. |
What is the meaning of the process flag PR_ISSYS?
|
|
3. |
What is the meaning of the process flag PR_VFORKP?
|
|
4. |
What is the meaning of the process flag PR_FORK?
|
|
5. |
What is the meaning of the process flag PR_RLC?
|
|
6. |
What is the meaning of the process flag PR_KLC?
|
|
7. |
What is the meaning of the process flag PR_ASYNC?
|
|
8. |
What is the meaning of the process flag PR_MSACCT?
|
|
9. |
What is the meaning of the process flag PR_MSFORK?
|
|
10. |
What is the purpose of the swap –a command?
|
|
11. |
What is the purpose of the swap –s command?
|
|
12. |
What is the purpose of the swap –l command?
|
|
13. |
What is the purpose of the swap –d command?
|
|
14. |
What entities can be used for swap space?
|
|
15. |
To ensure that a swap partition is added as swap during boot, in what file should an entry be made?
|
|
Answers
1. |
B. The mount point for the process file system is /proc. |
2. |
A. The process flag PR_ISSYS is a system process flag. |
3. |
B. The process flag PR_VFORKP is a vforked child parent flag. |
4. |
C. The process flag PR_FORK is an inherit-on-fork flag. |
5. |
D. The process flag PR_RLC is a run-on-last-close flag. |
6. |
A. The process flag PR_KLC is a kill-on-last-close flag. |
7. |
B. The process flag PR_ASYNC is an asynchronous-stop flag. |
8. |
C. The process flag PR_MSACCT is a microstate accounting on flag. |
9. |
D. The process flag PR_MSFORK is a post-fork microstate accounting inheritance flag. |
10. |
A. The purpose of the swap –a command is to add swap space. |
11. |
B. The purpose of the swap –s command is to summarize swap space usage. |
12. |
C. The purpose of the swap –l command is to list details of swap space usage. |
13. |
D. The purpose of the swap –d command is to delete swap space. |
14. |
C. Both files and partitions can be used for swap space. |
15. |
C. An entry should be made in /etc/vfstab to ensure that a swap partition is added as swap during boot. |