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
2answers
349 views

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 ...
1
vote
2answers
326 views

Solaris: what's a kernel trap?

I'm trying to understand whether the high trap count reported by top on Solaris 10 Kernel: 1659 ctxsw, 1069 trap, 4433 intr, 3837 syscall, 5 fork Memory: 8192M phys mem, 299M free mem, 4103M total ...
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 ...
2
votes
1answer
101 views

How to interpret increasing SHR reported by top?

The man page for top defines SHR as: t: SHR -- Shared Mem size (kb) The amount of shared memory used by a task. It simply reflects memory that could be potentially shared with other ...
2
votes
1answer
271 views

why is ubuntu lsb_release being called every 30 seconds?

I'm running ubuntu server, and I was staring at "top". lsb_release seems to pop up every 30 seconds - which in turn calls apt-cache. I don't really know where to start looking for the source of this ...
1
vote
1answer
37 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
1answer
130 views

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 ...
1
vote
1answer
358 views

top vs vmstat on Debian squeeze/xen

I'm running a squeeze DomU on xen 4.0.1 which is completely unloaded. I notice a difference in cpu states between iostat and top like: top (in every iter): Cpu0 : 0.2%us, 2.0%sy, 0.0%ni, ...
1
vote
1answer
351 views

CPU usage is very large in top command of Linux

I run SUSE Linux Enterprise Server 11 SP1 in a virtual machine. The hypervisor is KVM. There is 4 virtual CPU cores for the VM. Now there is a very strange thing. In theory the maximum CPU usage ...
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 ...
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 ...
0
votes
1answer
575 views

CentOS 5: is %wa too high or optimal?

i have question about waiting for HDD. I'm not sure what is optimal %wa. Server running browser game, i know that there is a lot hdd writing but im not sure what is optimal %wa. Server running 8 ...
0
votes
1answer
134 views

vsphere + Foglight and running top command does not match

We have a vsphere cluster and we are trying to setup monitoring via Foglight to monitor memory usage at the Guest level. However, there are inconsistencies in reporting metrics.. most likely due to ...
0
votes
1answer
82 views

how can I tell if there is a cpu trashing on my linux machine

I want to write a script that will kill my processes when my machine is doing "too much" swapping of process memory from disk to memory. What is the best way to determine that? I saw top has %wa and ...
0
votes
1answer
517 views

load-causing processes disappearing from “top” ps -o pcpu shows bogus numbers

I administer a large number of servers, and I have this problem only with Ubuntu 10.04 LTS: I run a server under normal load (say load average 3.0 on an 8-core server). The "top" command shows ...
0
votes
1answer
405 views

Enable foreign users processes listing

how can I enable under Debian 6 to list the processes of a foreign user? I have the user nagios but this user can only list his own processes. Br
0
votes
1answer
477 views

top command occupied high cpu usage

My system is SUSE 10 and I observe that top occupies 57% CPU usage when I use it. I don't have too many processes: ps -eLf | wc -l 106 Here are top's stats: cat /proc/2913/stat 2913 (top) R ...
0
votes
1answer
133 views

why pressing M in linux's top command will have many processes that does not exist?

i pressed M in top command try to get a memory sort for the processes, 5892 myuser 15 0 88428 86M 12520 S 0.0 4.2 0:01 0 java 5893 myuser 15 0 88428 86M 12520 S 0.0 4.2 ...
0
votes
1answer
86 views

Collect output of top command displayed with separate option

I would be grateful to you for some details about the top command output achieved using the hotkey "A". I suppose the it gives back the swap usage per PID: it is right, isn't it? Could you please ...
-1
votes
1answer
635 views

What do negative numbers under TIME+ in htop mean?

What do the red negative numbers I'm seeing displayed in htop mean? Should I be worried?
2
votes
0answers
167 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 ...
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% ...
1
vote
0answers
18 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
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 ...
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, ...
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 ...
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
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, ...
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 ...
0
votes
0answers
178 views

Top shows md127_raid1 with high CPU load?

I have a new server, when I use "top" to see busy processes I usually see md127_raid1 either at the top or close to the top What is this process doing? How can I easily verify that the raid is ...