Releases: Atoptool/atop
Releases · Atoptool/atop
v2.12.0
Modifications for atop:
- Add PSI bar graphs for CPU, memory and disks.
When viewing bar graphs (keyB
or flag-B
) three bar graphs have been added for processors, disks and memory that show the PSI percentages 'some' (S) and 'full' (F). This provides a clear overview about the pressure on your critical hardware resources on system level.
When Pressure Stall Information (PSI) is not available these bar graphs will not be visible. - Improved handling of raw log files.
Partly written samples will be reverted to guarantee the consistency of the raw log.
When expanding an existing raw log, all headers of the raw log will first be read before expanding the raw log with new samples.
When reading the raw log atop verifies if the sample has been completely written before showing the metrics. - Support of parallel output streams.
Parallel output streams can be specified to allow e.g. viewing the output as bar graphs in a full screen session while writing the samples to a raw log simultaneously for detailed analysis later on (atop -B -w /tmp/rawout
). - Security-related improvements.
Internal function for string copying with consistent null-termination.
More consistent use of boundary limits for string formatting.
Proper verification of command string in argv[0]. - Modified handling of UID/GID.
When a user name or group name is longer than 8 characters the name will not be truncated any more but presented as a number instead.
With the new-I
flag the translation from a UID/GID to a name can be suppressed entirely. This can be useful to view a raw log file from another system (to avoid wrong translations using info from the local system). - Recognize fake NUMA.
In case of fake NUMA (which is used e.g. for Raspberry Pi 5) showing the NUMA-specific metrics is suppressed. Usually this would take two lines for every NUMA node which is a waste of screen lines for fake NUMA systems. - Consistent highlighting of current sort criterium.
- Network interface errors added to output of flags
-P
and-J
. - Branch to end of raw log file by pressing key 'Z'.
- Remove double wrefresh call for memory graph that caused screen flashing in bar graph mode.
- Improved sanity check for number of threads versus number of processes.
- Various other bug solutions.
General:
- The format of the raw file is compatible with version 2.11. Raw files from earlier (incompatible) versions can be converted to the new layout with the atopconvert command.
v2.11.1
v2.11.0
Modifications for atop:
- Cgroups (version 2) support.
Show the hierarchical structure of cgroups and the related metrics with key/option 'G', and define the cgroup depth with the keys/options 2 till 7. Key/option 8 also shows the processes per cgroup level, except the kernel processes in the root cgroup. Key/option 9 shows the related processes per cgroup level including the kernel processes in the root cgroup. With key/option 'C' the output is sorted on CPU consumption (default), with key/option 'M' on memory consumption, and with key/option 'D' (requires root privileges) on disk utilization.
Note: The collection of cgroup information per process is not supported any more. - Twin mode: live measurement with review option.
In twin mode atop spawns into a lower level process that gathers the counters and writes them to a temporary raw file, and an upper level process that reads the counters from the temporary raw file and presents them to the user.
The reading of the upper level process keeps in pace with the written samples of the lower level process for live measurements. However, when pressing the 'r' (reset to measurement begin), the 'b' (branch to time stamp), or the 'T' (previous sample), the upper level process implicitly pauses with the possibility to review previous samples. The 'z' (explicit pause) can also be used to pause the live measurement. When pressing the 'z' again (continue after pause) viewing of the live measurement will be continued. - Various corrections related to JSON output.
- Improved gathering of current CPU frequency.
- Support more than 500 CPUs.
General:
- The format of the raw file is incompatible with previous versions. Raw files from previous versions can be converted to the new layout with the atopconvert command.
v2.10.0
Modifications for atop:
- Additional memory statistics on system level: amount of available memory, amount of memory used for Transparant Huge Pages, amount of memory used by two categories of static huge pages (usually 2MiB and 1GiB), and the number of pages transferred to/from zswap.
- Additional counters for the number of idle threads on system level and process level.
- Refined view of memory bar graph, including free static huge pages.
- Generic way to determine the container id or pod name for containerized processes.
- Support for a BPF-based alternative for the netatop kernel module to gather network statistics per process/thread.
- Use the -z flag followed by a regex to prepend matching environment variables to the full command line that is shown per process (with key 'c').
- Various bugfixes (like memory leak when switching to bar graph mode) and minor improvements.
Modifications for atopsar:
- Bugfix: failing malloc while starting atopsar (unprivileged) for a live measurement.
New program atophide:
- The program atophide can be used to make an extraction from an input raw log to an output raw log, optionally specifying a begin time and/or an end time. The output raw log can be anonymized, i.e. the hostname will be replaced, command names of non-standard commands will be replaced, all command arguments will be wiped, logical volume names will be replaced and NFS mounted volume names will be replaced.
General:
- The format of the raw file is incompatible with previous versions. Raw files from previous versions can be converted to the new layout with the atopconvert command.