Skip to main content

Questions tagged [top]

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

0 votes
0 answers
84 views

I wrote a custom shell command using the top command, in order of getting the sum memory usage for all the processes of a given program (for example java*, mongodb*, etc..) in a Linux based servers: ...
edwio's user avatar
  • 121
1 vote
2 answers
3k views

I'm currently using top to gather the most resource intensive processes and sending them to influxdb. Currently, the command is like this: top -bn1 -c -w250 Which basically runs top a single time (-...
Leandro 86's user avatar
0 votes
0 answers
21 views

On 7.9 redhat os. I was told by our admin server that load average (can be seen using top) of my server should not be upper than 1. but our 3 servers have a load balancing that is equal to 7.78, or ...
iostrym's user avatar
  • 43
0 votes
0 answers
51 views

Ubuntu host with 100% utilization in top or htop. When I inspect the running processes, I don't see a process consuming a significant amount of CPU resources. I've tried using commands like top, htop, ...
wuyeguo's user avatar
-1 votes
1 answer
959 views

I'm trying to find the cause of the high load average on our server running in RHEL 8. The top command shows that our load average for 1, 5, and 15 is more than 250+. Also, server is responsive at the ...
IamBayMax's user avatar
0 votes
0 answers
88 views

I'm trying to understand the top command, php-fpm is taking too much %cpu but the CPU on top is always very low why is that happening, and where to start to maybe tune it?
Emad Ha's user avatar
  • 101
9 votes
1 answer
2k views

EDIT: This ended up being a scrub process. Run zpool status -v and read the scan status for your pool clearly. I have a TrueNAS server running FreeBSD and this morning at 12 AM the disks started to be ...
Bilbo Baggins's user avatar
0 votes
1 answer
362 views

I'd like to see the current load (cpu + mem) of my Server (rhel 7.x) in a graphical fashion and only have top (and other built-in commands) available, tools like htop (that need to be installed) are ...
hinneLinks's user avatar
1 vote
1 answer
2k views

Can someone please help explain this, I have always used to interprete the "g" in top output to be size in Gigabytes even though the convention is to use uppercase "G" but now I am ...
AguThadeus's user avatar
0 votes
2 answers
336 views

I want to periodically monitor the CPU usage and plot in time series. Not having much knowledge, I plan to use the top command, something like this question (Monitor cpu usage (and perhaps memory ...
user180574's user avatar
1 vote
1 answer
887 views

I have a sidecar container with the following resources: resources: limits: memory: 512Mi requests: memory: 64Mi However, when I run top, I see this: envoy & pilot-agent seem to be ...
Jon Bates's user avatar
  • 117
0 votes
1 answer
1k views

I have a program that reads data from shared memory and send it to a non-blocking socket in a single-threaded manner. When I'm hammering the traffic into that application, I can only see the TOP cpu ...
jaeyong's user avatar
  • 101
0 votes
1 answer
2k views

I've read this answer about understanding top, as well as man top, but I think I still have trouble turning the presented data from top into actual information. I'm logged on an Amazon EC2 instance ...
dodov's user avatar
  • 171
-1 votes
1 answer
363 views

I use this command "kubectl top pods" using Kubectl command I need path api for this command I need return data from this command "kubectl top pods" via api
uday kiran's user avatar
0 votes
0 answers
128 views

I'm trying to get to the bottom of an issue where the oom-killer is killing certain jobs off on a server. The server has 48GB of physical ram, with 20GB of swap, and I'm trying to find out what ...
sleepysysadmin's user avatar
1 vote
0 answers
1k views

We are using a centos 7 server. The free -m command has the following output. [root@211 ~]# free -m total used free shared buff/cache available Mem: 31841 ...
Arjun Mehta's user avatar
0 votes
1 answer
187 views

So I cant seem to find any information ANYWHERE on what this process, "sysnetd", does. I've run LSOF etc but nothing seems to provide any info I know what to do with. The /proc/pid folder ...
user1449369's user avatar
0 votes
1 answer
444 views

I have an odroid XU4 running the manufacturer-provided minimal Ubuntu 18.04. Every few seconds (it's not really consistent, but think between 5 and 30) I get a call to lsb_release. Sometimes it gets ...
manugutito's user avatar
0 votes
0 answers
675 views

Facing high I/O wait in apache tomcat server when the load increases. Suspecting disk I/O is less when tomcat is running however. disk IO seems drops drastically when tomcat is running along with the ...
Sandesh Bailur's user avatar
5 votes
2 answers
5k views

I am running Debian 10 (kernel 4.19.0-18-amd64) on bare metal and I have recently noticed strange CPU usage. Screenshot of htop, sorted by CPU% Screenshot of top, sorted by CPU% As you can see, 100% ...
tomf's user avatar
  • 51
0 votes
1 answer
809 views

I have a Centos 7 VPS at HostGator that has been very slow lately. HostGator have not been overly helpful in diagnosing the problem, insisting that everything is ok. The server is a 4 core VPS with ...
John McAulay's user avatar
1 vote
1 answer
1k views

Using the "top" command (or a similar command) in Linux, is there anyway to show the vhost that an apache process is associated with in /var/www/html? I have 250 websites on a linux server, ...
Alex Douglas's user avatar
2 votes
1 answer
3k views

I am on CentOS 7 and using atop v2.6.0 If I run atop manually with the following command everything runs as expected and the log is written to every 10 seconds: /usr/bin/atop -w /var/log/atop/...
Pel's user avatar
  • 21
0 votes
1 answer
1k views

How can the sum of processes' CPU-% usage be lower than the total CPU load, according to atop and top, please? I have a CPU reaching very high load (87%, for several hours) even though the sum of the ...
jucor's user avatar
  • 3
5 votes
3 answers
20k views

I realize that processes that run inside Docker containers appear on the hosts' process list: # ps aux | grep mariadb root 12486 0.0 0.0 112812 976 pts/0 S+ 14:47 0:00 grep --color=auto ...
Nuno's user avatar
  • 673
0 votes
0 answers
34 views

I have a Ubuntu 20.04 server which is reporting relatively low free RAM: top - 11:28:31 up 5 days, 20:12, 3 users, load average: 0.18, 0.26, 0.27 Tasks: 268 total, 1 running, 267 sleeping, 0 ...
Huskie69's user avatar
  • 101
0 votes
1 answer
120 views

On the book I'm reading, DevOps Troubleshooting, it says that the last value in the swap line is the memory used for file caches (yellow) in Linux so subtracting it to the used memory (green) gives ...
Pablo Fernandez's user avatar
0 votes
1 answer
1k views

I've got a CentOS 7 VM which seems to be stuck with quite high load (8-10). CPU usage is around 25%, there is no IO wait and there are no processes marked as D in top. I've been looking around as much ...
Ben Jones's user avatar
1 vote
2 answers
10k views

Recently I saw that my server Ubuntu 18.04 LTS has a high usage of buff/cache memory. free -mh total used free shared buff/cache available Mem: 7.8G ...
user avatar
0 votes
1 answer
462 views

from lscpu we get the following lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 48 On-line CPU(s) list: 0-47 ...
King David's user avatar
0 votes
1 answer
620 views

just recently we started to see high CPU pressure on one of our machines. All our machines are running Linux Debian and we use vmware under the hood. We have hot added new CPUs and they're online in ...
Moisés Belchín's user avatar
0 votes
1 answer
1k views

I run ./install.sh and I tried to background it to be able to close the ssh session. But after running bg the process is again outputting to the terminal. Also, I don't see anything with jobs. ...
bomben's user avatar
  • 115
0 votes
1 answer
196 views

I have a Debian 9 server and the load is over 4000. "top" claims there are 18,132 processes sleeping. Initially, I saw many "ps" processes, hundreds, so I killed them all by name. I don't see any ...
Corepuncher's user avatar
1 vote
3 answers
849 views

I have a server, which has 12 Cores, and usage is 42. What does it mean? As far as I know 1 i 100% of one core. So 42 is 100% of 42 cores?
Gacek's user avatar
  • 1,241
2 votes
1 answer
2k views

I created a container, in which I've created ~10 processes. I want to analyze how much memory they're consuming. To achieve that, I ran top inside the container, and docker stats outside. In top, I ...
speller's user avatar
  • 131
0 votes
1 answer
2k views

I have a cronjob that executes every minute that uses awscli s3 sync command for syncing my website with a S3 bucket. It seems the command sometimes run for a very long time for no apparent reason : ...
wlarcheveque's user avatar
1 vote
1 answer
3k views

My system is centos 7.4 with atop 2.3.0 I want to change atop log interval from default 600 to 300,then I vi /usr/share/atop/atop.daily as below: #!/bin/bash CURDAY=`date +%Y%m%d` LOGPATH=/var/...
kittygirl's user avatar
  • 1,035
-1 votes
1 answer
911 views

In FreeBSD you can run "top -m io" and it will show you disk io. For example: What units is the WRITE/READ in, bytes or kilobytes or megabytes?
Exocomp's user avatar
  • 163
2 votes
1 answer
178 views

I have a Ubuntu server running in EC2. Occasionally, I get a large CPU usage 99+% utilization as measured in EC2 monitoring dashboard, even though most times it is less than 10%. Since traffic to my ...
JackDaniels's user avatar
1 vote
0 answers
84 views

We have a Hyper-V guest with 4 virtual cores reporting 50% usage total among all the virtual cores. That is, this 50% is what atop and top report, with a complementary 350% of "idle". That means at ...
dsign's user avatar
  • 153
5 votes
2 answers
13k views

I find it quite confusing to differentiate threads and processes when I run top and then press H or run ps -Hef. I know that they share the same attributes, which makes them similar but was wondering ...
user's user avatar
  • 63
7 votes
1 answer
6k views

The username column in the output of top command shows a + for the names that are longer than the column width. How can I increase that? I don't see any option for that.
mahmood's user avatar
  • 1,142
1 vote
0 answers
67 views

We are seeing what appear to be invalid values in top on more than one of our AWS instances: top - 08:44:56 up 259 days, 17:31, 1 user, load average: 0.01, 0.02, 0.01 Tasks: 78 total, 1 running, ...
mikedavies-dev's user avatar
0 votes
2 answers
3k views

Why does "top" command shows two different values for a Linux server with only just one CPU. I understand that it can differs when there is a multi core processor but in this case I'm using a AWS ...
Daniel Santos's user avatar
0 votes
1 answer
693 views

I have a KVM single core VPS optimized for hosting static content running only Nginx 1.13.8 with SSD and 1GB RAM with a hosting provider on a package of 100 Mbit/s unmetered bandwidth. OS in use is 3....
KDX's user avatar
  • 243
0 votes
0 answers
1k views

I've been able to calculate unshared memory use by summing anonymous and stack mappings from pmap -x e.g. sudo pmap -x $THE_PID |egrep 'anon|stack' | awk '{print $2}' | paste -sd+ | bc but can't find ...
Craig Ringer's user avatar
  • 11.6k
1 vote
2 answers
3k views

I have a top output that shows a high amount in nic CPU percentage. Is there a way to see what those processes are? And is it possible to do it from top?
user55570's user avatar
  • 468
1 vote
0 answers
190 views

I have got an OpenVZ-based VPS running CentOS 7.4 (Linux hostname 2.6.32-042stab116.2 #1 SMP Fri Jun 24 15:33:57 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux). The workload is a single Java application. ...
minexew's user avatar
  • 111
0 votes
1 answer
1k views

I have an Amazon EC2 t2.medium instance that is showing very strange CPU Steal Time values, mostly large negative numbers and also very high idle CPU numbers. Anything that explains such strange ...
centic's user avatar
  • 221
-1 votes
2 answers
567 views

I have a rack/ruby application on a server. I run it as follows: nohup rackup -o 0.0.0.0 -p 1234 & In the output of "top" command it appears as simply "ruby" PID USERNAME THR PRI NICE ...
Kakki's user avatar
  • 1

1
2 3 4 5
7