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
68 views

Remote server instance randomly hits 100% CPU when not logged in

I'm running an AWS (micro) instance with very light usage. Most of the time it sticks at around 2-4% CPU, but sometimes usage spikes up to 100% and hangs there until I reboot the instance. Not sure ...
user avatar
1 vote
0 answers
67 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/...
user avatar
  • 11
0 votes
2 answers
2k 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 ...
user avatar
  • 442
1 vote
1 answer
202 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 ...
user avatar
  • 44.5k
0 votes
1 answer
266 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 ...
user avatar
  • 44.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 ...
user avatar
  • 44.5k
8 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 ...
user avatar
  • 44.5k
2 votes
1 answer
2k 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, ...
user avatar
  • 44.5k
0 votes
1 answer
740 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 ...
user avatar
  • 44.5k
1 vote
0 answers
31 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 ...
user avatar
  • 44.5k
1 vote
1 answer
2k 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 ...
user avatar
  • 111
0 votes
1 answer
420 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 ...
user avatar
  • 44.5k
6 votes
1 answer
2k 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 ...
user avatar
  • 44.5k
1 vote
0 answers
578 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 ...
user avatar
  • 44.5k
0 votes
1 answer
1k 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 ...
user avatar
  • 11.1k
2 votes
2 answers
7k 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 ...
user avatar
  • 11.1k
0 votes
1 answer
940 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@...
user avatar
  • 11.1k
1 vote
3 answers
727 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 ...
user avatar
  • 266
1 vote
0 answers
38 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 ...
user avatar
  • 11
0 votes
1 answer
1k 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 ...
user avatar
  • 44.5k
2 votes
1 answer
650 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 ...
user avatar
  • 44.5k
0 votes
1 answer
3k 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?
user avatar
  • 103
7 votes
9 answers
11k 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 ...
user avatar
0 votes
0 answers
84 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 ...
user avatar
8 votes
1 answer
9k 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 ...
user avatar
  • 1,483
4 votes
4 answers
16k 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/...
user avatar
  • 295
7 votes
1 answer
914 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:  &...
user avatar
  • 623
2 votes
1 answer
2k 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 ...
user avatar
3 votes
3 answers
2k 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 ...
user avatar
8 votes
2 answers
4k 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 ...
user avatar
  • 7,687