Questions tagged [top]

top is a Unix/Linux/BSD program to show what processing are running. It can show the top users of CPU or memory.

302 questions
0
votes
1 answer

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 cores processor with 16gb of RAM. Mysql uses 20-35%…
0
votes
1 answer

What is using the memory when e2fsck is running?

I am having trouble running e2fsck due to memory limitations, as detailed in this question. In the course of investigating that, I came upon something that may be of more general interest, so I will put it in its own question. While running e2fsck,…
0
votes
1 answer

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 lack of knowledge. These systems run SAP and are…
NDBoost
  • 181
  • 1
  • 11
0
votes
1 answer

Where is my RAM going? Top command included

Possible Duplicate: How to understand the memory usage and load average in linux server Tasks: 39 total, 1 running, 37 sleeping, 0 stopped, 1 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: …
ParoX
  • 302
  • 1
  • 7
  • 21
0
votes
1 answer

Linux released memory

If My process allocates some big memory and then deallocates, would top or gnome-system-monitor show that my memory usage of that process decreased ? or kernel will still reserve that memory for that process ? What I see is I am deallocating memory.…
user59088
  • 109
  • 1
  • 7
0
votes
1 answer

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 iostat has iowait data. vmstat has swap in and…
oshai
  • 109
  • 2
0
votes
1 answer

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 processes taking certain % of CPU that cause this load…
Alec Matusis
  • 191
  • 1
  • 2
  • 8
0
votes
1 answer

How to get Network Data Received and Data Sent Information on Mac OS X?

I want to store the network data received and data sent information on a variable or in a file. Using the below command I can grep it and print the line on screen. But I'm not able to store the info in a bash variable. top -l 0 -n 1 -c d | grep -e…
abhiomkar
  • 1,713
  • 1
  • 11
  • 7
0
votes
2 answers

load average in top and procs in vmstat

As far as I know, the load average in top is the numbers of precess(threads) in running or uninterrupted sleep status, So it should be equal to (procs-r +1 )+ procs-b in vmstat, but in practice, this two number always have big gap. Any wrongs in my…
Mingfei.hua
  • 3
  • 1
  • 4
0
votes
1 answer

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
TheFox
  • 101
  • 1
0
votes
1 answer

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 6:47 0 java 5894 myuser 15 0 88428 86M 12520…
hetaoblog
  • 249
  • 1
  • 3
  • 14
0
votes
1 answer

memory difference on top and htop

I got a new VPS as my database server. I installed only mysql and started. After some time(even after shutting down mysql service), I see only %3-4 of the memory used in htop but according to top I only have 30MB free memory. It has a total of 4GB…
aykut
  • 121
  • 1
  • 5
0
votes
2 answers

Get unix 'top' command output from Expect script

All, EDIT I want to execute a unix statement in Expect script and get an output without having to include the interact statement.The unix statement outputs rsize value for a process. I haven't programmed in Expect before. This is my code: …
smokinguns
  • 103
  • 1
  • 3
0
votes
2 answers

Load Average cpu linux server

i have a problem with the load average on server, I'm using on server When I check the processor - with "top" command I see that : top - 04:27:37 up 39 min, 1 user, load average: 0.78, 0.77, 0.77 Tasks: 190 total, 1 running, 188 sleeping, 0…
Bugyoner
0
votes
1 answer

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 explain me what does mean SWAP = 11m ? Moreover, it…
loredana
  • 1
  • 1