Tagged Questions
1
vote
1answer
30 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
42 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 ...
3
votes
1answer
26 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
1answer
25 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
99 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
0answers
58 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 ...
4
votes
1answer
68 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.
2
votes
1answer
88 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, ...
2
votes
2answers
376 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 ...
2
votes
1answer
366 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:
...
6
votes
1answer
4k 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 ...
3
votes
1answer
439 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 ...
3
votes
2answers
1k 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
226 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 ...
0
votes
1answer
147 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 ...
0
votes
2answers
209 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
280 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" ...
7
votes
4answers
2k 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
453 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
224 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
652 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
423 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 ...
1
vote
0answers
118 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 ?
5
votes
1answer
336 views
5
votes
2answers
1k 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 ...
4
votes
1answer
899 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 ...
1
vote
4answers
2k 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 ...
9
votes
2answers
9k 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
90 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 ...
1
vote
1answer
284 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 ...
1
vote
1answer
94 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 ...
1
vote
1answer
1k 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
734 views
Top is showing % CPU > 100?
top is showing several processes with CPU % greater than 100%. What does this indicate?
3
votes
2answers
1k 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 ...
3
votes
1answer
2k 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
600 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 ...
8
votes
5answers
7k 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 ...
7
votes
3answers
4k 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 ...
2
votes
2answers
3k 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 ...
0
votes
4answers
347 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 ...
2
votes
1answer
2k views
Understanding top output in Linux
I'm trying to determine the CPU usage of a program by looking at the output from Top in Linux. I understand that %us means userspace and %sy means system/kernel etc. But say I see 100%us. Does this ...
12
votes
2answers
3k views
Linux: Is there something similar to “top” for I/O?
My disk often is utilized, but top (and htop, a custom replacement) show nothing suspicious.
Is there a way to sort processes by I/O (more specific: disk) utilization?
EDIT
Found out using iotop ...
5
votes
1answer
945 views
How does top calculate the memory figures on Linux?
I'm a bit confused on how the memory figures add up in top.
If I've understood correctly, the amount of "really" used memory is total - free - buffers - cached. In the example below that would be ...
5
votes
4answers
2k views
individual cpu % in 'top' output
Usually to view individual cpu % we press '1' in the interactive mode of top.
However I am not able to figure out the logic to get the same output in batch mode i.e,
top -n1b
I am redirecting this ...
2
votes
4answers
48 views
automate: finding non-used servers from a list of servers
i posted this on stack overflow but a user recommended i post here. sorry for cross posting:
0 vote down star
i have access to a few linux clusters at school. sometimes they are busy and ...
3
votes
2answers
505 views
%CPU for a process
Looking at the output of top on our server, one of my colleagues told me that the fact that some processes got less than 100 "%CPU" was because I was running too many processes. He added that based on ...
2
votes
1answer
3k views
average load and total %CPU in top
I thought the average load by uptime and the summation of %CPU of all running processes in top (#9 column) should agree. But it seems not true. Here is my little experiments:
On one server:
$ top -b ...
0
votes
1answer
994 views
Memory percentage in top (linux)
Just wondering
(1) is the memory percentage in top for a process is relative to memory or relative to memory+swap?
(2) if it is the former, how can I get the latter? Vice versa.
(3) To determine ...
4
votes
3answers
936 views
Where does the command “top” get its information from in linux?
Which files does the linux command "top" read from in order to build its table of data? Specifically, I'd like to be able to find the data for the "command" column based off of a PID.
4
votes
2answers
102 views
What is the colorized version of the Linux “top” program?
I didn't know "top" had a nicer colorized version like this. What is the command? Does anyone recognize this?

