Summary

Summary

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.

Questions

1. 

What is the mount point for the process file system?

  1. /process

  2. /proc

  3. /dev/process

  4. /dev/proc

 B. The mount point for the process file system is /proc .

2. 

What is the meaning of the process flag PR_ISSYS?

  1. System process flag

  2. Vforked child parent flag

  3. Inherit-on-fork flag

  4. Run-on-last-close flag

 A. The process flag PR_ISSYS is a system process flag.

3. 

What is the meaning of the process flag PR_VFORKP?

  1. System process flag

  2. Vforked child parent flag

  3. Inherit-on-fork flag

  4. Run-on-last-close flag

 B. The process flag PR_VFORKP is a vforked child parent flag.

4. 

What is the meaning of the process flag PR_FORK?

  1. System process flag

  2. Vforked child parent flag

  3. Inherit-on-fork flag

  4. Run-on-last-close flag

 C. The process flag PR_FORK is an inherit-on-fork flag.

5. 

What is the meaning of the process flag PR_RLC?

  1. System process flag

  2. Vforked child parent flag

  3. Inherit-on-fork flag

  4. Run-on-last-close flag

 D. The process flag PR_RLC is a run-on-last-close flag.

6. 

What is the meaning of the process flag PR_KLC?

  1. Kill-on-last-close flag

  2. Asynchronous-stop flag

  3. Microstate accounting on flag

  4. Post-fork microstate accounting inheritance flag

 A. The process flag PR_KLC is a kill-on-last-close flag.

7. 

What is the meaning of the process flag PR_ASYNC?

  1. Kill-on-last-close flag

  2. Asynchronous-stop flag

  3. Microstate accounting on flag

  4. Post-fork microstate accounting inheritance flag

 B. The process flag PR_ASYNC is an asynchronous-stop flag.

8. 

What is the meaning of the process flag PR_MSACCT?

  1. Kill-on-last-close flag

  2. Asynchronous-stop flag

  3. Microstate accounting on flag

  4. Post-fork microstate accounting inheritance flag

 C. The process flag PR_MSACCT is a microstate accounting on flag.

9. 

What is the meaning of the process flag PR_MSFORK?

  1. Kill-on-last-close flag

  2. Asynchronous-stop flag

  3. Microstate accounting on flag

  4. Post-fork microstate accounting inheritance flag

 D. The process flag PR_MSFORK is a post-fork microstate accounting inheritance flag.

10. 

What is the purpose of the swap –a command?

  1. Add swap space

  2. Summarize swap space usage

  3. List details of swap space usage

  4. Delete swap space

 A. The purpose of the swap   a command is to add swap space.

11. 

What is the purpose of the swap –s command?

  1. Add swap space

  2. Summarize swap space usage

  3. List details of swap space usage

  4. Delete swap space

 B. The purpose of the swap   s command is to summarize swap space usage.

12. 

What is the purpose of the swap –l command?

  1. Add swap space

  2. Summarize swap space usage

  3. List details of swap space usage

  4. Delete swap space

 C. The purpose of the swap   l command is to list details of swap space usage.

13. 

What is the purpose of the swap –d command?

  1. Add swap space

  2. Summarize swap space usage

  3. List details of swap space usage

  4. Delete swap space

 D. The purpose of the swap   d command is to delete swap space.

14. 

What entities can be used for swap space?

  1. Files

  2. Partitions

  3. Both files and partitions

  4. Neither files nor partitions

 C. Both files and partitions 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?

  1. /etc/swaptab

  2. /etc/sharetab

  3. /etc/vfstab

  4. /etc/dhcptab

 C. An entry should be made in /etc/vfstab to ensure that a swap partition is added as swap during boot.

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.



Part I: Solaris 9 Operating Environment, Exam I