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

learn more… | top users | synonyms

0
votes
0answers
40 views

99% used memory, but 70% of unused allocated memory and 97% swap available: what can I do?

In a server with 48GB of RAM, when I run top, I see that less than 500 MB are free (1%), whereas when I sum up the column of % of memory used by each process, it is around 30%. Since only the 2.7% of ...
0
votes
2answers
55 views

How to use the top command in Unix to only see process using more than 10% CPU?

I want to use top, but not see all of the processes that are using minute chunks of computing power. Can someone tell me how to use top to see things above a certain cpu % cutoff? I tried just using ...
0
votes
1answer
19 views

top output Time+ information misleading

I am running SuSE 11.2. Shen I am running "top" command on one of my machine, it looks like this: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
2
votes
2answers
25 views

Redirecting top when multiple CPU's shown

If you run top, and then press 1, it shows the breakdown of usage on each CPU. How can I redirect this to a file? I know I can do top -n 1 > process.txt but how can I get the 1 option in the ...
0
votes
1answer
95 views

RAM size mismatch: top/htop vs dmidecode

I've got lenovo ideapad Y530. According to dmidecode, I should have 3GB RAM: tomasz@tomasz-lenovo-ideapad-Y530:~$ sudo dmidecode --type memory [sudo] password for tomasz: # dmidecode 2.9 SMBIOS 2.4 ...
0
votes
1answer
67 views

pidstat -u -I shows cpu usage 385%

I have a guest running in qemu doing linux kernel compilation. From host, I am watching its usage with below command pidstat 4 -p pid_of_process -u -I -I flag should average out for all number of ...
0
votes
2answers
45 views

In the linux top program, what does the z option indicate

I'm trying to understand the top program better, and I don't really get the 'z' option which highlights all running processes. Wouldn't all processes in top be considered running? In what context ...
0
votes
1answer
114 views

Is using top a robust way of measuring system CPU usage?

I got confused while reading this question on stack overflow. The asker says: "'top' will simply not do, as there is a delay between cpu dumps, it requires 2 dumps and several seconds, which hangs ...
2
votes
0answers
244 views

Why is the kernel and the watchdogs consuming all the CPU?

I run a bunch of heavy user space processes on a powerful Xeon machine (32 virtual processors according to /proc/cpuinfo). The CPU load is normally around 30 and the machine feel responsive, but later ...
0
votes
0answers
65 views

Top missing some processes

I'm getting weird behavior using top in Arch Linux. When filtering by user (fred) I get a different list of processes depending on the sort order. In descending PID order: PID USER %CPU %MEM ...
2
votes
1answer
275 views

ps and top give different CPU usage

I've seen a few posts similar to this, most notably here, but wasn't quite satisfied with the answers. I'm comparing top and ps results on a specific process and see huge discrepancies in CPU usage. ...
4
votes
3answers
2k views

top command in cygwin?

I am starting to use Cygwin(64) on my Windows 8 laptop, however, the 'top' command is not recognized. I have read online that I need to get the 'procps' package, but it is not available on the 'Cygwin ...
0
votes
1answer
25 views

How to get `top` for a specific user only?

How can I read top in bash only for one user? I don't want it to display data for other users.
1
vote
1answer
117 views

How to read 'top' results

I am running a software and while it is running, I want to know how much CPU usage or RAM it occupies... along with maybe other things that could be interesting. For that purpose, I need to know ...
1
vote
1answer
212 views

Monitoring CPU usage of Virtualbox with top

I'm using the top command in Linux to keep a close eye on Virtualbox which is running a VM. The current CPU in the server is a Quad Core Xeon processor 3.3 Ghz and I have only assigned one core to ...
2
votes
1answer
500 views

cpu load measure with hyperthreading on linux

How can I get the true usage of a multicore hyperthreading enabled cpu? For example lets consider a 2 core CPU, expressing 4 virtual cores. A single threaded workload would now show up as 100% in ...
0
votes
0answers
132 views

iotop complains “CONFIG_TASK_DELAY_ACCT not enabled in kernal” only for specific process

I'm trying to use iotop to determine whether the CPUs are waiting on I/O at any point for a specific program called bwa (it's a next-generation sequence alignment program). If I start iotop without ...
1
vote
1answer
178 views

Is my top statement saying my asterisk server is using too much resources?

I installed an asterisk server on my VPS with linode. I have 1 GB of ram. I'm not sure what kind of CPU is in use. I decided to test the number of concurrent calls my system can handle. So I used ...
0
votes
1answer
161 views

The outputs of ps and top do not match

I have a situation where I have a process, say script.pl (here it is), which seems to stick around in the output to ps auxw | grep script.pl, sometimes when load is heavy it sticks around for several ...
4
votes
1answer
174 views

How to identify what is causing sys% in top?

top on one of hex cores with hyper threading shows the following Cpu0 : 2.3%us, 58.8%sy, 0.0%ni, 38.2%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 : 4.7%us, 62.1%sy, 0.0%ni, 31.2%id, 0.7%wa, ...
0
votes
0answers
897 views

Top command cache vs free memory

When I am running top command (on embedded system with 64 MB RAM) I am getting below description on total memory usage: "Mem: 43468K used, 968K free, 0K shrd, 1280K buff, 21896K cached" It looks ...
3
votes
2answers
1k views

Where does top command get all the data for CPU Utilization?

When I run the top command, the third line is; Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.2%id, 0.1%wa, 0.0%hi, 0.0%si, 0.1%st From where does top command get this data? Does it get from /proc?, if ...
1
vote
2answers
118 views

Can I highlight my user name in top/bash?

I often use top under bash. I would like to highlight (in color, bold or other form) my user name, so that I can more easily find it in top. (Sometimes it's difficult with many users running lots of ...
5
votes
2answers
3k views

Understanding top command in unix

When I run top -c command on my UNIX box I get the output below: top - 03:09:34 up 5 days, 6:14, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 175 total, 1 running, 174 sleeping, 0 stopped, ...
1
vote
0answers
284 views

atop - next page in process list, same processes

I use atop logs to examine state of my server. I am confused next page option: ^F - show next page in the process-list (forward) atop shows me a process list as follows: 21559 ... 2013/03/13 ...
2
votes
0answers
143 views

CPU usage according to lxde applet and task manager is different than top

The CPU usage in top (htop) appears normal but the task manager and lxde CPU applet don't. Here is a screenshot: This is Lubuntu 12.04 Is this a bug?
4
votes
1answer
1k views

Is there `top` for disk usage [duplicate]

How to track disk usage (write/read and other cool stuff) in realtime with fashion of top in the only right system in shell? It would be cool if it could monitor specific directory.
0
votes
1answer
54 views

How can I see which programs/users are talking to which network addresses and how much ? (Unix/Ubuntu) [duplicate]

Possible Duplicate: Is there a way to find out what application using most of bandwidth in Linux? I'm interested in which programs are using my network connection and how much. I wondered ...
2
votes
1answer
159 views

'top' output baffles me

top - 18:22:21 up 98 days, 23:26, 4 users, load average: 2.73, 2.85, 2.60 Tasks: 210 total, 1 running, 209 sleeping, 0 stopped, 0 zombie Cpu(s): 3.6%us, 2.5%sy, 0.0%ni, 87.7%id, 5.1%wa, ...
1
vote
1answer
155 views

Print top output only once on Mac OS X

On Linux, the top command has a "batch mode": top -b -n 1 to print the output a set number of times. On Mac, it seems that the top command does not have batch mode (certainly the -b option does not ...
3
votes
1answer
215 views

Filter interactive output (top)

How can I filter the output from a "self-updating" program such as top while keeping its functionality intact? For example, I want to highlight my user name in top's output. My idea is to use ...
1
vote
1answer
621 views

Linux memory usage doesn't add up

I try to monitor the memory usage in my ubuntu server. When I run 'top' command, it shows 70% of the memory is used. (shown in the 'Mem:' line). But I want to find the processes that take my memory ...
0
votes
0answers
102 views

I want to see what processes do most of disk writes in Mac OS X

I run Mac OS X 10.8.2 and I want to find out what processes do most of disk writes. Ideally, I would like to see a complete report for a period of say 10 hours, with sorted data showing top ...
0
votes
0answers
146 views

PStree with memory use?

Is there any utility out there for linux that will give me a PStree with memory use per process? I guess it's possible in theory to grab a pstree with pids, then comb ps itself for the memory use for ...
2
votes
2answers
801 views

Why won't top command show the right result?

You want to find the line 3427 1 root S 36964 124% 2% tmux -L l in the following screenshots of top command. Why can tmux use more than 100 percent of memory? That is confusing... Is ...
1
vote
1answer
81 views

How do I show usernames in top?

I'd like to do something like top -o cpu but with usernames for each process shown in each row. How can I do this? Thanks! p.s. I am on Mac OS. I am not sure if the top command is different from ...
5
votes
1answer
2k views

Full list of top-like tool family for perfomance monitoring in linux: iftop iotop htop atop more? [closed]

Top-like utilities are extremely handful in my work and I want to make sure I am not missing any of them. Please extend the following list of performance monitoring (top-like) family of linux tools: ...
13
votes
1answer
12k views

Why is the “top” command showing a CPU usage of 799%?

I am running a process in a 4 core Ubuntu server. However, top command shows that the CPU usage is 799% all the time. How can this be possible? I know for multi core CPUs, more than 100% CPU usage ...
2
votes
3answers
618 views

Kill ssh session and/or stuck processes

I'm developing with vi over ssh. My problem is that sometimes I get my ssh connection killed because of my poor wifi connection and previous processes (like "top", "rails c", etc...) are not being ...
3
votes
1answer
1k views

How to kill an invisible process?

I have a program that crashed, its GUI is frozen, and I would like to kill it. However there is no trace of it among the current processes. I tried both top and ps -A, but I got nothing. The ...
4
votes
2answers
3k views

“Cannot allocate memory” while no process seems to be using up memory

I am not competent on server issues, any help is much appreciated. When try to start a python/django shell on a linux box, I am getting OSError: [Errno 12] Cannot allocate memory. free -m seems to ...
1
vote
2answers
391 views

`free -m` shows a program on linux use 322M ram, but `top` show it use 58M, why?

I have a 512M vps box on burst.net, and which has no swap. My os is centos 6.x x64. When it started, it only used 58M ram. $ free -m: total used free shared buffers ...
1
vote
1answer
957 views

Weird Apache error - Apache hangs & needs restarting regularly

I've been recently receiving this weird error where Apache just becomes unresponsive and completely stops until it is manually restarted. It gets to a point where I can not longer retrieve apache ...
0
votes
1answer
196 views

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop?

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop? How about the normal top? So, if my cpu is stepped down to 800mhz with a full speed of 2ghz, does 5% used ...
1
vote
1answer
725 views

Output high CPU processes using bash shell

I am trying to monitor my CentOS processes using top command to see if there are any processes where CPU usage is greater than X%, below is the command I am using to see if any processes CPU usage is ...
0
votes
2answers
323 views

Swap implication in Linux and way to increase it

I used top command to print this on Linux box: [root@localhost ~]# top top - 23:38:38 up 361 days, 12:16, 2 users, load average: 0.09, 0.06, 0.01 Tasks: 129 total, 2 running, 126 sleeping, 1 ...
0
votes
3answers
451 views

Linux Memory Displays Half Used But No Processes Seem to Be Using It

I am running a Java script on a Fedora Core Release 6 server (Linux 2.6.19-1.2911.6.5.fc6xen x86_64) and am concerned about a lack of memory. The box has 2 GB of memory in total. Running "free -tm" ...
3
votes
1answer
618 views

How to redirect values from top command to a file in Mac OSX

All, I want to extract values from top for plotting purposes. I'm currently using the following command top -l 0 -s 1 -pid 12345 -stats rsize | awk 'NR%13==0' When I run this , I get the ...
8
votes
4answers
3k views

Zombie process using 100% CPU

A zombie process, which should not be using any resources (RAM and CPU), is hogging up an entire core on my 8-core 64-bit Ubuntu 11.10 Desktop installation. This is the output of ps -el|grep Z: F S ...
1
vote
1answer
897 views

linux 'top' not showing all processes

I am running linux top command to see processes running inside qemu VM. Sometimes, a process does not appear in them, but if I run, ps -eo psr,pcpu,comm | grep myprocessname then the process is ...