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

learn more… | top users | synonyms

0
votes
0answers
212 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
1k 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
88 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 ...
6
votes
1answer
3k 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: ...
14
votes
1answer
22k 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
815 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 ...
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 ...
4
votes
2answers
5k 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
485 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 ...
2
votes
1answer
1k 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
226 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
862 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
373 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
596 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
878 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 ...
9
votes
4answers
4k 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
1k 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 ...
1
vote
2answers
328 views

when we use “top -c” in Linux, which type of process is closed by brackets?

As the title said, which type of process is closed by brackets?
2
votes
2answers
958 views

Where has all my memory gone?

I have a linux server that keeps using up all it's memory and I can't see what is using it, running top igves the following response: Tasks: 103 total, 1 running, 102 sleeping, 0 stopped, 0 ...
1
vote
1answer
393 views

Why does top report more than the theoretical maximum CPU usage of a machine?

I would like to know why I have a process being able to report a usage line like: PID COMMAND %CPU 248 Xcode 983.5 … in top on a quad core CPU? I understand it's wrong, but how come? I'm ...
2
votes
1answer
301 views

Can top show more than 100% in %MEM?

Can the %MEM value for a process show more than 100% in top output?Is this ever possible?
1
vote
1answer
770 views

Linux Virtual Memory/Swap isn't being used

I think my virtual memory is not configured correctly on my MintLinux machine. I opened up a new IDE, IntelliJ IDEA, and my whole system appeared to freeze. I tried to TTL to the console but that did ...
0
votes
1answer
948 views

What is Solaris top command “SIZE” column?

I have a node.js process running on a Solaris box. In the top command view, the "RES" column which I guess represents the physical memory is constant and reasonable. However the "SIZE" column keeps ...
2
votes
2answers
178 views

Is there a more detailed version of top?

I'm testing some software on a particular four core machine. Is there an option for top or a similar utility that can tell how much each core is being used for a particular job?
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 ?
1
vote
1answer
519 views

“top” like utility for AMD GPUs on a headless machine

For monitoring CPU usage, there is top (well, I use htop). Is there a top-like utility for GPUs? I have an ATI Radeon HD 4650 in a computer running Debian Squeeze (x86). Thing is, it's running ...
6
votes
1answer
1k views

What is a “zombie” task in top?

As the question implies, what is a zombie task/process in top?
10
votes
2answers
3k views

Why does the memory usage in “top” not add up?

I have noticed that sometimes when I run top, the memory usage of each process in the process table does not seem to add up to the total. For example, in the dump below, top says that I am using 16 ...
9
votes
3answers
9k views

Filtering top command output

I'm running a Mac and want to filter the output of the top command for a particular process such that only the PID, COMMAND and %CPU columns are displayed. After getting the PID of the process, I ...
0
votes
1answer
234 views

showing cpu eating process

when my mint laptop tries to connect wireless, i noticed the increase in load but I dont see a process in top. How we can find these processes. top - 16:01:09 up 11 days, 6:08, 2 users, load ...
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 ...
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 ...
12
votes
4answers
32k 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
2answers
104 views

comparing resources using top

Fedora 15 Alpha 3861 user 20 0 904m 128m 33m S 0.7 6.4 1:11.52 xulrunner-bin 1323 user 20 0 1555m 95m 31m S 13.5 4.8 4:06.87 gnome-shell ...
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 ...
3
votes
1answer
142 views

What top-like utility is this?

I've seen this utility in a lot of tmux screenshots. What is it? (source)
2
votes
1answer
883 views

Why do I see 100% CPU spikes when looking at htop?

Occasionally, when looking at htop, I'll see my CPU spiking to 100%. However, when I sort my running processes by CPU utilization, they don't sum to 100%. They don't even come close. What "hidden" ...
1
vote
2answers
3k views

How do I scroll through my list of processes when I use top on terminal (mac)?

When I use top not all the processes fit on one page. How do I scroll through them?
8
votes
1answer
13k views

top says IOWAIT is high, how to I find the culprit processes

I know I should not do it but I run some Ubuntu system from an USB flash drive, in persistent mode, and it is painfully slow. "top" tells me it is not because of CPU, it is because of IO, ie high ...
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
2k views

Difference between nice value and priority in the top output

top, by default, lists both columns. I am curious as to what is the difference. I checked out the man pages and cannot figure it out: Priority: h: PR -- Priority The priority of the task. ...
1
vote
1answer
1k views

Top is showing % CPU > 100?

top is showing several processes with CPU % greater than 100%. What does this indicate?
3
votes
2answers
2k views

Specify top's screen width in batch mode

I am logging the output of: top -b -n1 -c so I can keep track of which processes are using how much memory and CPU each minute. When top shows the full command line (-c), the command line text gets ...
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 ...
0
votes
1answer
936 views

disparity between `top`'s given CPU % and process CPU usage total

I've noticed that there are sometimes (large) differences between the reported total CPU usage and a summation of the per-process CPU utilization given by apps like top and wmtop. As an example: I ...
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 ...
18
votes
3answers
15k views

Why is the CPU usage reported by top in Linux over 100%?

I've seen the CPU usage go over 100%. How is this possible? Is it because I have four CPU cores, so 100% isn't really the max? Also, when a program does this, what else can I do in top besides using ...
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 ...
3
votes
2answers
1k views

Where is my CPU usage going?

My Ubuntu 10.04 Lucid virtual machine is saying it's at 100% CPU usage... but all I'm running is Thunderbird. According to top, CPU usage should be ~25.9%... How do I interpret this conflicting output ...
0
votes
4answers
900 views

How can I free memory on linux

When I use top to see memory usage, I have 65gb ram but only 1.3gb of it free and remaining is shown as used. When I ran my program It gives memory insufficiency error. Although no other program is ...