Skip to main content
9 votes
Accepted

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

This was the result of a change in kernel version 5.0: block: delete part_round_stats and switch to less precise counting We want to convert to per-cpu in_flight counters. The function ...
sourcejedi's user avatar
  • 53.5k
8 votes

Change atop log interval from 10 minutes to 1 minute

On recent versions the configuration file used by systemd is /usr/share/atop/atop.daily (see /etc/systemd/system/multi-user.target.wants/atop.service). Here you can change the variable INTERVAL and ...
Cavaz's user avatar
  • 181
8 votes

How to configure atop sampling interval & log path?

Edit the file /etc/default/atop SET INTERVAl=60 SET LOGPATH="/ur-desired-path", in this case LOGPATH="/var/log/atop" Restart the atop service systemctl restart atop.service P.S. In Centos 7 I have ...
Moh .S's user avatar
  • 181
6 votes
Accepted

How to completely stop atop from creating logs for good?

atop runs as a systemd service located in /lib/systemd/system/atop.service, and its executable is: ExecStart=/usr/share/atop/atop.daily This atop.daily wrapper file configures the logging of atop , as ...
NetIceCat's user avatar
  • 2,404
6 votes
Accepted

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?

Look at Documentation/sysctl/vm.txt: dirty_ratio Contains, as a percentage of total available memory that contains free pages and reclaimable pages, the number of pages at which a process ...
sourcejedi's user avatar
  • 53.5k
6 votes
Accepted

how auto-rotate atop logs

In RH/CentOS atop is not being regulated by logrotate. In /usr/share/atop/atop.daily there is an example script to deal with atop log file rotation. The script as a find line deleting logs older than ...
Rui F Ribeiro's user avatar
6 votes

How to configure atop sampling interval & log path?

On Ubuntu 18.04 you'd change the file /usr/share/atop/atop.daily and change the line: INTERVAL=600 to: INTERVAL=60 And apply changes: systemctl restart atop
Sergiu Badan's user avatar
6 votes

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

In a newer version there is an interactive command - c that shows the first 256 characters of the command line of the process. To do this you would find the location of your atop logs (eg. /var/log/...
ildar's user avatar
  • 61
4 votes

Change atop log interval from 10 minutes to 1 minute

Try to edit the file /usr/share/atop/atop.daily and change INTERVAL=. Then: service atop restart
Todd Dormann's user avatar
4 votes
Accepted

systemd shows as reading 300M in atop?

[RDDSK / WRDSK] When the kernel maintains standard io statistics (>= 2.6.20): The [read / write] data transfer issued physically on disk (so writing to the disk cache is not accounted for). This ...
sourcejedi's user avatar
  • 53.5k
3 votes
Accepted

Why does atop open a raw socket?

The raw socket is opened only to read information like statistics from the netatop kernel module, using getsockopt() (eww). There is no code to read or write raw packets with this socket. https://...
sourcejedi's user avatar
  • 53.5k
3 votes

Change atop log interval from 10 minutes to 1 minute

I just installed atop 2.4.0 today on CentOS 7. I tried several things to change the interval of the running service, including the accepted answer here but no change to the service status. I ...
Yegolev's user avatar
  • 56
2 votes

Change atop log interval from 10 minutes to 1 minute

The new way to do this is by setting the interval from the environment file that overrides current definitions. EnvironmentFile path will differ from distro to distro, but now you know where to apply ...
amized's user avatar
  • 259
2 votes
Accepted

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

I tested on atop-2.3.0-8.fc27.x86_64. RSIZE, not PSIZE, is used when sorting by memory usage (use the M key), and for the MEM column. RSIZE PSIZE MEM 311.0M 260.2M 4% 303.3M 288.1M 4% 217.6M ...
sourcejedi's user avatar
  • 53.5k
2 votes

Change atop log interval from 10 minutes to 1 minute

For CentOS 7... echo "LOGINTERVAL=60" >> /etc/sysconfig/atop This file is being read by /usr/share/atop/atop.daily, but $LOGINTERVAL variable is used to modify time interval, so that simple ...
feanorknd's user avatar
2 votes
Accepted

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

"System V shared memory" only. This is obsolescent. The most common use is for X Window. Although some X programs could use POSIX shared memory instead. shrss and shswp are obtained (in ...
sourcejedi's user avatar
  • 53.5k
2 votes
Accepted

atop died with exit status 53

It is a bug in atop. When there is a fatal error, it fails to print an error message. I have reported the bug to the atop project. The error was that I happened to run atop after I had changed ...
sourcejedi's user avatar
  • 53.5k
2 votes
Accepted

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

I was pondering over a similar question -- you saw my thread about kswapd and zone watermarks -- and the answer in my case (and probably in yours as well) is memory fragmentation. When memory is ...
Nikolai's user avatar
  • 196
1 vote

atop is not logging daily

Apart from enabling and starting atop as a background process, also atop-rotate.timer has to be enabled to switch logfiles at midnight: systemctl enable --now atop-rotate.timer
Gerlof Langeveld's user avatar
1 vote

Persistent atop across reboots

That's not a feature atop (or any other process monitor I'm aware of) has. It's free and open source, so feel free to add your own functionality: Something would have to save the time to permanent ...
Marcus Müller's user avatar
1 vote

How to completely stop atop from creating logs for good?

On embedded systems such as OrangePi and RaspberryPi, Armbian uses log2ram to place the logs in the ram. /dev/zram0 49M 756K 45M 2% /var/log With /var/log being just a logical copy (...
無名前's user avatar
  • 741
1 vote

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

I am sorry to say that as I know, atopsar is not able to combine several days. Selection the date: You can use -r to directly read one atop-log file. If you need to check yesterday or the day ...
Daniel Andersen's user avatar
1 vote
Accepted

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

You can certainly view the imported atop log file on another machine that runs atop as atop run it's own binary format and each file is a self-contained statistics repository/DB on its own. You may ...
Rui F Ribeiro's user avatar
1 vote
Accepted

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

From man When atop is installed, the script atop.daily is stored in the /etc/atop directory. This scripts takes care that atop is activated every day at midnight to write compressed ...
Siva's user avatar
  • 9,252
1 vote

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

First of all my man atop says: The counters 'number of reads on disk' and 'number of writes on disk' are obsoleted anyhow. atop Version: 2.3.0 - 2017/03/25 09:59:59 From man ...
mikst's user avatar
  • 121
1 vote

Change atop log interval from 10 minutes to 1 minute

For Debian/Proxmox/Ubuntu and Centos 7 the below will do it perfectly. sed -i 's/600/60/' /usr/share/atop/atop.daily systemctl daemon-reload && systemctl restart atop && service atop ...
mike's user avatar
  • 41

Only top scored, non community-wiki answers of a minimum length are eligible