From d6db8d5217d590bf76a4fcea4e0215f51afa9c21 Mon Sep 17 00:00:00 2001 From: xielh <5604895+xielhxie@user.noreply.gitee.com> Date: Tue, 22 Dec 2020 15:57:31 +0800 Subject: [PATCH 1/4] add new changes of atop v2.6.0 --- v2.6.0.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 v2.6.0.md diff --git a/v2.6.0.md b/v2.6.0.md new file mode 100644 index 0000000..4f86833 --- /dev/null +++ b/v2.6.0.md @@ -0,0 +1,36 @@ +### Modifications for atop: + +Sort threads within process. +Individual threads within a process (key 'y') are shown in the order of their TID. +With the additional key 'Y' threads within a process are sorted based on the current sort criterium. +Show the WCHAN per thread. +With the key 'W' is active, the wait channel is determined per thread and shown with the scheduling information (key 's'). +Show runqueue delay per thread/process. +For every process (cumulated) and every thread the time spent waiting on the runqueue is shown as value 'RDELAY'. +Show other modified/new metrics: +PSI pressure during interval time is shown (system-level general). +Counter 'avio' (average I/O time) for fast disks in microseconds or nanoseconds (system-level disk). +Counter 'zfarc' showing the current size of the ARC (cache) for ZFSonlinux (system-level memory). +Counter 'swcac' showing the current size of the swap cache (system-level swap). +Counter LOCKSZ showing the virtual locked memory size (process-level memory). +Bug fixes: +Prevent race condition in cooperation with atopacctd. +Avoid crash with very high load average values. +Fix errors in reading InfiniBand states. + +### Modifications for atop and atopsar: + +Support of rawlog files spanning multiple days. +The time specification to define the begin time (-b flag) and end time (-e flag) of both atop and atopsar is [YYYYMMDD]hhmm now. +This also applies to the branch key ('b') when using atop interactively. +Support reading rawlog from a pipe. +Rawlog data can be read from a pipe by atop and atopsar with the option '-r -'. In this way, concatenated rawlog data from the command atopcat can be directly processed. + +### New program atopcat: +The program atopcat concatenates rawlog files and writes this data to stdout. +The output can be redirected to a new rawlog file or to atop/atopsar directly via a pipe (see option '-r -' of these commands). +In this way e.g. weekly or monthly reports or extractions can be created. + +### General: + +The format of the raw file is compatible with version 2.5. \ No newline at end of file -- Gitee From e8333061406dd66466048fcdca34a6452e827e3a Mon Sep 17 00:00:00 2001 From: xielh <5604895+xielhxie@user.noreply.gitee.com> Date: Tue, 22 Dec 2020 16:21:53 +0800 Subject: [PATCH 2/4] update atop.spec. --- atop.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/atop.spec b/atop.spec index af8656e..7babdde 100644 --- a/atop.spec +++ b/atop.spec @@ -1,6 +1,6 @@ Name: atop Version: 2.5.0 -Release: 1 +Release: 2 Summary: Advanced System and Process Monitor URL: https://www.atoptool.nl Source0: %{url}/download/%{name}-%{version}.tar.gz @@ -94,5 +94,7 @@ fi %dir /var/log/atop/ %changelog +* Fri Jul 24 2020 ethan848 - 2.5.0-2 +- Add new changes of atop v2.6.0 * Fri Jul 24 2020 ethan848 - 2.5.0-1 - Initial RPM release -- Gitee From 16422867bfd1c5c7b6c930b9cb5a3c35ee1fecd4 Mon Sep 17 00:00:00 2001 From: xielh <5604895+xielhxie@user.noreply.gitee.com> Date: Tue, 22 Dec 2020 16:26:57 +0800 Subject: [PATCH 3/4] update atop.spec. --- atop.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atop.spec b/atop.spec index 7babdde..8f8570a 100644 --- a/atop.spec +++ b/atop.spec @@ -94,7 +94,7 @@ fi %dir /var/log/atop/ %changelog -* Fri Jul 24 2020 ethan848 - 2.5.0-2 +* Tue Dec 22 2020 xielh2000 - 2.5.0-2 - Add new changes of atop v2.6.0 * Fri Jul 24 2020 ethan848 - 2.5.0-1 - Initial RPM release -- Gitee From f86d1536fcda78bcc4255cff2d159008c139d089 Mon Sep 17 00:00:00 2001 From: xielh <5604895+xielhxie@user.noreply.gitee.com> Date: Thu, 24 Dec 2020 10:47:53 +0800 Subject: [PATCH 4/4] atop.spec. --- atop.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/atop.spec b/atop.spec index 8f8570a..af8656e 100644 --- a/atop.spec +++ b/atop.spec @@ -1,6 +1,6 @@ Name: atop Version: 2.5.0 -Release: 2 +Release: 1 Summary: Advanced System and Process Monitor URL: https://www.atoptool.nl Source0: %{url}/download/%{name}-%{version}.tar.gz @@ -94,7 +94,5 @@ fi %dir /var/log/atop/ %changelog -* Tue Dec 22 2020 xielh2000 - 2.5.0-2 -- Add new changes of atop v2.6.0 * Fri Jul 24 2020 ethan848 - 2.5.0-1 - Initial RPM release -- Gitee