Questions tagged [atop]

Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etc.

Filter by
Sorted by
Tagged with
0 votes
0 answers
60 views

Linux "atop" : MEM total - (used + free + cache + hp) doesn't add up

Im trying to find out how "free" memory is calculated. I'm using atop in order to see how much each process consumes, and see how much hp / free / cache memory exists. My problem is that I ...
Roei Tzur's user avatar
1 vote
0 answers
135 views

When using atop as a systemd service it only runs and logs to file once

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
  • 11
3 votes
2 answers
4k views

How to completely stop atop from creating logs for good?

I've installed atop on a orangePi/RaspberryPi with only 40MB for /var/log. It quickly filled my partition to 100%, I then purged it apt purge atop to remove it and its configuration files. atop ...
Alexis's user avatar
  • 617
1 vote
1 answer
324 views

What are "shrss" / "shswp" in atop?

MEM - Memory occupation. This line contains the total amount of physical memory (tot), [...] the resident size of shared memory including tmpfs (shmem), the resident size of ...
sourcejedi's user avatar
  • 48.5k
0 votes
1 answer
420 views

atop died with exit status 53

I was running atop. It was working, but later it died with exit status 53. $ atop $ echo $? 53 Is this a bug in atop? Or is my system failing? Pre-emptive extra details :-) I checked in the ...
sourcejedi's user avatar
  • 48.5k
3 votes
1 answer
2k views

atop shows `swout` (swapping) when I have gigabytes of free memory. Why?

Why did atop show that I was swapping out over 20,000 pages - over 80 megabytes - when I had gigabytes of free memory? I have not noticed a performance problem with this. I simply wish to take the ...
sourcejedi's user avatar
  • 48.5k
9 votes
1 answer
2k views

`dd` is running at full speed, but I only see 20% disk utilization. Why?

sudo dd if=/dev/sda of=/dev/null bs=1M iflag=direct atopsar -d 5 # in a second terminal top # in a third terminal Results from atopsar : 19:18:32 disk busy read/s KB/read ...
sourcejedi's user avatar
  • 48.5k
3 votes
1 answer
3k views

IO wait time is higher than disk utilization. Isn't this impossible? [duplicate]

I am trying to improve my understanding, following this (so far) unanswered question: Possible limiting factor during upgrade of Fedora VM - not disk or cpu or network? I ran the following test load, ...
sourcejedi's user avatar
  • 48.5k
0 votes
1 answer
1k views

`systemctl status atop` shows it has failed, but there is no error message

I installed atop, and then immediately upgraded from Fedora 29 to Fedora 30. Now atop failed to start during boot. But there is no error message. It only shows that atop exited with code 7. Why ...
sourcejedi's user avatar
  • 48.5k
1 vote
0 answers
32 views

Possible limiting factor during upgrade of Fedora VM - not disk or cpu or network? [duplicate]

I'm upgrading a VM from Fedora 29 to Fedora 30. I triggered the update from inside GNOME Software. It downloaded the upgrade, and asked to reboot. It started installing... atop shows the qemu ...
sourcejedi's user avatar
  • 48.5k
1 vote
1 answer
3k views

How to read several days log files when use `atopsar`?

My system is centos 7.4 with atop-2.3.0-8.el7.x86_64. I already have 3 days log in var/log/atop, such as atop_20190312 atop_20190313 atop_20190314. I want to find out the peak period of CPU ...
kittygirl's user avatar
  • 111
1 vote
1 answer
568 views

Why does atop open a raw socket?

I install atop on Debian 9. It runs as a monitoring daemon. Why is it listening on a raw socket? Raw sockets are used to generate arbitrary IPv4 packets or capture all packets read all packets for ...
sourcejedi's user avatar
  • 48.5k
6 votes
1 answer
3k views

Writeback cache (`dirty`) seems to be limited to even less than dirty_background_ratio. What is it being limited by? How is this limit calculated?

I have been testing Linux 4.18.16-200.fc28.x86_64. My system has 7.7G total RAM, according to free -h. I have default values for the vm.dirty* sysctl's. dirty_background_ratio is 10, and ...
sourcejedi's user avatar
  • 48.5k
1 vote
0 answers
685 views

atop shows queue depth is higher than maximum

In my atop logs, I see avq ("average queue depth") over 600. This is on an LVM Logical Volume (LV). Both the LV and the physical volume have nr_requests (maximum queue depth) of 128. (Note, to see ...
sourcejedi's user avatar
  • 48.5k
0 votes
1 answer
2k views

can we View the contents of the atop log files that sent from remote machine on local machine

on remote machine we have the following atop files ls -l /var/log/atop/ total 1634632 -rw-r--r-- 1 root root 127992086 Aug 30 01:49 atop_20180829 -rw-r--r-- 1 root root 262277153 Aug 31 00:00 ...
yael's user avatar
  • 12.6k
2 votes
2 answers
10k views

how auto-rotate atop logs

we can see that atop logs are created on each day and that take a lot of space ls -l /var/log/atop/ total 1634632 -rw-r--r-- 1 root root 127992086 Aug 30 01:49 atop_20180829 -rw-r--r-- 1 root root ...
yael's user avatar
  • 12.6k
0 votes
1 answer
2k views

atop + what define when /var/log/atop/atop_log should be created

today I installed the atop tool ( before two hours ) in order to trace the OS performance rpm -i atop-2.3.0-8.el7.x86_64.rpm atop -V Version: 2.3.0 - 2017/03/25 09:59:59 <gerlof.langeveld@...
yael's user avatar
  • 12.6k
1 vote
3 answers
952 views

What do "writes / reads issued" refer to in atop's DSK label?

Context: I'm writing a script that calculates a service's I/O usage from atop history for the last 2 minutes (where atop's sampling is configured to be per 1 minute). I'm using the following command ...
Fanatique's user avatar
  • 318
1 vote
0 answers
57 views

Interpreting the signal code from atop raw files

I’ve been looking at atop raw file logging using atop -r -PPRG. All looks good except the exit code field is strange. The last 8 bits are suppose to be the signal number that killed program. It ...
Steve's user avatar
  • 11
0 votes
1 answer
2k views

In `atop`, does MEM (the percentage figure) reflect PSIZE or only RSIZE?

When PSIZE is available, does atop use it to make the MEM figure more useful, or does the MEM figure in atop always reflect RSIZE (RSS)? The manpage seems unhelpful. MEM The occupation ...
sourcejedi's user avatar
  • 48.5k
2 votes
1 answer
835 views

systemd shows as reading 300M in atop?

I just installed atop, waited half an hour, and looked at the logs with atop -r /var/log/atop/atop_20180216. Why does my systemd --user instance show hundreds of megs of disk usage, including tens of ...
sourcejedi's user avatar
  • 48.5k
2 votes
1 answer
4k views

atop peak memory usage from log

I have atop logs stored on a dayly basis with 10 min interval and I can read them with atop -r <path_to_log>, but how can I find a peak memory usage in this log?
mrgloom's user avatar
  • 123
7 votes
9 answers
14k views

Change atop log interval from 10 minutes to 1 minute

I'm having post-mortem atop log on Ubuntu machine, which I'm able to view with atop -r The problem is that log files are shown in 10 minute intervals with t and Shift+t, while I would prefer 1 ...
Estus Flask's user avatar
0 votes
0 answers
112 views

atop - how to check what process locked folder during umount?

I have some software which unmounting folder during it's operation. But for some reason it can't do it. When I trying to umount folder manually (almost in same time) it does work. Can someone let me ...
user3417815's user avatar
9 votes
1 answer
11k views

atop + what is the PAG in the atop

when I run the atop -r /var/log/atop/... I see from the atop screen this PAG | scan 641376 | steal 635209 | stall the PAG is colored with red can someone explain what PAG explain from the atop ...
yael's user avatar
  • 1,521
5 votes
5 answers
20k views

How to configure atop sampling interval & log path?

I installed atop version 1.26 on Ubuntu 12.04 server. By default, its sampling interval is 10 minutes. How can I change to 1 minute? Also, how can I set the log path? Currently the logs are at /var/...
Raptor's user avatar
  • 305
7 votes
1 answer
1k views

Where has my RAM gone & how to interpret atop's memory output?

For a while, I encounter RAM-shortages on my Debian webserver (VPS/virtual machine). This would not be unusual, if they happend on a regular basis. But they do not. Here's a chart from Munin:  &...
BurninLeo's user avatar
  • 633
2 votes
1 answer
3k views

How to get more information about Java processes from atop?

I have several java apps running on a machine and atop only tells me CMD java is there a way to get more information about that process, as I have +20 java in the list and I don´t know which one is ...
user2693017's user avatar
4 votes
3 answers
3k views

Check what process is spiking the average load with atop

In trying to find the culprit of a high load average on a system during night (which does not seem to be related to logrotate) I installed atop to write a raw file with a specific interval. While ...
user135361's user avatar
8 votes
2 answers
5k views

Can I extract the full command line from an atop 1.23 data file?

My production servers have atop version 1.23, and I have a data file written by it from which I need to extract the full command line of a process. Unfortunately: this version of atop won't ...
Flup's user avatar
  • 8,027