gelinas
|
|
response 25 of 27:
|
Feb 23 23:47 UTC 2004 |
Sindi, the first part of Response 19 is screen shots from "top", which
displays information about the processes using the most resources. From
the manual page for top (i.e., "man top"):
The top few lines of the display show general information
about the state of the system, including the last process id
assigned to a process (on most systems), the three load
averages, the current time, the number of existing
processes, the number of processes in each state (sleeping,
running, starting, zombies, and stopped), and a percentage
of time spent in each of the processor states (user, nice,
system, and idle). It also includes information about phy-
sial and virtual memory allocation.
The remainder of the screen displays information about indi-
vidual processes. This display is similar in spirit to
ps(1) but it is not exactly the same. PID is the process
id, USERNAME is the name of the process's owner (if -u is
specified, a UID column will be substituted for USERNAME),
PRI is the current priority of the process, NICE is the nice
amount (in the range -20 to 20), SIZE is the total size of
the process (text, data, and stack), RES is the current
amount of resident memory (both SIZE and RES are given in
kilobytes), STATE is the current state (one of "sleep",
"WAIT", "run", "idl", "zomb", or "stop"), TIME is the number
of system and user cpu seconds that the process has used,
WCPU, when displayed, is the weighted cpu percentage (this
is the same value that ps(1) displays as CPU), CPU is the
raw percentage and is the field that is sorted to determine
the order of the processes, and COMMAND is the name of the
command that the process is currently running (if the pro-
cess is swapped out, this column is marked "<swapped>").
I'll leave finding the explanation of the "vmstat" portion of Response
19 as an exercise for the reader.
|