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

learn more… | top users | synonyms

1
vote
1answer
13 views

Linux top in RES what does the 't' suffix stand for

When monitoring my system with top, I noticed that under RES some values have a 't' suffix, but I can't see any indication of what this means. PID USER PR NI VIRT RES SHR S %CPU ...
2
votes
1answer
22 views

What do angle brackets (“less than”) mean in busybox 'top' command process STAT column?

I am looking at Busybox top command: Mem: 39444K used, 4404K free, 0K shrd, 0K buff, 24704K cached CPU: 4% usr 7% sys 0% nic 87% idle 0% io 0% irq 0% sirq Load average: 0.02 0.12 0.10 ...
1
vote
0answers
10 views

Memory usage in docker container - 600MB for OS only? [duplicate]

I am running docker swarm across two Debian 8 nodes, each with 1GB ram. I wanted to see how much memory was available to my application process (which will be a Solr server) so I did: docker-compose ...
3
votes
3answers
293 views

CentOS 7.1 - Reverting to Old Functionality of top and service

I recently installed a fresh CentOS 7.1 server. I'm noticing a few differences from CentOS 6.7, and I'm hoping there is a way to revert to an old view of certain things. For example: Question 1: ...
1
vote
1answer
26 views

disk space usage by process in ubuntu 12.04

Is there any way to know how much disk space currently running process is using? I have checked ps and top command but could not find out. Background behind this question: I have a server which is ...
1
vote
0answers
65 views

How does docker stats output relate to top output?

I've got a process running in a Docker container on Linux, with a 2GByte memory limit. (The container is started with docker run --memory=2g.) Here is what top says about it after it's been running ...
0
votes
0answers
17 views

Running and sleeping in top

I usually use top to get an idea of the server load before (and while) running a compute job. Recently my attention was drawn to the process state column. In particular I noticed that all Matlab ...
0
votes
1answer
22 views

Know which file is related to a process execution

In Unix, with top I have an output similar to this: 13916 root 18 0 903m 129m 9936 S 51.4 0.1 3:07.01 php How can I know which file is this php process executing? For example: 13916 root 18 0 903m ...
0
votes
1answer
40 views

Shell Script to check CPU Utilisation

I am trying to write a shell script which will check free memory of the server. I am trying below code top -M -n1 | grep "Mem" | awk '{print 0 + $7}' | awk '{ print $1 / 1024 }' | awk '{if ($1 < ...
1
vote
1answer
113 views

htop 100% fake CPU load

Recently my VPS show 100% CPU usage of all cores in htop and observium, but there is no process that uses > 5% CPU. In fact, the statistics of my VPS host shows there is no activity at all. Is this a ...
5
votes
2answers
246 views

top is only showing current user processes

Recently got a dedicated server running CentOS 6.7, we have ran updates and noticed that top is only showing processes for the current user. [myuser@server2 ~]$ top -b -n1 top - 20:19:20 up 1 day, ...
1
vote
1answer
101 views

what percentage of iowait is considered to be high?

when iowait is considered to be high ? iostat -x avg-cpu: %user %nice %system %iowait %steal %idle 2,89 0,01 5,45 49,83 0,00 41,83 Device: rrqm/s wrqm/s ...
-2
votes
1answer
95 views

How to understand output of top command

How to understand output for top as Load Average is continuously increasing but can't understand which process is eating cpu because %cpu utilization for process is maximum 0.7 but load average is ...
0
votes
2answers
127 views

top command + how to verify iowait value for one hour

my target is to check iowait value that not higher than 50 from top command and if value is higher than 50 for more then one hour , then need to give alarm about this ( by script or other option ) ...
1
vote
0answers
372 views

ATOP: vmcom / vmlim -> SWP is red

in ATOP I'm getting a red alert like this: vmcom 76.3G | vmlim 49.8G This is a value that is attached to the "SWP" (so "SWAP" is meant?)-line. What does this mean and what can I do against it?
0
votes
0answers
157 views

digitalocean server cpu is 75% all the time

I have a nice server in digital ocean, it's the 1GB ram size. It has installed: php, mysql, nginx, supervisored, beanstalkd as I installed. But the problem is the I see that all the time the cpu is ...
1
vote
1answer
61 views

top batch to dump CPU usage for all CPUs

I am looking for a command that I can run in a batch mode and report back to a monitoring server. I'd like a CPU usage across all CPUs (the equivalent of running top in interactive mode and then ...
2
votes
1answer
98 views

Ubuntu server getting slow everyday at 9.00AM

This server runs Ubuntu 12.04.5 LTS and used as a web server (apache 2.2.22) and an ftp server (proftpd 1.3.4a). Nobody can access web pages when this happens for 5 minutes or so. (This is a virtual ...
0
votes
2answers
73 views

how to check if a process with heavy io usage is running properly

I am now managing a computer cluster for scientific computing. Some processes in the cluster need heavy io usage. Now I find such a process: Its state changes rapidly between DOWN and RUN and its ...
5
votes
2answers
955 views

Which Linux package contains the 'top' command?

Many of the common utilities in Linux either come packaged in util-linux from Linux Foundation or coreutils from GNU. The man page for top doesn't specify anything. I am using CentOS.
1
vote
2answers
45 views

Confirm a memory leak by tracing “free” and “cached” in top?

I'm trying to confirm that there is a memory leak on my Linux device while in idle state (there should be no continuous memory consumption). I'm not interested in identifying the process that is ...
0
votes
0answers
180 views

Why top output different from sar output?

This is SLES11sp3 system. The command top shows the load average of 17+, as shown below: #top top - 11:59:14 up 19 days, 21:55, 40 users, load average: 17.09, 17.29, 19.22 Tasks: 514 total, 1 ...
1
vote
1answer
133 views

how can I understand why apache is consuming so much cpu - ec2

I have an ec2 c3.medium instance running. It has recently started maxing out the cpu making the server unresponsive. Rebooting the instance doesn't really help for long, although it does make apache ...
1
vote
1answer
299 views

System not being able to handle soft interrupts but having idle time?

I have a constant 5% and more CPU time spent in handling soft interrupts. Doe to that, the ksoftirqd is running almost constantly, but is using a very small amount of CPU (less than 1%). However, ...
1
vote
1answer
81 views

Influence of kernel code execution to Load average in top?

I'm trying to tests the amount of CPU that iptables use for NAT. Perhaps it will be more accurate to say "the amount of CPU that the netfilter kernel module" uses. The approach i took was to try and ...
0
votes
3answers
2k views

free shows more memory used than top process total

UPDATE: This was being caused due to a known issue with nss-softkn. See this article: https://www.splyt.com/blog/2014-05-16-optimizing-aws-nss-softoken When I run free -m from my centos 6.5 box I ...
2
votes
1answer
45 views

How to spec VM requirements based on historical data of transient processes on Linux?

I've been given a task to break apart the services on one of our main VMs (Amazon EC2) and appropriate additional VMs to suit the services needs. The type of services that I am dealing with are ...
1
vote
1answer
393 views

ps_mem.py vs top - memory usage?

Every now and again my apache server is crashing, getting an error saying the MaxClients has been reached. In my research I've gained the impression that I may be running out of memory (just checked ...
1
vote
3answers
603 views

Find out what NFSD processes are actually doing?

When I view top on one of our servers there are a lot of nfsd processes consuming CPU: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2769 root 20 0 0 0 0 R ...
0
votes
0answers
170 views

aws stolen cpu on dedicated machine

I'm running a dedicated m3.medium EC2 instance. How is it possible that my top says: Tasks: 84 total, 1 running, 83 sleeping, 0 stopped, 0 zombie Cpu(s): 4.3%us, 1.5%sy, 0.0%ni, 90.8%id, ...
-1
votes
1answer
54 views

Memory on dedicated server is filled out [duplicate]

We are managing a dedicated server (WHM/cPanel) with 4-5(Magento & Woocommerce mostly) accounts in it, along with custom code that will connect those platforms with ERPs. This custom code works a ...
0
votes
1answer
53 views

How to understand details of CPU usage

I have a VPS server. At the CPU usage chart I see long periods of 50% CPU usage that are not related to chart of visitors of my site: http://c2n.me/iRJplq. I checked top and most of the time fastcgi ...
5
votes
3answers
226 views

On a freshly-rebooted server why would the CPU running time of processes be huge?

I rebooted our server this morning, yet there are umpteen processes that appear to have been running for 600+ days? Could someone please shed some light? The datetime of the machine is correct: ...
0
votes
1answer
635 views

Apache TOP command time format?

When running top on an Apache server, what is the time format for the output? For instance, is it minute:second.second? http://i.imgur.com/wBx8PAh.png Edit: I'm running on Ubuntu 14.04 and the ...
1
vote
2answers
92 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 ...
1
vote
1answer
1k 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
3answers
496 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
131 views

high mysqld cpu usage after moving to new server

Just moved to a new (more powerful) server with only one website running on it, no changes on the website, but now I got a horrible high CPU load and I can't find out why. top: top - 22:54:08 up 1 ...
1
vote
2answers
667 views

top and htop disagree on memory usage, but swap is being used on GlusterFS server. Can this be improved?

If I run free -m, top and htop, I get different memory uses. The system is also using a small amount of swap. I understand from this question why they are reporting different values (some of the data ...
0
votes
1answer
271 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
65 views

Strange load average behaviour

We have a daemon which collects system data and writes it into database. Sometimes the load average goes very high without apparent reason. Here is sample output. | id | server_id | datetime ...
0
votes
2answers
743 views

How can I find out what Zimbra process (specifically “b”) is doing?

My Zimbra mail server (8.0.2 Community Edition) recently started to spawn an interesting process called "b". top - 11:04:44 up 19 days, 18:47, 1 user, load average: 6.25, 6.38, 5.57 Tasks: 131 ...
1
vote
2answers
2k 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
572 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
55 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, ...
2
votes
1answer
360 views

Our RAM usage is high, including -/+ buffer/cache, but top has no answers

We are running CentOS 6 with a PHP web application. After we pushed a new version live it seems we have a memory issue, however top does not show any high usage instances. I have looked around and ...
0
votes
1answer
2k 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 ...
1
vote
1answer
284 views

Load average 1.00 while top seems to show the server as idle

My server is not responding to HTTP requests, and it took me a long time before being able to log in with SSH; it all looks like the server is overloaded and on its knees. It already did that a few ...
1
vote
3answers
549 views

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

SuSE 11: “top” CPU percentages don't add up

Running "top -b" on my SLES 11sp2 system produces the output below. The Cpu(s) line reports 33.7% CPU usage in user space, but if you add up the %CPU column in the process listing you only get 4.9% ...