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

learn more… | top users | synonyms

0
votes
3answers
42 views

Linux + how to verify the CPU performance

I have few servers that I manage in my origination ( red-hat 5 ) my users complain about the bad CPU performance grep processor /proc/cpuinfo processor : 0 processor : 1 can I ...
1
vote
1answer
49 views

cpu usage is 100% but top doesn't show any process using it

First of all, I forgot to save the process list. I had to reboot the server so I can't give much information. I have a small VPS. The cpu usage was 100% in both top and in the control panel graphs, ...
0
votes
0answers
26 views

Virtual CPU utilization(multi core CPU)- Identify the process

I am in a road block and trying to understand the below. Red hat Linux has been installed in a Intel Xeon CPU. We have a 6 core virtual CPU's. I am trying to find out which job is consuming more of ...
0
votes
0answers
10 views

upowerd consuming 100% cpu

upowerd is consuming nearly 100% of CPU. I am currently affected by this issue on both a Lenovo Thinkpad E520 and on a desktop PC running Core i7 and Asus Z170a motherboard. Both run Kubuntu 15.10. ...
4
votes
1answer
56 views

The sum of % in the CPU column doesn't match the total CPU % row [duplicate]

I don't understand why the sum of % in the cpu column in top doesn't match the total CPU % row: Text version with slightly different values: ubuntu@server:~$ top top - 23:20:21 up 5:18, 3 users, ...
1
vote
0answers
33 views

Periodically get CPU usage for single process

I've got a problem with the kswapd0 process (pid 52), which from time to time would start to use 25% of the cpu (one full core). I usually stop it with the command sudo sh -c "echo 1 > ...
0
votes
1answer
26 views

Downsides of processes with high virtual size but low RAM and GPU memory use

I have noticed that some of my processes take a lot of virtual size in my computer. I understand that the virtual size of a process is the sum of memory it is actually using, memory it has mapped into ...
0
votes
2answers
14 views

Launch top command showing all cores immediately

I know that once you run top if you press [1] you can see the load on each processor (let's forget the multi-threading issue) and if you press [s] you can configure the refresh time. How can I put ...
4
votes
1answer
156 views

grep of top output yields funny characters upon redirection to file

I am running CentOS 6 and I am trying to grep the output of top and redirect it to a file. I.e. top -u user1 -n 1 | /bin/grep somecommand &> scratch.txt The output of vim scratch.txt is ...
0
votes
1answer
28 views

get `top` output for non interactive shell

I want to implement top function for the web app, is it possible to get the output of top command in non interactive shell.
1
vote
1answer
30 views

determine the actual memory usage of several processes that share a large memory segment

I just took a look at the output of top and it showed me (amongst other processes) the following: As once can see I have ten processes consuming approx 10GB each so 100GB in total. The computer ...
0
votes
0answers
16 views

High CPU usage after Version Upgrade

Not sure if is related to the version upgrade but since I have updated my Raspberry to Linux version 4.1.13+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG ...
2
votes
1answer
52 views

How to interpreted top/htop memory usage

I have a htpc/server-ish ubuntu box running at home with kodi (xbmc) and some other webservices. I noticed kodi was laggish and ssh'ed into the box to see what was going on. I saw this htop output: ...
2
votes
1answer
37 views

Display only certain parameters in top

I have a question pertaining the 'top' command and dissecting it. What I mean by that is say for instance I wanted to display only particular parameters while top is running live, I want to only ...
2
votes
0answers
33 views

Is “top” accounting for Kernel Interrupts?

I have a simple interrupt that is triggered by a GPIO-input. The IRQ only increments a variable and returns. When I turn the frequency of the interrupts up to somewhere around 10-20 kHz, the system ...
1
vote
2answers
26 views

top how to monitor processes using regex name?

I monitor several processes with i.e. '#top -p 22055,21995' But there are many of them all starting with fwk* i.e. fwk3_dev, fwk5_dev PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ ...
1
vote
0answers
43 views

httpd and mysqld used out of memory

I choose 512mb ram for my Centos VPS with very low traffic new website .but after 2,3 hours after rebooting, i have only 24mb free memory. when i use top command: 2981 root 20 0 37176 10m ...
1
vote
0answers
54 views

iowait monitoring in top on OSX/iMac

I'm trying to monitor the performance of a process on OSX 10 (iMac), specifically whether I/O is currently a bottleneck or not. I don't use the machine, hence I need something simple that the user can ...
1
vote
1answer
75 views

Linux top -n 1 Command doesn't get update

I'm calling the Linux top -n 1 -b command from a Qt application to get the free CPU percentage. This application calls this command every 3 seconds, but the CPU usage seems to be updated only the ...
0
votes
0answers
39 views

Java process seems to always be bound to a single CPU

This is a bit of a puzzler. I have 28 VMs, running on ESXi 5.5, each with 6 vcpus assigned to them. They're not particularly loaded, and they're not running anything other than a single java process ...
1
vote
2answers
50 views

If I want to create a GUI which displays exactly the same data as TOP command does in LINUX, where do I get the data from?

I found out that I can get the PID(first column) from the /proc/[pid]/stat file, first column. I am not sure where can I find the rest of the attributes. And my guess is we need to calculate the %CPU ...
1
vote
2answers
56 views

Which user is running the most processes?

My top looks like this: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6524 asjzdiwq 30 10 500m 41m 24m S 0.0 0.3 0:15.27 php-cgi 21274 asjzdiwq 30 ...
0
votes
1answer
37 views

difference between inactive and free memory in output of FreeBSD top utility?

top -d1 displays following SDRAM usage statistics on one of my older machines: 125M Active, 42M Inact, 51M Wired, 17M Cache, 34M Buf, 2720K Free In total, there is 256MiB of memory installed. ...
7
votes
3answers
128 views

How to view summaric memory usage of groups of commands (instead of processes)

Is there a way to group similar processes when using tools like top/htop? Sometimes I just want to know whats eating my memory and some programs (browsers mostly) are using multiple processes, which ...
1
vote
0answers
27 views

Debian - Memory usage [closed]

I all, I'd like to understand what happens in this system. Running top I get: KiB Mem: 496948 total, 460012 used, 36936 free, 68604 buffers and in the process list the process that ...
3
votes
0answers
61 views

Memory consumption over variable period of time

There are a number of questions on this StackExchange about memory consumption, notably: How to check which process is using most memory How to display top results sorted by memory usage in real ...
0
votes
2answers
41 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
196 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
66 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
823 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
31 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
59 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 ...
2
votes
2answers
126 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
56 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
104 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
159 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
176 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
31 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
152 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
175 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
189 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
269 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
2k 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
80 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
80 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
86 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
683 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
31 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
103 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 ...