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

learn more… | top users | synonyms

0
votes
2answers
21 views

Which tool can be used to configure the CPU priority of a process?

I know that you can use nice to re assign priorities of processes but which tool can be used to configure the CPU priority of a process ?
0
votes
3answers
54 views

Store CPU utilization into CSV file

OS: Debian 8 x64 I'd like to log every 5 seconds the CPU percentage into a CSV file in the format below: YYYY-MM-DD HH:MM:SS,CPU% I'm not familiar with how to use the top program to calculate the ...
1
vote
1answer
26 views

Python processes appearing and disappearing in top

I concurrently launched around 12 Python scripts on a 24-core server (Ubuntu 14.04 LTS x64). Each of Python script takes around one hour to complete. I see in top that they appear quite sporadically, ...
1
vote
2answers
705 views

Why I can not use all the 100% potential of CPU?

I am using my computer clusters to run a MD C program but I can not use full potential of those clusters. But the this node have 16 CPUs and I also only give 15 jobs for those CPUs. But I can not ...
2
votes
0answers
30 views

Restrict a user from viewing other user's processes [duplicate]

Suppose there are two users : user1 & user2. Now we know that if I give top -u user1, I can see only the process respective to user1. But if I do top -u user2, I can see all the process running ...
1
vote
0answers
15 views

htop CPU time vs top CPU time

Both of the following pictures were taken with just seconds in between. htop shows 8:59.27 as consumed CPU time, while top shows it as 14:45:50 which seems legit. That's OS X 10.10 running on eight ...
1
vote
2answers
75 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
43 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
39 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
56 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
54 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
29 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
59 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
32 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
71 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
78 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% ...
1
vote
3answers
172 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
570 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
36 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
66 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
43 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
298 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
58 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
183 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
152 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 ...
-5
votes
2answers
312 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
115 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
912 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
645 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
250 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
230 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
53 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
124 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
195 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
1k 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
153 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
668 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
8k 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
43 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
409 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 ...
4
votes
3answers
241 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
678 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
14k 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
96 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
416 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 ...
1
vote
0answers
268 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
2k 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 ...