top is a Unix/Linux/BSD program to show what processing are running. It can show the top users of CPU or memory.

learn more… | top users | synonyms

1
vote
0answers
17 views

System not being able to handle soft interrupts but having idle time?

I have a constant 5% and more CPU time spent in handling soft interrupts. Doe to that, the ksoftirqd is running almost constantly, but is using a very small amount of CPU (less than 1%). However, ...
1
vote
1answer
28 views

Influence of kernel code execution to Load average in top?

I'm trying to tests the amount of CPU that iptables use for NAT. Perhaps it will be more accurate to say "the amount of CPU that the netfilter kernel module" uses. The approach i took was to try and ...
-1
votes
3answers
58 views

free shows more memory used than top process total

UPDATE: This was being caused due to a known issue with nss-softkn. See this article: https://www.splyt.com/blog/2014-05-16-optimizing-aws-nss-softoken When I run free -m from my centos 6.5 box I ...
2
votes
1answer
28 views

How to spec VM requirements based on historical data of transient processes on Linux?

I've been given a task to break apart the services on one of our main VMs (Amazon EC2) and appropriate additional VMs to suit the services needs. The type of services that I am dealing with are ...
0
votes
0answers
32 views

How to reset CPU counters? [duplicate]

I have a Linux server (Debian 2.6.32-46-amd64) which has been online for 117 days. The server is basically an Apache + MySQL, and MySQL was usually at 100~200% CPU usage (using top) being the server ...
1
vote
1answer
35 views

ps_mem.py vs top - memory usage?

Every now and again my apache server is crashing, getting an error saying the MaxClients has been reached. In my research I've gained the impression that I may be running out of memory (just checked ...
1
vote
3answers
101 views

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 ...
0
votes
0answers
40 views

aws stolen cpu on dedicated machine

I'm running a dedicated m3.medium EC2 instance. How is it possible that my top says: Tasks: 84 total, 1 running, 83 sleeping, 0 stopped, 0 zombie Cpu(s): 4.3%us, 1.5%sy, 0.0%ni, 90.8%id, ...
-1
votes
1answer
40 views

Memory on dedicated server is filled out [duplicate]

We are managing a dedicated server (WHM/cPanel) with 4-5(Magento & Woocommerce mostly) accounts in it, along with custom code that will connect those platforms with ERPs. This custom code works a ...
0
votes
1answer
43 views

How to understand details of CPU usage

I have a VPS server. At the CPU usage chart I see long periods of 50% CPU usage that are not related to chart of visitors of my site: http://c2n.me/iRJplq. I checked top and most of the time fastcgi ...
4
votes
3answers
124 views

On a freshly-rebooted server why would the CPU running time of processes be huge?

I rebooted our server this morning, yet there are umpteen processes that appear to have been running for 600+ days? Could someone please shed some light? The datetime of the machine is correct: ...
0
votes
1answer
66 views

Apache TOP command time format?

When running top on an Apache server, what is the time format for the output? For instance, is it minute:second.second? http://i.imgur.com/wBx8PAh.png Edit: I'm running on Ubuntu 14.04 and the ...
1
vote
2answers
57 views

Something like `top` for vhosts

Is there any way of establishing what vhosts are keeping Apache processes busy, in real time? Ideally I'd like a tool like top (or htop) that shows me which sites are busiest, or most costly, right ...
0
votes
1answer
231 views

How to get atop to create daily logfile

I'm running a website on a VPS running Centos 6.5 and am having some issues. I'm new to serveradmin so just learning. atop was already installed on our machine and it's working. I wanted to go in and ...
0
votes
2answers
114 views

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 ...
0
votes
0answers
78 views

high mysqld cpu usage after moving to new server

Just moved to a new (more powerful) server with only one website running on it, no changes on the website, but now I got a horrible high CPU load and I can't find out why. top: top - 22:54:08 up 1 ...
1
vote
2answers
274 views

top and htop disagree on memory usage, but swap is being used on GlusterFS server. Can this be improved?

If I run free -m, top and htop, I get different memory uses. The system is also using a small amount of swap. I understand from this question why they are reporting different values (some of the data ...
0
votes
1answer
152 views

CentOS 6.4 64-bit Memory Usage really not adding up

I recently migrated hosting providers and in the process my distribution changed from CentOS 5.9 64-bit to CentOS 6.4 64-bit. Despite having a little more RAM (1 GiB rather than 768 MiB) the new VPS ...
0
votes
0answers
46 views

Strange load average behaviour

We have a daemon which collects system data and writes it into database. Sometimes the load average goes very high without apparent reason. Here is sample output. | id | server_id | datetime ...
0
votes
2answers
456 views

How can I find out what Zimbra process (specifically “b”) is doing?

My Zimbra mail server (8.0.2 Community Edition) recently started to spawn an interesting process called "b". top - 11:04:44 up 19 days, 18:47, 1 user, load average: 6.25, 6.38, 5.57 Tasks: 131 ...
1
vote
2answers
810 views

top command - cpu from processes do not add up

I understand the various types of cpu usage reported by the top command (6.5%us, 17.2%sy, 0.0%ni, etc...), but why does the total %CPU for each process not add up to any of the Cpu(s) values? For ...
0
votes
1answer
197 views

What does TOP's DATA column mean?

I'm trying to figure out the meanings of all the different classifications of memory such as VIRT, RES, SHR, AND DATA. While I generally understand the first 3, I have no idea what the DATA column ...
0
votes
0answers
43 views

top output seems fine, yet server is overloaded

This server I am benchmarking gives no obvious signs of getting overloaded at a first glance. top output: top - 22:48:25 up 5 days, 3:41, 3 users, load average: 3.19, 3.34, 3.25 Tasks: 146 total, ...
2
votes
1answer
159 views

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 ...
2
votes
0answers
166 views

linux - Debian - top(1) in batch mode, with selected columns

I have read the man page (which does not mention how to select columns in batch mode but explains how to do it in interactive mode). Since I also have seen blogs discussing how some environment ...
-1
votes
1answer
460 views

Top not accurately showing memory usage [duplicate]

Top is not showing my memory usage accurately or is my VPS provider doing something strange? As you see in the picture bellow it uses 90%+ of the memory, but when you look at what processes that is ...
1
vote
1answer
142 views

Load average 1.00 while top seems to show the server as idle

My server is not responding to HTTP requests, and it took me a long time before being able to log in with SSH; it all looks like the server is overloaded and on its knees. It already did that a few ...
0
votes
3answers
377 views

What is using up my RAM in VPS?

I'm running top and I see that out of 502968 KB, 48064 KB is used leaving 16884 KB free. But then when I look at the individual processes I see that mysql is consuming 9.4% of my RAM on occasion - but ...
2
votes
0answers
171 views

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% ...
0
votes
1answer
332 views

How filter top output by the COMMAND column?

I want get the same result when pressing u to filter by USER, but instead using the column COMMAND and of course, I need this live (I mean, updating constantly) ;) I'm on Ubuntu.
3
votes
1answer
443 views

Measuring load - %CPU in top is different than %us

When I run TOP on a remote server, I see a very small system utilization (3.8%us). However, for the actual process I am seeing 29.6% of the CPU. Since this server has 8 CPU cores, is the %CPU the ...
5
votes
1answer
422 views

why top gives cpu percents more than 100%

see below statistics by "top -u steve", something is wrong with top? PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3490 steve 20 0 10444 312 248 R 114 0.0 23:33.22 ...
2
votes
2answers
67 views

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?
8
votes
1answer
166 views

Is there a tool that can top-ify an input stream?

I come across quite a few use cases where it would be very useful to take input from a (usually newline-delimited) stream and summarise it in a top-like fashion (see top, iotop, etc). A kind of ...
0
votes
2answers
239 views

How to clear/reset the top-commands TIME counter

To find a performance problem I use "top" commands TIME column in cumulative mode (which is important for me because it also captures all the small executed child processes) When any changes in the ...
-2
votes
1answer
320 views

Which request is httpd2-prefork running? [closed]

Hi my server is running low on memory from time to time I assume apache is the problem. Is there a way how i can tell which http-url a httpd2-prefork from top is running?
2
votes
1answer
116 views

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 ...
0
votes
1answer
33 views

Running “top” memory seems high? [duplicate]

I'm not a Ubuntu expert, but I've just ran top on a Ubuntu server box and Terminal has highlighted the results in red, it looks pretty high to me. Is this right? I'm only really running Apache and ...
3
votes
3answers
234 views

finding kernel space programs [duplicate]

how can we determine %sy process that is Consuming CPU. In the following case there is no netfilter and traffic is under 1 mbps.but still system process are taking too much cpu and cpu usage for ...
0
votes
1answer
193 views

Limit TOP to specific processes (without static PIDs)

I would like to monitor specific processes via TOP on our application servers via TOP. Currently, I have been using the following in BASH to monitor just the processes that I am interested in: top -p ...
1
vote
0answers
151 views

How to find which cron job is hogging CPU?

I am getting a spike in network utilisation on my ec2 micro instance at a specific time each day. Using atop, I found that it is the daily cron that causes the problem: PID RDDSK WRDSK WCANCL DSK ...
1
vote
1answer
111 views

How to find cause of EC2 micro instance regular read/write surge?

Every day without fail, sometime between 06:20 and 07:00 UTC, I get two email alerts from EC2 warning me that my "High VolumeWriteBytes" and "High VolumeReadBytes" have exceeded my set threshold. I ...
1
vote
4answers
602 views

Server Load very high despite CPU usage being low

When I run the top command I get this top - 23:20:50 up 1:25, 1 user, load average: 11.02, 11.20, 10.41 Tasks: 262 total, 3 running, 258 sleeping, 1 stopped, 0 zombie Cpu(s): 75.6%us, ...
0
votes
0answers
126 views

Higher load, but no higher CPU usage

On one of our production servers, the "load" as reported by cacti, has suddenly increased. Usually on our servers the load is about proportional to the CPU usage. However, this time the load has ...
3
votes
2answers
2k views

tail: inotify cannot be used, reverting to polling: Too many open files

tail: inotify cannot be used, reverting to polling: Too many open files I'm running apache and tomcat servers on Ubuntu (AWS ec2). Whenever I try to tail the catalina.out of tomcat I get too many ...
2
votes
2answers
131 views

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. ...
-2
votes
4answers
228 views

How can I get combined CPU usage for all CPUs in one line on Linux? [closed]

I want to output the following: Average CPU utilization across all cores, over the last n seconds, in a single percentage value. So if I have 4 CPUs and their combined user and system utilization ...
0
votes
1answer
50 views

Many 'yum' processes running constantly

I am getting this output when I run top and trying to work out if it's problematic and why it would be doing this in the first place, all the 'yum' instances seem to always be there: PID USER ...
-1
votes
3answers
877 views

Is this server using too much RAM or virtual memory ? (screen attached) [closed]

I have a VPS with 512MB of ram 40GB storage 1CPU, I run a small domain parking service on it. It is on CentOS, MySQL, Apache, etc. Now my hosting provider claims that my server is putting too much ...
0
votes
1answer
153 views

Does 'top' show memory / CPU usage of parallel processes on cluster?

Recently inherited a neglected cluster: I'm trying to do some sanity checks on it. Running a benchmark on node X and then running 'top' shows high cpu usage from mpi processes (as expected), but on ...