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

-2
votes
1answer
73 views

How to understand output of top command

How to understand output for top as Load Average is continuously increasing but can't understand which process is eating cpu because %cpu utilization for process is maximum 0.7 but load average is ...
1
vote
2answers
45 views

top command + how to verify iowait value for one hour

my target is to check iowait value that not higher than 50 from top command and if value is higher than 50 for more then one hour , then need to give alarm about this ( by script or other option ) ...
0
votes
0answers
51 views

ATOP: vmcom / vmlim -> SWP is red

in ATOP I'm getting a red alert like this: vmcom 76.3G | vmlim 49.8G This is a value that is attached to the "SWP" (so "SWAP" is meant?)-line. What does this mean and what can I do against it?
0
votes
0answers
53 views

digitalocean server cpu is 75% all the time

I have a nice server in digital ocean, it's the 1GB ram size. It has installed: php, mysql, nginx, supervisored, beanstalkd as I installed. But the problem is the I see that all the time the cpu is ...
1
vote
1answer
41 views

top batch to dump CPU usage for all CPUs

I am looking for a command that I can run in a batch mode and report back to a monitoring server. I'd like a CPU usage across all CPUs (the equivalent of running top in interactive mode and then ...
2
votes
1answer
81 views

Ubuntu server getting slow everyday at 9.00AM

This server runs Ubuntu 12.04.5 LTS and used as a web server (apache 2.2.22) and an ftp server (proftpd 1.3.4a). Nobody can access web pages when this happens for 5 minutes or so. (This is a virtual ...
0
votes
2answers
48 views

how to check if a process with heavy io usage is running properly

I am now managing a computer cluster for scientific computing. Some processes in the cluster need heavy io usage. Now I find such a process: Its state changes rapidly between DOWN and RUN and its ...
5
votes
2answers
627 views

Which Linux package contains the 'top' command?

Many of the common utilities in Linux either come packaged in util-linux from Linux Foundation or coreutils from GNU. The man page for top doesn't specify anything. I am using CentOS.
1
vote
2answers
39 views

Confirm a memory leak by tracing “free” and “cached” in top?

I'm trying to confirm that there is a memory leak on my Linux device while in idle state (there should be no continuous memory consumption). I'm not interested in identifying the process that is ...
0
votes
0answers
88 views

Why top output different from sar output?

This is SLES11sp3 system. The command top shows the load average of 17+, as shown below: #top top - 11:59:14 up 19 days, 21:55, 40 users, load average: 17.09, 17.29, 19.22 Tasks: 514 total, 1 ...
1
vote
1answer
83 views

how can I understand why apache is consuming so much cpu - ec2

I have an ec2 c3.medium instance running. It has recently started maxing out the cpu making the server unresponsive. Rebooting the instance doesn't really help for long, although it does make apache ...
1
vote
1answer
204 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
64 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
662 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
38 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
275 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
329 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
134 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
50 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
51 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 ...
5
votes
3answers
186 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
345 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
78 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 ...
1
vote
1answer
856 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
264 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
118 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
540 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
240 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
59 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
638 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
2k 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
428 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
52 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
263 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 ...
0
votes
1answer
2k 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
208 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 ...
1
vote
3answers
489 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
224 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% ...
1
vote
1answer
673 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
650 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
659 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
77 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
170 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
416 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
454 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
120 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
34 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
274 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
307 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 ...