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
1
vote
3 answers

What is using up my RAM in VPS?

I'm running top and I see that out of 502968 KB, 48064 KB is used leaving 16884 KB free. But then when I look at the individual processes I see that mysql is consuming 9.4% of my RAM on occasion - but nothing else seems to be consuming anything.…
David Mackey
  • 697
  • 2
  • 15
  • 30
1
vote
1 answer

How filter top output by the COMMAND column?

I want get the same result when pressing u to filter by USER, but instead using the column COMMAND and of course, I need this live (I mean, updating constantly) ;) I'm on Ubuntu.
user120858
1
vote
2 answers

How to clear/reset the top-commands TIME counter

To find a performance problem I use "top" commands TIME column in cumulative mode (which is important for me because it also captures all the small executed child processes) When any changes in the software have been made I want to see the impact…
Achim
  • 283
  • 3
  • 13
1
vote
1 answer

%CPU in top -H for threads - is it real cpu used?

I'm running top -H -b -n 1 on a Linux with a java app I get result with headers: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND is the %CPU I see for each thread a real cpu meaning it does not take into account the time the…
Jas
  • 701
  • 4
  • 13
  • 23
1
vote
0 answers

How to find which cron job is hogging CPU?

I am getting a spike in network utilisation on my ec2 micro instance at a specific time each day. Using atop, I found that it is the daily cron that causes the problem: PID RDDSK WRDSK WCANCL DSK CMD 1/5 722 3420K 4K 0K 98% cron But I have 13…
z c
  • 55
  • 1
  • 5
1
vote
1 answer

How to find cause of EC2 micro instance regular read/write surge?

Every day without fail, sometime between 06:20 and 07:00 UTC, I get two email alerts from EC2 warning me that my "High VolumeWriteBytes" and "High VolumeReadBytes" have exceeded my set threshold. I get a massive spike of 2,000,000 bytes for a few…
z c
  • 55
  • 1
  • 5
1
vote
4 answers

Server Load very high despite CPU usage being low

When I run the top command I get this top - 23:20:50 up 1:25, 1 user, load average: 11.02, 11.20, 10.41 Tasks: 262 total, 3 running, 258 sleeping, 1 stopped, 0 zombie Cpu(s): 75.6%us, 6.1%sy, 0.0%ni, 3.1%id, 14.3%wa, 0.0%hi, 0.8%si, …
Euskadi
  • 215
  • 1
  • 2
  • 7
1
vote
1 answer

TIME column in TOP command for mysql

When I run top on my database server I get that mysqld has been running for 4:00.51 and it continues to go up. I assume this means that one process with mysql has been running this long from other posts on here. Its not set to cumulative mode as…
michael
  • 129
  • 3
1
vote
4 answers

Is there any tool that I can use to monitor memory usage of each process on Linux easily?

This issue is not the same as the question on how to see the memory usage of a Linux process. Also, the top command doesn't give the exact memory used, but just what percentage one process uses, so is there any powerful tool which I can use to…
giantforest
  • 239
  • 1
  • 4
  • 15
1
vote
1 answer

Linux top not tallying with java used memory

We have a java application where towards the last part of the codes we wrote these lines Runtime runtime = Runtime.getRuntime(); long memory = runtime.totalMemory() - runtime.freeMemory(); System.out.println("\n\nUsed memory is bytes: " +…
user132638
  • 151
  • 1
  • 2
  • 9
1
vote
1 answer

free -m is showing total of 309 Mb for a system with 4GB RAM

OS:Xen Cloud Platform 1.1 (XCP) modified centos, and xen server 5.0 running on intel i5 free -m total used free shared buffers cached Mem: 309 136 172 0 1 …
ananthan
  • 1,510
  • 1
  • 18
  • 28
1
vote
1 answer

How to determine httpd memory usage

If I have this output from top for httpd, how do I determine its total memory usage? 16924 apache 20 0 203m 7108 2852 S 0.0 0.2 0:03.48 httpd …
jemminger
  • 125
  • 2
  • 8
1
vote
3 answers

No apparent reason for high load average

We have several web servers running on Amazon (ec2) c1.xlarge, over Amazon AMI. The servers are duplicates of each other, running the exact same hardware and software. Each server spec is: 7 GB of memory 20 EC2 Compute Units (8 virtual cores with…
Oz.
  • 21
  • 1
  • 4
1
vote
2 answers

No clue for high load average on top

We have several machines on Amazon (ec2) of the type c1.xlarge with 16 cpus, running the Amazon AMI. Details on the machine: 7 GB of memory 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each) 1690 GB of instance storage 64-bit…
Oz.
  • 21
  • 1
  • 4
1
vote
2 answers

Solaris: what's a kernel trap?

I'm trying to understand whether the high trap count reported by top on Solaris 10 Kernel: 1659 ctxsw, 1069 trap, 4433 intr, 3837 syscall, 5 fork Memory: 8192M phys mem, 299M free mem, 4103M total swap, 3236M free swap is a problem or not. Googling…
moodywoody
  • 123
  • 1
  • 11