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

learn more… | top users | synonyms

0
votes
0answers
38 views

The usefulness of the top command, and how it may be used with ps and and kill to investigate a system that is misbehaving [closed]

I'm doing my computer science C/A and one of the questions is: Evaluate the usefulness of the top command and discuss how a computer technician might use it together with ps and kill in order to ...
0
votes
0answers
19 views

Can't see processes of particular users in top

The Linux command top isn't working properly. If I type u, for which user, and then my account xxxxxx, I see all my jobs. If I type 68852563 (consultant account), then I see nothing. OS: Red Hat ...
-6
votes
0answers
26 views

Using “ps” “kill” and “top” to find and resolve problems with executables? [closed]

OK so for my controlled assessment I need to do some primary research via emails or forum posts. I thought that since I've used this site a lot I would ask here. So say I have an executable file ...
0
votes
1answer
11 views

Since when Disks statistics in `top` command are counted?

I've got these disk statistics shown in top command: $ top | head | tail -n1 Disks: 1095425909/52T read, 1016012571/52T written. It's quiet high number for only 37 day uptime. Are these numbers ...
0
votes
1answer
24 views

What could be the cause for going to uniterruptable deep sleep state for this particular make process?

I am trying to understand 'D' state correctly. In my case, the following process went to 'D' state: make -f freac/CMakeFiles/freac_objs.dir/build.make freac/CMakeFiles/freac_objs.dir/build It is ...
1
vote
2answers
26 views

How to use top in a shell script to track memory consumption of a process?

I was wondering if there was a way to use top or another program to track the memory consumption of a script I will be running. I was using runtime.totalMemory - runtime.freeMemory But that'...
0
votes
1answer
33 views

Does top read some system files?

If I am correct, the output of free comes from reading /proc/meminfo. In the output of top, is the summary of memory part not specific to a process also coming from /proc/meminfo? which system ...
2
votes
1answer
14 views

Do RES and USED of a process include the cache and buffer of the process?

In the output of top, I heard that RES of a process is the part of RAM occupied by the process, and includes the process' code, data, and shared libraries which are in RAM. I wonder if RES of a ...
0
votes
0answers
14 views

Understanding shared objects in virtual memory, in the output of top

In the output of top, does SHR for a process consist of only the following parts all the shared objects in RAM, e.g. shared libraries and shared data in RAM, shared between the process and any ...
0
votes
1answer
18 views

How to show USED in the output of top?

top doesn't show USED (a part of virtual memory) by default. How can I make it visible? Thanks.
0
votes
2answers
36 views

What does it mean that a page fault may or may not involve auxillary storage access in making that page available

From manpage of top nMaj -- Major Page Fault Count The number of major page faults that have occurred for a task. A page fault occurs when a process attempts to read from or ...
4
votes
2answers
156 views

Differences and relations between VIRT and USED in output of top?

From manpage of top VIRT -- Virtual Memory Size (KiB) The total amount of virtual memory used by the task. It includes all code, data and shared libraries plus pages that ...
0
votes
0answers
21 views

Ubuntu guest CPU steal 99.7 %

I'm currently running a VPS which appears to have some very strange problems. Running top gives me 99.7 % CPU steal. It's always the same value and started 3 days ago. The same thing happened a while ...
2
votes
1answer
56 views

Is there an equivalent to top but for network I/O?

Is there a program that I can use to list processes based on their current network I/O usage? top does CPU, and on FreeBSD at least, it will also do disk I/O if you pass it -m io (I assume that there'...
2
votes
1answer
33 views

How does iotop calculate the relative I/O activity?

I am running some heavy I/O processes on my workstation and recently installed iotop to monitor them. Here's a recent screenshot: I'm a bit confused about the readings in the IO> column. It ...
1
vote
2answers
74 views

Top command output explanation (in embedded system)

Can someone please help me understand the output that I get from the top command? This is the point that the oom-killer is invoked and kills my main application. What exactly is under the VSZ and %VSZ?...
2
votes
2answers
28 views

Process Scheduling Information Extraction

I want to extract the process having highest utilization on each processor core and then output its information (PID etc.) to a file. How can I do it by using either top or ps command? Thanks.
2
votes
1answer
29 views

Sort processes by start time

Is there a way to view processes by the time they were started? top and htop have an option for sorting by how much time a process has been running, but I would like to sort by when the process began ...
1
vote
2answers
44 views

Why does `nohup top` cut the output lines?

I want to use nohup to periodically log the output of top (every 15s). For that, I log into the server with SSH, carry out the following command, and log out again: nohup top -b -c -d15 & The -...
0
votes
1answer
51 views

Where is all my RAM going

On our RHEVM server, when i run free -m command it tells that 23117MB "Used -(Buffers+cache)" of RAM is in use, And Free "Free+(Buffers+cache)" is 9120MB Total usable RAM is 30759MB Actual used ...
1
vote
2answers
48 views

Tracking/Monitoring Short-Lived CPU-Intensive Process on one CPU

So I've been working with this issue for some time now, and I'm having trouble finding the tools to troubleshoot this problem, which I have to imagine exist. So here's the basics of my problem: We ...
0
votes
1answer
24 views

Webserver compromised, strange processes running

So currently my debian server is generating large amount of outgoing traffic. Most likely compromised and used to attack other targets. The top command shows this PID USER PR NI VIRT RES ...
1
vote
1answer
60 views

Understanding the top command output on an ARM multicore computer

Ran the top command to check CPU performances and memory usage on the New RPi3 while running a browser. Since we have a 4× ARM Cortex-A53, 1.2GHz, how should I read the result? $ top Mem: 327132K ...
0
votes
3answers
82 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
139 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, ...
1
vote
0answers
61 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 ...
1
vote
0answers
295 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
128 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
116 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 > /proc/sys/...
0
votes
1answer
64 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
40 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
176 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 ^...
1
vote
1answer
367 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
63 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
24 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 linaro-1.13.1+...
1
vote
1answer
208 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
45 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
56 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 ...
0
votes
2answers
101 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
151 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
113 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
1answer
89 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
62 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
107 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
64 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
264 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
35 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
94 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
48 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
349 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 (...