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

learn more… | top users | synonyms

1
vote
2answers
18 views

how to make top show multiple CPUs (no toggling)

Is there any way to make top show multiple CPUs by default? I know how to toggle (1) But I'm running it on batch mode and the output is redirected to a file.
4
votes
1answer
2k 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 ...
0
votes
0answers
12 views

CentOS: Can Top -u Display 2 or More Users?

Showing processes for 1 user is rather easy with Top: top -u someuser1 or by hitting u while top is running. Is there any way to make Top show processes specifically for 2 (or more) users? An example ...
0
votes
1answer
298 views

How to install top & htop on Ubuntu 8.04.2 LTS (hardy)

Env. Rackspace Ubuntu 8.04.2 LTS (hardy) I am in a corner situation where I need to maintain carefully a legacy server before I can plant for an upgrade. Actually an upgrade is not an option, I ...
0
votes
0answers
38 views

Negative Priority in Top Output

interesting problem: I have four brand new servers with 4, 16-core AMD Opteron 6300 processors that have recently been installed with RHEL 6.2 with the MRG kernel. I'm trying to optimize the servers ...
0
votes
1answer
20 views

How much time does top command consider while finding CPU usage percentage? [duplicate]

Top gives me an output like: %Cpu(s): 4.7 us, 1.3 sy, 0.0 ni, 93.9 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st if my CPU has spent 4.7% of its time on user processes, how much of time history has it ...
5
votes
2answers
2k views

If “top” indicates CPU is spending 10% on %wa (iowait), does that mean the CPU is idle?

I am referring to the Linux top command. If it indicates 10.4% was spent on wa, does that mean 10.4% CPU was available for other processes? top - 09:40:45 up 178 days, 34 min, 1 user, load ...
0
votes
1answer
29 views

How to know, which process had accessed the harddrive last time and when?

How to know, which process had accessed the harddrive last time and when? Like ntopng with "last seen", but in local? The question is about Linux.
0
votes
0answers
17 views

Script output from Curses program like mtop

I'm trying to write some automated scripts to store things like cpu usage etc. In 'top' there is a batch mode, so I can output this fine. In a program like mtop, where it uses 'Curses' and no batch ...
3
votes
4answers
7k views

Writing a CPU/RAM usage log over a period of time to file on CentOS

I'm looking for an application or line of code that would let me observe a process, save the info in a number of variables, then put the gathered info on a file. I've been trying with variations of ...
17
votes
7answers
17k views

Linux “Top” command for Windows Powershell?

I am looking for a PowerShell cmdlet that can provide similar functionality to the Linux Top app. Something that refreshes at some given interval and displays the process list with CPU % util. I have ...
0
votes
0answers
12 views

ATOP Parseable Output with TAB instead space

Does anyone know how can i export ATOP data using tab as separator instead of spaces? Or if are there any way to replace the spaces outside parentheses for tabs? Thanks a lot
1
vote
1answer
34 views

How to save the output from top/atop

I wanted to know if there a way to save the output from top or atop commands into a textfile for later processing. atop|top > output.txt is not really working at both top and atop keep running in ...
2
votes
1answer
428 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 ...
1
vote
3answers
46 views

linux - is there a more advanced version of top?

Is there any type of super-top command that will show the results through time? With regular top, it will tell me for an instant what processes are using what, but is there anything that will show ...
12
votes
4answers
31k views

TOP command memory usage

Under SuSE, (Mem: 31908592k total, 31421504k used,) how do i know which process or program using my memory?
1
vote
1answer
52 views

Low load average with plenty of cpu-intersive processes

I see loadavg at about 1 with at least 3 processes running at full tile. How can that be? top - 11:48:32 up 147 days, 5:38, 8 users, load average: 1.08, 1.11, 1.05 Tasks: 416 total, 4 running, ...
2
votes
1answer
278 views

iotop complains “CONFIG_TASK_DELAY_ACCT not enabled in kernel” 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 ...
0
votes
1answer
47 views

Iostat and top show static resource usage on first value

For one of my projects, I need to obtain resource (CPU, I/O and disk-space) usage programatically. Currently I'm running shell commands (iostat) and parsing the results which works relatively well ...
10
votes
2answers
9k 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, ...
0
votes
0answers
10 views

how to sort top output when top is executed

Is there a way to sort the output from top when it's executed? rather than pressing M or T after you run the command. I'm trying to save the output of top -n 1 -U username but I'd like to sort it by ...
0
votes
1answer
81 views

Weird output from linux `top` command

I got a weird output from command top, which shows the summation of the RES column is greater than my physical memory. For instance, I have a host with 64G physical memory and the swap partition has ...
0
votes
1answer
1k 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 ...
0
votes
1answer
373 views

Is there a way to show windows processes in Cygwin constantly

I would like to monitor processes from a cygwin shell, using top or a variant. The reason for this is its realtime reporting and constant updates. However under cygwin, top will not report on windows ...
0
votes
1answer
40 views

What is the point of sorting by PID and username in top?

I've been using the top program to find the most CPU and memory hungry programs on linux systems. Only recently did I discover the multi-window mode. The default windows number 2 (teal) and 4 (yellow) ...
2
votes
1answer
135 views

Sorted tree view in htop or alternative?

I am running a Debian flavor of Linux, and I use htop to keep track of memory usage, since it is more detailed than top. I can't seem to get it to sort by memory and display process trees at the same ...
2
votes
1answer
224 views

Is it possible to change default behavior for “top”?

For example, when I run top I usually press "C" so I can see the explicit command being run not the executable name if you will. Is there a way I can modify top such that when I do: % top The ...
2
votes
1answer
427 views

What I should know about memory management?

first of all: I don't use stackadmin or similar so please don't vote for moving there, I'm reading man top and paper "what every programmer should know about memory ..." I need really simple ...
0
votes
1answer
52 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 ...
0
votes
0answers
162 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
262 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 ...
2
votes
2answers
40 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 ...
2
votes
1answer
1k 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 ...
4
votes
2answers
4k views

Is it possible to 'hide' a process from the listing of `ps` or `top` on Linux

First, I presume that if this is possible it would need to be done as root (or as a user who shares root's UID of 0). How can a process be launched so that it does not show up in a ps aux or ps ef or ...
7
votes
1answer
3k 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
187 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
1answer
222 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 ...
8
votes
3answers
4k 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
2answers
53 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 ...
1
vote
2answers
327 views
0
votes
1answer
428 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 ...
0
votes
0answers
93 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
590 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. ...
0
votes
0answers
138 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 ...
1
vote
1answer
166 views

Is it normal to overworking of just one CPU when using openMP

When I use OpenMP in FORTRAN to parallelize a program on linux, ' top' command show me just one processor working ~%800 instead of ~%100 x 8 processors. Is it a expected situation ?
2
votes
4answers
3k views

memory usage linux in top is not correct

I am a bit worried about my linux vserver box. No more memory is left. To investigate this issue, i was looking at "top". But it deeply confuses me. It seems that no more memory is left, altough ...
1
vote
1answer
151 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 ...
0
votes
1answer
32 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
360 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 ...
1
vote
1answer
319 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 ...