Chapter 5 Flashcards
What is the name of the utility which displays a dynamically updated list of processes currently running on the machine, as well as CPU and memory utilization statistics?
top
[root@station root]$ uptime
05:06:00 up 3 days, 12:25, 2 users, load average: 0.89, 3.25, 8.87
The machine has recently been active, but is currently inactive.
How long has passed since the machine was most recently booted?
84 hours
Use the following top 5 lines from the top command to answer the next 4 questions.
top - 05:14:52 up 3 days, 12:34, 2 users, load average: 4.39, 1.40, 0.48
Tasks: 86 total, 79 sleeping, 7 running, 0 zombie, 0 stopped
Cpu(s): 20.0%us, 79.8%sy, 0.4%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 255184k total, 247244k used, 7940k free, 91620k buffers
Swap: 521632k total, 20756k used, 500876k free, 67012k cached
-
How much physical memory does the machine have?
256 megabytes
Which of the following best describes the type of activity on the machine?
The machine is predominantly running processes which involve a lot input and output activity.
Roughly what percentage of the machine’s physical memory is devoted to caching I/O operations?
60%
Roughly how much physical memory is being devoted to processes, in megabytes?
255 - 8 - (92 + 67) = 88
What file contains information about current memory utilization?
/proc/meminfo
Use the following transcript to answer the next 2 questions.
top - 05:32:33 up 3 days, 12:52, 2 users, load average: 1.92, 1.87, 1.87
Tasks: 87 total, 82 sleeping, 5 running, 0 zombie, 0 stopped
Cpu(s): 99.0%us, 1.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 255184k total, 250332k used, 4852k free, 8560k buffers
Swap: 521632k total, 76584k used, 445048k free, 100384k cached
-
On average, how many processes have been running for the past few minutes?
2
Which of the following best describes the type of activity on the local machine?
The machine is predominantly running processes which involve a lot of numeric computation.