Within the output of top, there are two fields, marked “buff/cache” and “avail Mem” in the memory and swap usage lines:
When I issue top
in Linux, I get a result similar to this:
I have access to an 8-core node of a Linux cluster. When logged in to the node, I can see a list of processors using this command:
I’m observing a high load average on a certain machine (about 9) in all three load fields. I understand load as the number of processes in state “run” / currently desiring CPU time. Am I correct at reasoning that if N processes are running on my machine this cannot produce a load greater than N?
I’m looking for somthing like top is to CPU usage. Is there a command line argument for top that does this? Currently, my memory is so full that even ‘man top’ fails with out of memory 🙂
What is the difference between ps
and top
command ? I see that both can display information about running processes . Which one should be used when ?
I find the output of the shell command top
to be a simple and familiar way to get a rough idea of the health of a machine. I’d like to serve top
‘s output (or something very similar to it) from a tiny web server on a machine for crude monitoring purposes.
I have been looking into the iowait
property shown in top utility output as shown below.