In this chapter, we have examined how to manage and monitor the system using accounting and the system logs. In addition, we examined how to profile and tune the kernel's performance. Production systemsin particular require careful monitoring of resource usage to ensure optimal performance.
1. |
Which file contains loghost definitions?
|
|
2. |
What is the name of the syslog configuration file?
|
|
3. |
Which of the following is not a source facility defined in the syslog configuration file?
|
|
4. |
What is the name of the macro processor used to process syslog data?
|
|
5. |
Name the default syslog file?
|
|
6. |
The w command displays the system load for what time intervals?
|
|
7. |
What command would display statistics for the CPU at second intervals 20 times?
|
|
8. |
What does the /etc/system parameter shmmax represent?
|
|
9. |
What does the /etc/system parameter shmmin represent?
|
|
10. |
What does the /etc/system parameter shmmni represent?
|
|
11. |
What does the /etc/system parameter shmseg represent?
|
|
Answers
1. |
C. The hosts database contains definitions for the loghost, as well as other hostnames. |
2. |
B. The syslog.conf file defines all parameters for running syslog. |
3. |
C. There is no default source facility defined in the syslog configuration file. |
4. |
D. The m4 macro processor is used for syslog data. |
5. |
B. The default syslog file is /var/adm/messages, but others can be defined if required. |
6. |
D. The 1, 5, and 15 minute figures give you an indication if a system is consistently overloaded. |
7. |
A. The iostat command must have two parameters (1 and 20) in this scenario. |
8. |
A. shmmax represents the peak shared memory amount. |
9. |
B. shmmin represents the smallest shared memory amount. |
10. |
C. shmmni represents largest number of concurrent identifiers permitted. |
11. |
D. shmseg represents the quantity of segments permitted for each process. |