A command-line system monitor tool that produces a frequently-updated list of processes.

learn more… | top users | synonyms

1
vote
2answers
43 views

Why is the range of load average not 0-1+ for all cpu's together?

I know that load average is 0-1(or 0-1024) per cpu. E.g a busy quad-core can have a load average of 4.0 or higher. (e.g if there are many tasks). I understand it can be huge like 100+ etc. I also ...
0
votes
1answer
34 views

Substantial portion of memory used is not accounted for by user processes

I recently installed a copy of Ubuntu Server 14.04.2 LTS on a cluster. All appears to be working fine, but a large portion (around half) of our total available RAM is being used. I.e., when I run ...
1
vote
2answers
25 views

What unit is used for the memory values from top command in Linux?

I have the following snippet shown as my top command output. One real quick question here being, the values of Mem are shown in what granularity? Are they the number of bytes? Mem: 8191488k total, ...
0
votes
1answer
29 views

MySQL process showing in top but no errors logged

I am seeing the following in TOP 2311 mysql 20 0 1324M 646M 9188 S 0.0 17.1 0:00.00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin ...
3
votes
2answers
32 views

How can I tell which process is IO bound?

Suppose I have a large number of processes and one (or more) is IO bound, obvious by a high wa value in top. How can I pinpoint which process it is? Each process shows how much cpu is being used, but ...
0
votes
0answers
27 views

How do I gather average cpu use in the background?

I'm trying to determine if an issue I'm having is related to cpu use, but my impacted application doesn't allow me to change terminals once it's open. It there a way I could dump only the cpu useage ...
0
votes
1answer
31 views

Why is load average being reported as 0.00 though system is busy doing work?

uptime, top, cat /proc/loadavg all reporting load averages for the last 1/5/15 minutes as 0.00, but the system is definitely busy doing work. Why is this? Server is running Red Hat Enterprise Linux ...
2
votes
0answers
30 views

Identify process

Every couple of minutes my Mac OSX machine starts running a process that consumes 10% of the CPU. It runs for a couple of seconds and then stops. I can see the process coming up in 'Top', but the name ...
2
votes
1answer
50 views

Where does network waiting go in 'top'?

If top is showing high loads, and you don't know if the process causing it is doing processor time or is doing network i/o (not local i/o) how can you find that out? On our server I see high values ...
4
votes
1answer
59 views

CPU usage of file system operations not shown in top

I run the following command (which does ls for 10,000 times) in a Ubuntu Linux terminal and use the top command to monitor the CPU usage. While top shows the total CPU usage (line 2) is about 48% ...
0
votes
3answers
85 views

How can I format output of shell command

I combine top and pidof command: top -p $(pidof <process_name>) If pidof <process_name> return one id top command works. But if pidof <process_name> more than one ids top command ...
1
vote
2answers
147 views

In Linux 'top' command, is there any way to keep track of values?

I'm using the Linux "top" command to monitor %CPU of particular process. As the values keep on changing every few seconds, is there any way to keep track of values in a separate file or as a graphical ...
2
votes
1answer
31 views

Set default color for top

How do you set the default color for top? Right now there is a red that I can barely read. You can toggle from mono to color with z or set it up more thoroughly with Z. But none of those settings ...
2
votes
1answer
62 views

Unrealistically long process times displayed in top

I (partly) manage a small cluster and we are having some problems on a few nodes (running CentOS 6.4). Some processes show exceptionally long run-times in 'top', even though the computer has been ...
-1
votes
1answer
36 views

What is the meaning of these label in top?

http://linux.about.com/od/commands/l/blcmdl1_top.htm top - 17:05:46 up 7 min, 1 user, load average: 227.48, 89.29, 36.78 Tasks: 1758 total, 25 running, 1555 sleeping, 1 stopped, 177 zombie ...
1
vote
1answer
128 views

top not working in batch mode: 'dumb': unknown terminal type

I can't get top (top: procps version 3.2.8) to run in batch mode. root@zenitel063a52:~ top -b 'dumb': unknown terminal type. It will run normally in interactive mode (just when calling top). How ...
1
vote
1answer
24 views

Is there any dynamically produced .log file showing up the memory usage on FreeBSD?

I am using FreeBSD 10.1-RELEASE and I was just wondering if there is any .log file produced by default from the system because I am using ELK and I want to pass this file to logstash and then ...
1
vote
1answer
49 views

How to get the CPU load by core in percentage?

I want to know CPU load of each core in a percentage. I execute top and then press 1 Output is something like this: %Cpu0 : 0.0 us, 0.3 sy, 0.0 ni, 99.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st ...
0
votes
2answers
108 views

top -bn1 not giving correct CPU usage

I am logging on to a node which I know has near 100% cpu usage (20 single process jobs using nearly 100% cpu each). When I use top interactively, the first iteration, it gives me about 20% ni and the ...
2
votes
1answer
108 views

monitor multiple pids with top

I want to monitor memory usage for several processes and came up with a command like this: ps aux |grep -e postgres -e unicorn -e nginx|cut -d' ' -f2|for i in $(xargs); do echo $i; done 16112 16113 ...
-4
votes
2answers
217 views

What does top command in linux stand for?

What does top command in linux stand for ? Is it an abbreviation of something. If so what? I've tried to look around on wikipedia and its home page but there is not information about this.
2
votes
0answers
88 views

How can the RES memory reported for a Java process be higher than the VIRT memory?

I've been monitoring a Java process (Oracle Weblogic) using TOP and have observed that sometimes the following will happen: RES will increase from it's usual stable level of 2,097,152 KB up to ...
0
votes
1answer
672 views

CPU idle is high, but processes are struggling to keep up as if the cpu is under heavy load

My centos is barely usable. Often times the terminal becomes totally unresponsive for several seconds, but that may just be lag from ssh, which would be strange because my server is connected to a ...
2
votes
1answer
356 views

How to interpret busybox “top” output?

I am using BusyBox on a small embedded ARM system. I'm trying to read the "top" output, in particular for the Python process listed. How much real memory is this process using? Also what does VSZ ...
1
vote
1answer
224 views

Understanding the top command high load average and high CPU idle

DirectAdmin sent me the following top output: This is an automated message notifying you that the 5 minute load average on your system is 179.99. This has exceeded the 10 threshold. One Minute ...
5
votes
1answer
161 views

High %sy in top output, how to debug?

We have 2 identically configured servers and one of them is showing a high %sy while the other does not. This would seem to indicate that the system is busy doing something. Cpu(s): 28.1%us, ...
0
votes
1answer
44 views

Average CPU utilization of a process

I am trying to conduct some experiments for determining what the CPU utilization of my process is. I am familiar with the top and ps commands. Which would be a better solution for getting the average ...
0
votes
0answers
108 views

CPU load and power management (frequency)

question background In my understanding the load value (shown e.g. by top) allows (together with the knowledge how many CPU cores the system has) a very quick assessment which share of the ...
2
votes
1answer
175 views

Programmatically get CPUs 'detailed' usage, like top/htop

htop has a great way to show CPU usage. It shows the activity (usage in %) of each cores, and each core gauge is divided into three parts : blue: low priority processes green: normal processes red: ...
2
votes
1answer
774 views

How do I get the old procps-ng top(1) layout back (pre-3.3.10)?

Since updating to procps-ng 3.3.10 my top(1) looks like this: Instead of: Not only are these colours annoying & offensive, I can't get it to sort as the "old" top(1) (O no longer works, and ...
1
vote
0answers
13 views

How to interpret numerous processes with exact same RAM usage [duplicate]

I have a VM that processes files, parses the information and saves it to a database. I've been monitoring the resource usage and noticed /usr/sbin/console-kit-daemon --no-daemon.. Below you see a ...
5
votes
3answers
147 views

Start top with particular sorting

I'd like to start top with sorting set to resident memory size, instead of the default CPU usage. I don't see a way to do that from command line arguments or startup file. Obviously I can't echo "Oq" ...
1
vote
2answers
507 views

Is there a valid alternative to top for OpenBSD?

I like very much htop, on GNU/Linux is very nice, I would like a similar software for OpenBSD 5.6. Anyone knows something about that?
2
votes
1answer
5k views

How to check which process is using most memory

When I check free in one of Prod server it showing 70% of memory is being used: total used free shared buffers cached Mem: 164923172 141171860 23751312 ...
2
votes
1answer
39 views

`top` not refreshing screen on exit

When I exit top, the prompt reappears at the bottom and I can see the bottom of the last thing it was showing. How can I get top to behave like less i.e. refresh the screen back to when I launched ...
1
vote
1answer
335 views

Find the process which is taking maximum CPU usage if CPU usage is more than 60%?

I am trying to measure the cpu usage of my ubuntu machine and if the cpu usage is more than 60%, then I need to find out the process who has the highest cpu usage and then send out an email saying CPU ...
2
votes
1answer
2k views

Total CPU usage and CPU usage under processes list is different in FreeBSD top implementation?

For some reason, overall CPU usage on my FreeBSD machine fluctuates between 1% and 85%, but the CPU usage in processes column never adds up to this amount. For example here the overall CPU usage is ...
3
votes
3answers
132 views

How to view a specific process in top

Are there any relatively strightforward options with top to track a specific process? Ideally by identifying the process by a human readable value? e.g. chrome or java. In other words, I want to view ...
3
votes
0answers
535 views

Why would whois take up 100% of the CPU?

Running top on my CentOS web server shows an instance of whois running from 99-100% of one of the CPUs. I've not knowingly used whois on this server before, would it be safe just to kill this ...
3
votes
4answers
10k views

Change top's sorting back to CPU

A former coworker did something to top that whenever it runs as root the data is sorted by MEM usage instead of the default CPU usage. According to multiple searches, the man page and even the options ...
0
votes
1answer
78 views

Bash crashes when running common commands [closed]

Open Bash, run Top, and about 1/3 times, bash just closes. The other 2/3 times, it runs properly. The same thing occurs with other commands like "clear" or "/sbin/ifconfig" Any ideas what may be ...
1
vote
2answers
329 views

Extract text from one iteration of top

I want to execute the top command from my bash script the problem is that usually when I type the top command on the console , I exit by Ctrl+C. but how to exit from top when I run the top command ...
0
votes
0answers
45 views

How fast is a process reading/writting virtual memory?

So, we have top, htop, iotop, iostat, vmstat, etc, to measure many different things on Linux, but how can one measure how much MB/s a process is reading and writting to/from RAM, i.e., virtual memory? ...
1
vote
0answers
221 views

What's limiting my CPU usage in forked processes?

I am running some long-running programs (for scientific purposes) on a multi-core Linux box. The processes are controlled by a small daemon which restarts the next job when one finishes (I run 3-6 at ...
2
votes
1answer
1k views

Why highest priority threads are displayed with RT in top and htop?

In the top and htop tools, processes (or/and threads depending on display settings) having the highest realtime priority (99 from the userland API point of view) with either the scheduling policy ...
1
vote
1answer
74 views

How do I control the cycle length of “top” command

I have been told that "top" command only cycles once per second (I don't know if that's true) and I need it to show changes in processes way shorter than a second, how do I do that? What I need to ...
4
votes
3answers
945 views

Alert when running process finishes

There are a few questions and answers on here with regard to being alerted when a process completes/exits(1, 2) – but these all assume that the user has issued said process themselves, and thus can ...
1
vote
1answer
6k views

Huge CPU load due to high system usage

Tasks: 747 total, 176 running, 560 sleeping, 0 stopped, 11 zombie Cpu(s): 10.5%us, 89.2%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st Mem: 74236420k total, 73285344k used, 951076k ...
1
vote
1answer
84 views

Memory usage stays high after compilation jobs

I am operating a small Linux VM with 1Gb of RAM. It is a fairly typical LAMP setup which takes about 16% of memory on normal usage I used the box to compile stuff yesterday, the memory went up to 60% ...
2
votes
0answers
75 views

Top forest view with filter, can I include all children?

If I'm using top in "forest" mode (V) and I restrict by PID (o PID=12345), can I also get top to show all the child processes in the same view? Ubuntu, top from procps-ng version 3.3.9