top is a Unix/Linux/BSD program to show what processing are running. It can show the top users of CPU or memory.
Questions tagged [top]
302 questions
2
votes
3 answers
Find out what NFSD processes are actually doing?
When I view top on one of our servers there are a lot of nfsd processes consuming CPU:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2769 root 20 0 0 0 0 R 20 0.0 2073:14 nfsd
2774 root 20 0 …

BT643
- 551
- 3
- 9
- 21
2
votes
5 answers
Is there a top like tool that shows processes and ports, live?
I'd like to be monitoring ports in "realtime" and the processes that use them. Is there any tool that can handle that?
I imagine somethinkg like top, but with a column that lists all ports the process is using... or a list of ports, protocol, and…

Luis Lobo Borobia
- 438
- 5
- 19
2
votes
1 answer
Our RAM usage is high, including -/+ buffer/cache, but top has no answers
We are running CentOS 6 with a PHP web application.
After we pushed a new version live it seems we have a memory issue, however top does not show any high usage instances. I have looked around and people suggest checking out free, to check if it is…

Matt Votsikas McLean
- 211
- 2
- 10
2
votes
0 answers
SuSE 11: "top" CPU percentages don't add up
Running "top -b" on my SLES 11sp2 system produces the output below. The Cpu(s) line reports 33.7% CPU usage in user space, but if you add up the %CPU column in the process listing you only get 4.9% usage.
I've read answers to similar questions that…

Sean
- 21
- 1
2
votes
2 answers
Can `top` show average data?
top shows instant resource usage.
Also it has -d option that sets refresh rate.
But how can I get average %CPU for processes for 1 minute?

Dmitry
- 179
- 1
- 2
- 8
2
votes
1 answer
read-only `top` in linux?
I have a few servers with an application for some clients, and I want to make an application available for the client to view the server and application status, and to be able to restart some services.
I already have done the major part of it,…

Carlos Campderrós
- 773
- 2
- 6
- 17
2
votes
2 answers
How do I identify which website on my server is under heavy traffic?
I currently host one website on a server which many other websites use connect to via an API.
When I use the terminal command 'top' I can see www-data is the main culprit for my server running slow.
How do I identify which website is making the most…

Bob Flemming
- 1,245
- 3
- 14
- 17
2
votes
2 answers
Linux process swap usage is greater than the overall system swap usage
I have a strange problem that when I run top command it shows that some processes are using around 1.5GB of swap space but then the overall usage of the system swap is way to less to something around 117MB, so why is that? I thought the overall…

Imran Imtiaz
- 83
- 8
2
votes
2 answers
Linux: Finding the system processes which are at the top
I am running a multithreaded program on my 8-core processor. top command shows 8 processes are running and each one utilizes a core by 100%. The problem is that only 21% are marked as user cpu and my application is running so slow:
Cpu(s): 20.6%us,…

lashgar
- 681
- 1
- 5
- 16
2
votes
2 answers
Live monitoring on web server logs by tailing the webserver access log
I am looking for a way to find who causes high load on my nginx web server but I do have too many requests per minutes to figure it out which one is the real cause.
I want a solution that would work like top but that would give me starts like
ip | …

sorin
- 8,016
- 24
- 79
- 103
2
votes
2 answers
How to show high usage user's username with the top command, if the username is too long?
I'm having problem identifying high usage users on a shared Linux machine.
I use the "top" command and it does show which commands are using the most CPU.
But the usernames on this server all start with the same prefix. So the USER column cuts-off …

Qi Fan
- 350
- 3
- 12
2
votes
1 answer
ps -o pcpu on Debian Squeeze is giving meaningless numbers
I'm trying to get the CPU percentage for processes on a busy server out of ps, but it's giving me nonsensical numbers. Here's a truncated example:
$ ps -eo pcpu,pid | sort -n
%CPU PID
...
36.5 26403
38.6 28295
39.0 11741
42.6 11736
58.6…

regularfry
- 215
- 2
- 11
2
votes
2 answers
Top being high but not much processors are running on high cpu usage?
I have a machine running a very small java listener and no body is using this machine but load is like staying between 0.9 to 0.6 for nearly sometime? IS it any indication here? What could be causing to go high when there is very little activity on…

newbie14
- 149
- 2
- 8
2
votes
2 answers
how to monitor select processes on centos 5.x host?
I would like to monitor a select group of processes, vmware vm's, running on my centos 6 host. "top" gives me most of what I want in that I can use -p to specify only those processes and -c to get the full command line as I'm ultimately interested…

bo gusman
- 21
- 1
- 2
2
votes
1 answer
Is there a way to run top as a daemon to gather historical process data?
I am aware that I can write a cron job that will run top in batch mode and write the output to a file but I am looking for something more elegant than that. Also I am aware of sysstat (sar) but I am looking for more detailed process data.
Does…

ckliborn
- 2,778
- 4
- 25
- 37