1
vote
2answers
41 views

Something like `top` for vhosts

Is there any way of establishing what vhosts are keeping Apache processes busy, in real time? Ideally I'd like a tool like top (or htop) that shows me which sites are busiest, or most costly, right ...
0
votes
1answer
29 views

How to get atop to create daily logfile

I'm running a website on a VPS running Centos 6.5 and am having some issues. I'm new to serveradmin so just learning. atop was already installed on our machine and it's working. I wanted to go in and ...
0
votes
2answers
78 views

Is there a top like tool that shows processes and ports, live?

I'd like to be monitoring ports in "realtime" and the processes that use them. Is there any tool that can handle that? I imagine somethinkg like top, but with a column that lists all ports the process ...
0
votes
0answers
30 views

ps / top crash on call with Signal 11 SEGV

since some days i have a weird issue using ps and top. Each time i try to call them via script or command line, they crash with "Signal 11 (SEGV)" and i didn't manage to repair that. I dont even know, ...
0
votes
1answer
68 views

CentOS 6.4 64-bit Memory Usage really not adding up

I recently migrated hosting providers and in the process my distribution changed from CentOS 5.9 64-bit to CentOS 6.4 64-bit. Despite having a little more RAM (1 GiB rather than 768 MiB) the new VPS ...
0
votes
0answers
12 views

List processes by bandwidth usage on Linux [duplicate]

I'm looking for a command prompt utility, similar to top, iotop to display the bandwidth usage by process. I'm trying iftop, but looks like it displays the traffic only part, not the process/command ...
0
votes
0answers
15 views

Linux Memory utilization? [duplicate]

Actually I use Linux centOS 6.2 version. recently I am assigned to monitor system utilization like memory,cpu,IO,network and all the stuffs. To perform this I have enabled SAR using systat and it ...
1
vote
2answers
230 views

top command - cpu from processes do not add up

I understand the various types of cpu usage reported by the top command (6.5%us, 17.2%sy, 0.0%ni, etc...), but why does the total %CPU for each process not add up to any of the Cpu(s) values? For ...
0
votes
1answer
115 views

What does TOP's DATA column mean?

I'm trying to figure out the meanings of all the different classifications of memory such as VIRT, RES, SHR, AND DATA. While I generally understand the first 3, I have no idea what the DATA column ...
0
votes
0answers
40 views

top output seems fine, yet server is overloaded

This server I am benchmarking gives no obvious signs of getting overloaded at a first glance. top output: top - 22:48:25 up 5 days, 3:41, 3 users, load average: 3.19, 3.34, 3.25 Tasks: 146 total, ...
-1
votes
1answer
124 views

Top not accurately showing memory usage [duplicate]

Top is not showing my memory usage accurately or is my VPS provider doing something strange? As you see in the picture bellow it uses 90%+ of the memory, but when you look at what processes that is ...
5
votes
1answer
300 views

why top gives cpu percents more than 100%

see below statistics by "top -u steve", something is wrong with top? PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3490 steve 20 0 10444 312 248 R 114 0.0 23:33.22 ...
2
votes
2answers
62 views

Can `top` show average data?

top shows instant resource usage. Also it has -d option that sets refresh rate. But how can I get average %CPU for processes for 1 minute?
0
votes
2answers
128 views

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 ...
2
votes
1answer
111 views

read-only `top` in linux?

I have a few servers with an application for some clients, and I want to make an application available for the client to view the server and application status, and to be able to restart some ...
0
votes
0answers
87 views

Higher load, but no higher CPU usage

On one of our production servers, the "load" as reported by cacti, has suddenly increased. Usually on our servers the load is about proportional to the CPU usage. However, this time the load has ...
-2
votes
4answers
156 views

How can I get combined CPU usage for all CPUs in one line on Linux? [closed]

I want to output the following: Average CPU utilization across all cores, over the last n seconds, in a single percentage value. So if I have 4 CPUs and their combined user and system utilization ...
0
votes
1answer
47 views

Many 'yum' processes running constantly

I am getting this output when I run top and trying to work out if it's problematic and why it would be doing this in the first place, all the 'yum' instances seem to always be there: PID USER ...
0
votes
1answer
118 views

Does 'top' show memory / CPU usage of parallel processes on cluster?

Recently inherited a neglected cluster: I'm trying to do some sanity checks on it. Running a benchmark on node X and then running 'top' shows high cpu usage from mpi processes (as expected), but on ...
2
votes
4answers
7k views

Find out what high CPU usage apache process is actually doing?

Currently having a few issues with our server where, intermittently, we seem to get apache processes which just run and run, taking up 100% CPU. When running top, we see the following: PID USER ...
0
votes
1answer
49 views

What is using the memory when e2fsck is running? [duplicate]

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 ...
2
votes
2answers
271 views

Linux process swap usage is greater than the overall system swap usage

I have a strange problem that when I run top command it shows that some processes are using around 1.5GB of swap space but then the overall usage of the system swap is way to less to something around ...
0
votes
1answer
469 views

Sum of memory of few processes in top is greater than 100%

I'm trying to calculate the amount of memory used by AMP in an LAMP stack machine. top -bn1 | grep -E '(mysql|httpd|php)' | awk '{mem += $(NF-2)} END {print mem}' But the sum generated using the ...
0
votes
1answer
112 views

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 ...
2
votes
1answer
77 views

How to interpret increasing SHR reported by top?

The man page for top defines SHR as: t: SHR -- Shared Mem size (kb) The amount of shared memory used by a task. It simply reflects memory that could be potentially shared with other ...
4
votes
2answers
1k views

How to get top command output to show rake arguments?

In the past, all of our servers have automatically shown command arguments passed to rake when we view them in top. For example: But on this particular server, we get this instead (picture is top ...
0
votes
1answer
71 views

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 ...
2
votes
2answers
109 views

Linux: Finding the system processes which are at the top

I am running a multithreaded program on my 8-core processor. top command shows 8 processes are running and each one utilizes a core by 100%. The problem is that only 21% are marked as user cpu and my ...
0
votes
2answers
209 views

0% CPU in top for all processes, but load average > 1

On two different servers (with Ubuntu 12.04LTS AMD64) I have seen the following behaviour: op - 10:50:05 up 305 days, 21:17, 1 user, load average: 1.94, 2.52, 2.97 Tasks: 141 total, 2 running, ...
0
votes
0answers
157 views

Why is ipconfig in Linux top output?

top - 11:55:55 up 9 min, 5 users, load average: 1.30, 1.55, 1.00 Tasks: 229 total, 2 running, 227 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 41.0%sy, 0.1%ni, 31.0%id, 12.9%wa, 0.0%hi, ...
3
votes
1answer
355 views

How do you measure the memory footprint of a set of forked processes?

Say I've got a process using 200MB of memory, and it fork()s: python -c "import os; data='x'*200000000; os.fork(); raw_input()" Programs like 'top' will show each process using 200MB, with very ...
0
votes
1answer
74 views

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 ...
0
votes
1answer
320 views

Top showing 64% idle on first screen or batch run, while there is no idle time at all

I'm running a quite heavy number crunching thing on a few 4 core servers, all running Ubuntu Precise Pangolin LTS 64 bit, in the cloud (so I suppose in a virtualized environment). To monitor the cpu ...
2
votes
2answers
945 views

How to show high usage user's username with the top command, if the username is too long?

I'm having problem identifying high usage users on a shared Linux machine. I use the "top" command and it does show which commands are using the most CPU. But the usernames on this server all start ...
1
vote
1answer
117 views

ps -o pcpu on Debian Squeeze is giving meaningless numbers

I'm trying to get the CPU percentage for processes on a busy server out of ps, but it's giving me nonsensical numbers. Here's a truncated example: $ ps -eo pcpu,pid | sort -n %CPU PID ... 36.5 ...
1
vote
4answers
195 views

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 ...
4
votes
2answers
228 views

How to read `top`. Process list says processes have swap but overview says no swap is being used

I am using top to monitor my server. The swap row reads Swap: 1044220k total, 0k used, 1044220k free, 148544k cached I have hit O p to sort by swap. PID USER PR NI VIRT RES ...
5
votes
2answers
542 views

Load Average above 20 for single core vps on debian

OS: Debian 6.0 RAM:3072 M, CPU:single core. top: top - 08:56:43 up 21 days, 12:37, 1 user, load average: 28.38, 22.48, 15.95 Tasks: 8 total, 1 running, 7 sleeping, 0 stopped, 0 zombie ...
1
vote
1answer
347 views

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 ...
-3
votes
2answers
662 views

Load Average too high.Top not showing much?How to find the process?

Debian 6.0 running on VPS with single core and 3 Gb RAM. top - 09:24:19 up 17 days, 13:05, 2 users, load average: 14.79, 16.19, 11.10 Tasks: 14 total, 1 running, 13 sleeping, 0 stopped, 0 ...
0
votes
1answer
438 views

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

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 ...
1
vote
2answers
373 views

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 ...
2
votes
3answers
2k views

Diagnosing high CPU waiting

I have a monitoring server that is running icinga/collectd/graphite with about 50 hosts. I have noticed high load/slugging performance on the box. If you take a look at top, you'll see: Cpu(s): ...
1
vote
1answer
123 views

VPS Node and top -c

When using and viewing top -c with openvz does the CPU usage and everything include usage for everyone else on the system or just you? I've been watching my VPS node for awhile now and I've seen ...
0
votes
2answers
1k views

how to monitor select processes on centos 5.x host?

I would like to monitor a select group of processes, vmware vm's, running on my centos 6 host. "top" gives me most of what I want in that I can use -p to specify only those processes and -c to get ...
14
votes
1answer
10k views

How to interpret output from Linux 'top' command?

Following a discussion made HERE about how PHP-FPM consuming memory, I just found a problem in reading the memory in top command. Here is a screenshot of my top just after restarting PHP-FPM. ...
3
votes
2answers
3k views

How to sort top result on virtual memory on Redhat Linux?

There is an interactive key "M" to sort by memory, which seems to be sorting on resident memory. Is there a way to sort on virtual memory? I happen to be working on Redhat Linux, but the question is ...
5
votes
1answer
310 views

Mysterious swap usage on EC2

We're in the middle of a project to move our infrastructure from a co-lo situation into Amazon EC2 and we've noticed some weird memory characteristics of the processes in our setup. Without going into ...
0
votes
1answer
371 views

top command occupied high cpu usage

My system is SUSE 10 and I observe that top occupies 57% CPU usage when I use it. I don't have too many processes: ps -eLf | wc -l 106 Here are top's stats: cat /proc/2913/stat 2913 (top) R ...