Tagged Questions

Top is a UNIX program that shows system usage in real time.

learn more… | top users | synonyms

5
votes
1answer
1k views

How does top calculate the memory figures on Linux?

I'm a bit confused on how the memory figures add up in top. If I've understood correctly, the amount of "really" used memory is total - free - buffers - cached. In the example below that would be ...
5
votes
4answers
4k views

individual cpu % in 'top' output

Usually to view individual cpu % we press '1' in the interactive mode of top. However I am not able to figure out the logic to get the same output in batch mode i.e, top -n1b I am redirecting this ...
2
votes
4answers
48 views

automate: finding non-used servers from a list of servers

i posted this on stack overflow but a user recommended i post here. sorry for cross posting: 0 vote down star i have access to a few linux clusters at school. sometimes they are busy and ...
1
vote
1answer
889 views

Color-coded top in FreeBSD

In Ubuntu (karmic), I can issue top and then press 'Z' or 'B' to color-code or enable bold. Is there any way (hack or otherwise) to do this in FreeBSD (7.2)?
3
votes
2answers
664 views

%CPU for a process

Looking at the output of top on our server, one of my colleagues told me that the fact that some processes got less than 100 "%CPU" was because I was running too many processes. He added that based on ...
3
votes
1answer
3k views

Cpu usage in the output of top

I am looking at the output of top. top - 16:11:19 up 31 days, 2:37, 10 users, load average: 17.01, 16.99, 17.00 Tasks: 470 total, 18 running, 452 sleeping, 0 stopped, 0 zombie ...
2
votes
1answer
5k views

average load and total %CPU in top

I thought the average load by uptime and the summation of %CPU of all running processes in top (#9 column) should agree. But it seems not true. Here is my little experiments: On one server: $ top -b ...
0
votes
1answer
1k views

Memory percentage in top (linux)

Just wondering (1) is the memory percentage in top for a process is relative to memory or relative to memory+swap? (2) if it is the former, how can I get the latter? Vice versa. (3) To determine ...
5
votes
3answers
1k views

Where does the command “top” get its information from in linux?

Which files does the linux command "top" read from in order to build its table of data? Specifically, I'd like to be able to find the data for the "command" column based off of a PID.
5
votes
2answers
261 views

What is the colorized version of the Linux “top” program?

I didn't know "top" had a nicer colorized version like this. What is the command? Does anyone recognize this?