commit e530cfd606d3e1a91d306187b28d7a18040e52e6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 27 10:40:27 2024 +0200

    Prepare version 2.11

M	version.h

commit b6da6ce100afee0ba3bd76a2760f0af0db21c46a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 27 10:31:32 2024 +0200

    Explain time stamp in header line (solves issue #313)

M	man/atop.1

commit 846b3f6b4ee538a1d7c4b061209fa6a504484226
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 13 12:14:48 2024 +0200

    Prepare for version 2.11 (also solves issue #308)
    
    Ability to convert log files to version 2.11.
    Also solves issue that network counters were not properly
    converted from 2.7 to 2.8 (and further).

M	atopconvert.c
M	prev/netstats_wrong.h
M	prev/photosyst_210.h
M	rawlog.c

commit dc0b95d54341425d7a28c11fa1b3ba6a156d4846
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 13 12:12:40 2024 +0200

    Prepare for version 2.11

A	prev/cgroups_211.h
A	prev/photoproc_211.h
A	prev/photosyst_211.h

commit 46e44d3dfdee4c6d4fef296984dfde23f2a52bd2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 13 10:45:05 2024 +0200

    Allow /usr to be NFS-mounted (solves issue #307)

M	atop.init
M	atopacct.init

commit 5b7930ce97692b7b68b5478835f13609313de3fc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 13 09:20:18 2024 +0200

    Improve error messages for incompatible logfile

M	rawlog.c

commit de0b0ad27ddb73ce8f830a941c31d1055a728a85
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 13 09:19:18 2024 +0200

    Improve help messages (typo and order)

M	showgeneric.c

commit 75a57b1ac9def1ebc55494f9cba3f9015d77a8b1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 28 14:42:48 2024 +0200

    Solved: bar invisible when reaching maximum height
    
    The maximum number of lines used per graph (like CPU or disk) in bar
    graph mode (key 'B') is 25 lines. Whenever this number of lines is reached,
    the bars that reflect a 100% busy percentage suddenly disappeared due to
    a wrong comparison ('< MAXHEIGHT' instead of '<= MAXHEIGHT').
    Issue solved.

M	drawbar.c
M	showgeneric.h

commit e80711ed309418bd1a99dcdac184bb3e751853e2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jun 18 08:18:07 2024 +0200

    Remove limit of 8 CPUs for frequency scaling stats

M	man/atop.1

commit b08ed21036ba3f06de1f947b42c7bb0da6889240
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 15 21:19:13 2024 +0200

    Allow more than 1024 open files (solves #304)
    
    When atop runs with superuser privileges, it gathers counters about
    executed CPU instructions and CPU cycles via perfevents. For this
    purpose, atop opens two file descriptors per CPU. With the default
    setting of 1024 open files only about 500 CPUs can be supported.
    Atop adapts the required number of open files now to the number of
    CPUs in the system.

M	photosyst.c

commit 58c65a9f28c8302db24bb098c3e19bac734898c4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 15 11:11:28 2024 +0200

    Changed printf specifier to lld for time_t (solves issue #306)

M	parseable.c

commit 37c7505731fef4d3eac63a81f7a759925fa4b508
Merge: 8790b67 1492b59
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 15 10:30:16 2024 +0200

    Merge pull request #291 from natoscott/atop-typos
    
    Remove a man page merge leftover, minor comments typo fixes

commit 8790b67e37dc2ca2f0d23c2f449b414e3a92216b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 15 10:22:10 2024 +0200

    Show '-' instead of '?' when frequency is zero

M	showsys.c

commit 06142eed942bba97bd7be510991c0de400bb6025
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 15 09:44:05 2024 +0200

    Improved gathering of current CPU frequency

M	photosyst.c

commit 43dc6fdacba3795078e64749a0cd995964c92665
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 15 09:43:06 2024 +0200

    Removed free of same buffer twice

M	rawlog.c

commit cd2f08f4378c9010b67e496857c482e4025ae774
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 27 11:52:54 2024 +0200

    Normalize include file names of previous versions

M	atopconvert.c
R100	prev/photoproc_20.h	prev/photoproc_200.h
R100	prev/photoproc_21.h	prev/photoproc_201.h
R100	prev/photoproc_22.h	prev/photoproc_202.h
R100	prev/photoproc_23.h	prev/photoproc_203.h
R100	prev/photoproc_24.h	prev/photoproc_204.h
R100	prev/photoproc_25.h	prev/photoproc_205.h
R100	prev/photoproc_26.h	prev/photoproc_206.h
R100	prev/photoproc_27.h	prev/photoproc_207.h
R100	prev/photoproc_28.h	prev/photoproc_208.h
R100	prev/photoproc_29.h	prev/photoproc_209.h
R100	prev/photosyst_20.h	prev/photosyst_200.h
R100	prev/photosyst_21.h	prev/photosyst_201.h
R100	prev/photosyst_22.h	prev/photosyst_202.h
R100	prev/photosyst_23.h	prev/photosyst_203.h
R100	prev/photosyst_24.h	prev/photosyst_204.h
R100	prev/photosyst_25.h	prev/photosyst_205.h
R100	prev/photosyst_26.h	prev/photosyst_206.h
R100	prev/photosyst_27.h	prev/photosyst_207.h
R100	prev/photosyst_28.h	prev/photosyst_208.h
R100	prev/photosyst_29.h	prev/photosyst_209.h

commit 0d02dee444c072fd67c6e09367062bd3f550b0b4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 27 11:46:36 2024 +0200

    Adapt atophide to cgroup-enhanced raw logs

M	atophide.c
M	rawlog.c
M	rawlog.h

commit 9054c7bcf07c7f87f3b75abdc65af772ce2945c2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 27 10:32:42 2024 +0200

    Adapt atopcat to cgroup-enhanced raw logs

M	atopcat.c
M	man/atopcat.1

commit 840b8772995e4ef17cad45ff6dcb3b164339b0fc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 27 10:32:03 2024 +0200

    Add list with atop-related programs

M	README

commit e1d759de286e71dba62ba1a33cab401266614fc0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Apr 16 13:18:50 2024 +0200

    Accept twin mode and twin directory in rc file

M	atop.c
M	man/atoprc.5
M	showgeneric.c
M	showgeneric.h

commit 575d2c2bbd2cb4b6f190a1ac8423ea518ea60b28
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Apr 16 12:38:16 2024 +0200

    Fix: Avoid that twin file is opened twice

M	rawlog.c

commit 57857a1941019fc32e868b906a99d8d152d05572
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Apr 16 12:22:29 2024 +0200

    Add fields for future expansion

M	cgroups.h
M	photoproc.h
M	photosyst.h

commit 6e65c1fc75c1dd8849746aab8370030e567983fd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Apr 16 12:21:38 2024 +0200

    Cleanup README text

M	README

commit 8b22070c9778011c4a807ee3a2a78756b9a70ede
Merge: 7988ad3 d654fda
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 13 09:45:04 2024 +0200

    Merge pull request #294 from C0rn3j/master
    
    atop[acct|gpu].service: Remove syslog.target

commit 7988ad3cf807c523b257f2fdbb17707219e8b36e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 13 09:36:26 2024 +0200

    Double backslash in string for JSON output (solves #300)

M	cgroups.c
M	cgroups.h
M	json.c
M	parseable.c

commit 67aaf738da787db4f23a5786af5df154a7a36b03
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Apr 12 19:38:37 2024 +0200

    Renamed process name to cmd and removed ()

M	json.c

commit 97f4fcec47acae5602c833e667c84b379c55f77d
Merge: e7986f3 b07f563
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Apr 12 19:27:52 2024 +0200

    Merge pull request #299 from N-Storm/master
    
    Add process name (ps->gen.name) to JSON output

commit b07f56391ce559d83529cc39556ef70efb1eb411
Author: N-Storm <nstorm0.0+github@gmail.com>
Date:   Tue Apr 9 13:04:36 2024 -0400

    Add process name (ps->gen.name) to JSON output of PRC, PRM, PRD, PRN, PRE in accordance with parsable output fields

M	json.c

commit e7986f31724399b82e47e0c0282e2f61db431929
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 6 21:32:36 2024 +0200

    Adapt documentation for twin mode

M	man/atop.1

commit 5c133ce885ea623a050b422f5396eb5d0ccde2f0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 6 21:23:16 2024 +0200

    Adapt messages for twin mode

M	drawbar.c
M	showgeneric.c

commit 6045c6a928b3e5fe997e23946734e262a2c14254
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 6 21:22:53 2024 +0200

    Adapt documentation for twin mode

M	man/atop.1

commit 3e4003259d496cd935463623d335b680a15b1328
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 6 20:25:29 2024 +0200

    Context-specific help text

M	showgeneric.c

commit 146a4baf00913bf395e547473594190da9e8de4f
Merge: 97cbcbf a3a6a3d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 6 17:31:20 2024 +0200

    Merge branch 'twin'

commit a3a6a3d25f547e272b305bdec4336cb05af67b54
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 6 17:18:02 2024 +0200

    Twin mode: live measurement with review option
    
    In twin mode atop spawns into two processes:
    - lower level process that gathers the counters and writes
      them to a temporary raw file, and
    - upper level process that reads the counters from the 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 view previous samples. The 'z' (explicit pause) can also be
    used to pause the live measurement.
    When pressing the 'z' (continue after pause) the live measurement
    will be continued.

M	atop.c
M	atop.h
M	drawbar.c
M	rawlog.c
M	showgeneric.c
M	various.c

commit 97cbcbfb0f9eb57779ad4a645a0db859c24ab7c2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 23 12:41:11 2024 +0100

    Apply process selections to threads as well
    When selections are defined for processes, like particular states,
    the selection should also be valid for threads in case of thread view
    (with key 'y').
    For state selection the side effect is that a process (i.e. the main
    thread) might have state 'S' while one of the (other) threads of this
    process has state 'R'. When selecting state 'R' the process with state
    'S' is shown as well because one of its threads has state 'R'.
    Solves issues #290 and #296.

M	showgeneric.c

commit 17fa0054b50b8bb8af4fe1d6509559ff82998323
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Mar 4 23:50:05 2024 +0100

    Support 8 exabytes as maximum size for long long (2^63)

M	atop.h
M	various.c

commit d654fda875d15603cfacd0e31c3fba1ee775e4f3
Author: Martin Rys <martin@rys.pw>
Date:   Sun Mar 3 12:52:36 2024 +0100

    atop[acct|gpu].service: Remove syslog.target

M	atopacct.service
M	atopgpu.service

commit 35c26b66450b950b71b0021349b4e06551e3295e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 2 13:12:08 2024 +0100

    Modified README for cgroup awareness

M	README.md

commit 21de2a33a59b677774d6b8fe58c08e30fbcd586e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 2 13:00:19 2024 +0100

    Add cpu, memory and io pressure percentages for cgroups

M	cgroups.c
M	cgroups.h
M	json.c
M	man/atop.1
M	parseable.c
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 09d1aa9b464ed3b0e1f11e3dbd684daa2cf0baeb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Mar 1 13:08:04 2024 +0100

    Improved tree representation for cgroups

M	cgroups.c
M	cgroups.h
M	showprocs.c

commit eec97d53d3ed1c2cba036b90e4c7bd2409658080
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Feb 26 19:24:46 2024 +0100

    Allow cross building of atop (solves issue #293)

M	Makefile

commit 3978cc2865abd84590bf90597f8968877dd22a99
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Feb 23 08:31:13 2024 +0100

    Implement cgroups support -- step 4 (issue #292)
    Add cgroups support to the documentation (man pages).

M	man/atop.1

commit 2803641658c92ca00972c0e6e3b8254334173918
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Feb 23 08:13:01 2024 +0100

    Solved segmentation fault on systems with cgroups v1

M	parseable.c

commit 24fa6848c6c9eca7cb8dfb8a11464a3d5ddf2183
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Feb 20 23:16:37 2024 +0100

    Complete cgroups values on process level (compatibility)

M	cgroups.c
M	cgroups.h
M	json.c
M	parseable.c
M	photoproc.c
M	photoproc.h

commit a4a6bff3c4932bd120065e69edcb57058ad52e5a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Feb 19 12:32:10 2024 +0100

    Solve segmentation fault for parsable/json output

M	cgroups.c
M	cgroups.h
M	json.c
M	parseable.c

commit d2a10ef03cd2a3a0d11f31df1969022b87f2fd23
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 17 13:33:05 2024 +0100

    Implement cgroups support -- step 3 (issue #292)
    Introduce new label 'CGR' for parsable output and
    JSON output. When using this label, metrics are printed
    about each cgroup accompanied by the list of PIDs
    related to the cgroup. In case of parsable output,
    the PIDs are passed in an additional output line
    with marker 'P'.

M	atopsar.c
M	cgroups.h
M	json.c
M	parseable.c

commit 1146a3ebd71721ac910b7a052d704578937545ef
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 17 11:38:46 2024 +0100

    Implement cgroups support -- step 2 (issue #292)
    Store cgroups metrics and related PID list in a raw file
    and retrieve/rebuild the cgroups structures from a raw file.

M	atop.c
M	atop.h
M	atopsar.c
M	cgroups.c
M	cgroups.h
M	json.c
M	json.h
M	parseable.c
M	parseable.h
M	photoproc.h
M	rawlog.c
M	rawlog.h
M	showgeneric.c
M	showprocs.c

commit 4d617da126001d0e00919cd825533dabb611ffea
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Feb 13 11:01:35 2024 +0100

    Added disk I/O metrics per cgroup (step 1 issue #292)

M	atop.c
M	cgroups.c
M	cgroups.h
M	photosyst.c
M	photosyst.h
M	showgeneric.c
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 62d982d9abdd187dea4e5cf5c74ed11ad7ac71ad
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Feb 11 22:48:27 2024 +0100

    Improved memory figures for cgroups (step 1)

M	cgroups.c
M	cgroups.h
M	showprocs.c

commit 774c24d4ed01639d4b277f94925c741a117970b8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 10 12:51:29 2024 +0100

    Implement cgroups support -- step 1 (issue #292)
    Reimplement cgroups support by showing the hierarchical structure
    of cgroups and the related metrics with key/option 'G'.
    With the keys/options 2 till 7 the level depth can be chosen
    (7 is default). Key/option 8 also shows related active processes,
    except the kernel processes (usually in the root cgroup).
    Key/option 9 shows all active processes.
    With key/option 'a' all cgroups and processes are shown instead
    of only the active cgroups and processes.
    With key/option 'C' the output is ssorted on CPU consumption
    (default) while with key/option 'M' the output is sorted on
    memory consumption.

M	Makefile
M	atop.c
M	atop.h
M	atopsar.c
A	cgroups.c
A	cgroups.h
M	deviate.c
M	drawbar.c
M	json.c
M	json.h
M	man/atop.1
M	man/atoprc.5
M	parseable.c
M	parseable.h
M	photoproc.c
M	photoproc.h
M	photosyst.c
M	rawlog.c
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 1492b594640ad9daa67c6b7c049ede90d074832f
Author: Nathan Scott <nathans@redhat.com>
Date:   Thu Feb 1 19:28:12 2024 +1100

    Remove a man page merge leftover, minor comments typo fixes

M	man/atop.1
M	photoproc.c
M	utsnames.c

commit 326e82c03d0d9e60ae9591d3aa7ff6536628b3d1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jan 4 10:56:08 2024 +0100

    Prepare for atop 2.10

M	AUTHORS
M	Makefile
M	atopconvert.c
M	man/atop.1
M	man/atopacctd.8
M	man/atopcat.1
M	man/atopconvert.1
M	man/atopgpud.8
M	man/atophide.1
M	man/atoprc.5
M	man/atopsar.1
M	photoproc.h
M	prev/netstats_wrong.h
A	prev/photoproc_210.h
M	prev/photosyst_20.h
M	prev/photosyst_21.h
A	prev/photosyst_210.h
M	prev/photosyst_22.h
M	prev/photosyst_23.h
M	prev/photosyst_24.h
M	prev/photosyst_25.h
M	prev/photosyst_26.h
M	prev/photosyst_27.h
M	prev/photosyst_28.h
M	prev/photosyst_29.h
M	version.h

commit ba78f4c29be88827a28f2613353322b5bda7bacc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jan 3 13:09:38 2024 +0100

    Solve errors/warnings given by clang (issue #282)

M	atopsar.c
M	drawbar.c
M	photoproc.c
M	photosyst.h
M	utsnames.c
M	various.c

commit e6f66819337a824cf6562ac0b0fe0c5ce4c9f6a2
Merge: db78190 e379890
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 30 12:24:56 2023 +0100

    Merge branch 'ton31337-fix/cgroup2_handling'

commit e379890511816dd2f17c64d01cb5ed5d4f2ee3d9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 30 12:22:42 2023 +0100

    Code improvements for cgroupv2 handling
    - removed uninitalized variable 'ret'
    - added break to while (fgets) loop to avoid unnecessary reading

M	photoproc.c

commit 9f681404798f51c4bfbf2439584eb9eee09b8ce7
Merge: db78190 fc4dc01
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 30 11:38:24 2023 +0100

    Merge branch 'fix/cgroup2_handling' of github.com:ton31337/atop into ton31337-fix/cgroup2_handling

commit db78190be28254698d9e6da397924470159e372c
Merge: d924b10 29e5c7a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 30 11:35:03 2023 +0100

    Merge pull request #285 from ton31337/fix/add_cgroup_name
    
    json: Print cgroups'a name when using -J and the label

commit d924b101c5cf63a76434a88bb30c0e561a289c0a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 30 10:51:42 2023 +0100

    Added parsable and json output related to #287

M	json.c
M	man/atop.1
M	parseable.c

commit 0cc44f948abf77be4b0f9b44ce296eb0e0d4bed4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 30 10:43:22 2023 +0100

    Solved compilation error related to #287

M	showsys.c

commit 1a69462816845e55cd570ed007e49ffc6a4d3715
Merge: 14cfdc0 c46351a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 30 10:30:56 2023 +0100

    Merge pull request #287 from bytedance/numa_hpuse
    
    add hpuse for per numa

commit c46351a1dec702b105f2cd786b9c1ea42c521820
Author: Ting Liu <liuting.0xffff@bytedance.com>
Date:   Thu Dec 7 16:36:02 2023 +0800

    add hpuse for per numa

M	deviate.c
M	man/atop.1
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 14cfdc02343693b09ccfe3b2a10cb6544aaa04fa
Merge: 2ae4cbe 69f8b3b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 2 12:05:47 2023 +0100

    Merge branch 'bytedance-add-TCPInCsumErrors'

commit 69f8b3b34e60aca0acee4d6c00fa07d2417b4707
Merge: 2ae4cbe 0db6e63
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 2 12:03:58 2023 +0100

    Merge branch 'add-TCPInCsumErrors' of github.com:bytedance/atop into bytedance-add-TCPInCsumErrors

commit 2ae4cbe21b3dd9d4f1b9b971a5946172ae877bb7
Merge: 244f4b9 442181e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 2 10:50:57 2023 +0100

    Merge pull request #252 from bytedance/always-create-logpath
    
    Fix atop.service & atop.daily: always create $LOGPATH

commit 244f4b99765b275ba563b757f875f46dfc524490
Merge: e2adfa9 808442f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 25 11:02:01 2023 +0100

    Merge pull request #283 from kappa/master
    
    Replace non-standard "ushort" type with "unsigned short"

commit e2adfa986d3d82be783bd6a9467ee0cf81722f8f
Merge: 3512fa1 d9844ad
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 25 10:56:45 2023 +0100

    Merge pull request #281 from natoscott/fix-infiniband-sigfpe
    
    Avoid floating point exception with inactive Infiniband interfaces

commit 3512fa1e8d5255850fe0e86769954bc86cf27ef2
Merge: eb77182 03c5c4d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 25 10:55:05 2023 +0100

    Merge pull request #280 from ffontaine/master
    
    atop.h: include time.h

commit eb771824a0bfe52d54e633763d48b928c8c144d9
Merge: 8cadc35 062accb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 25 10:49:16 2023 +0100

    Merge branch 'bytedance-anonHugepages'

commit 062accb1af91680c0247b8a65eb86d7d760ba2cd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 25 10:47:52 2023 +0100

    Add anonymous THP to parsable and JSON output

M	json.c
M	man/atop.1
M	parseable.c

commit f1c06c98d000f5d90960ebcf761f474382f1c818
Merge: 8cadc35 55191a1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 25 10:28:33 2023 +0100

    Merge branch 'anonHugepages' of github.com:bytedance/atop into bytedance-anonHugepages
    
    Conflicts:
            deviate.c
            photosyst.h
            showlinux.c

commit 29e5c7a1473efe0d550d34cd62c1a8bc761a95f2
Author: Donatas Abraitis <donatas@opensourcerouting.org>
Date:   Thu Nov 23 14:30:07 2023 +0200

    json: Add cgroup into PRC, PRM outputs
    
    Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>

M	json.c

commit 75ed3f98e44046941b3209e672029beac1d3059f
Author: Donatas Abraitis <donatas@opensourcerouting.org>
Date:   Thu Nov 23 11:28:18 2023 +0200

    json: Print cgroups'a name when using -J and the label
    
    Before:
    
    ```
    % atop -X -J PRG 1 | jq
    {
          "pid": 514432,
          "name": "(php-fpm8.2)",
          "state": "E",
          "ruid": 69963,
          "rgid": 69963,
          "tgid": 514432,
          "nthr": 1,
          "st": "-E",
          "exitcode": 0,
          "btime": "1700730621",
          "cmdline": "(php-fpm: pool www                                          )",
          "ppid": 514430,
          "nthrrun": 0,
          "nthrslpi": 0,
          "nthrslpu": 0,
          "nthridle": 0,
          "euid": 0,
          "egid": 0,
          "elaps": "1299",
          "isproc": 1,
          "cid": "-"
        },
    ```
    
    After:
    ```
        {
          "pid": 526057,
          "name": "(php-fpm8.2)",
          "state": "S",
          "ruid": 70019,
          "rgid": 70019,
          "tgid": 526057,
          "nthr": 1,
          "st": "-E",
          "exitcode": 0,
          "btime": "1700731393",
          "cmdline": "(php-fpm: master process (/etc/php-fpm/php-fpm.conf)        )",
          "ppid": 1,
          "nthrrun": 0,
          "nthrslpi": 1,
          "nthrslpu": 0,
          "nthridle": 0,
          "euid": 70019,
          "egid": 70019,
          "elaps": "0",
          "isproc": 1,
          "cid": "-",
          "cgroup": "/u000000096"
        },
    ```
    
    Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>

M	json.c

commit fc4dc01ea05aac3176fe3929dc58911f1740dc86
Author: Donatas Abraitis <donatas@opensourcerouting.org>
Date:   Thu Nov 23 10:37:47 2023 +0200

    cgroups: Handle cgroups2 support more granularly
    
    If you have a system mounted with both cgroupsv1, and cgroupsv2, you have something like:
    
    ```
    % cat /proc/1/cgroup
    13:perf_event:/
    12:memory:/init.scope
    11:rdma:/
    10:pids:/init.scope
    9:misc:/
    8:cpu,cpuacct:/init.scope
    7:cpuset:/
    6:freezer:/
    5:net_cls,net_prio:/
    4:hugetlb:/
    3:blkio:/init.scope
    2:devices:/init.scope
    1:name=systemd:/init.scope
    0::/init.scope
    ```
    
    With some systems you might have like this:
    
    ```
    % cat /proc/1/cgroup
    1:name=systemd:/
    0::/init.scope
    ```
    
    In both cases cgroupsv2 is activated and working fine.
    
    Let's relax a bit the check and parse the whole file for "0::" pattern instead
    of just relying on the first line (which is wrong at some cases).
    
    With patched version running `./atop -X`:
    
    ```
        PID          CPUWGT          CPUMAX          CPUMAXR          MEMMAX          MMMAXR          SWPMAX          SWMAXR            CPU          CMD                     CGROUP (horizontal scroll: <- and ->)  1/11
     481069             100             max             400%               -             max               -             max             7%          php-fpm8.2              /u00000000d
     481042             100             max             400%               -             max               -             max             6%          php-fpm8.2              /u00000000f
     481159             100             max             400%               -             max               -             max             6%          php-fpm8.2              /u00000000c
    ```
    
    Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>

M	photoproc.c

commit 808442f87e25010f1322d5358bd45fa3176a6c08
Author: Alex Kapranoff <kappa@fb.com>
Date:   Tue Nov 21 15:03:32 2023 -0800

    Replace non-standard "ushort" type with "unsigned short"
    
    "ushort" is a typedef provided for System V compatibility in "sys/types.h" by *most* Linux toolchains.
    Android sys/types.h does not have it.
    
    All other parts of Atop use the standard "unsigned short" type.
    
    There are no downsides to the change and the upside is better compatibility by following the standard.

M	acctproc.c

commit 8cadc3540deeda885713df6b23e6bcd114225c43
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Nov 15 20:24:35 2023 +0100

    Introduce MemAvailable value in JSON output

M	deviate.c
M	json.c
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showsys.c

commit 852160686ae86bb9fae9c66494b89b329b9e2f4f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Nov 14 21:37:55 2023 +0100

    Introduce MemAvailable value in MEM line

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 73d85077bf1e73a4117364735ef2f76134350504
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Nov 7 13:02:40 2023 +0100

    Proper treatment of option R for PSIZE calculation

M	atop.c
M	atop.h
M	showgeneric.c
M	various.c

commit 6522982bce9d1b8e599aa16736cd960866fb1691
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Nov 7 13:01:40 2023 +0100

    Installation of atophide

M	Makefile
M	rpmspec/atop.specsystemd

commit 3f2be0a7a2558989966fdfb0d692ded662e0425d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Nov 7 09:08:59 2023 +0100

    Verify if atop runs privileged for options d, j and J

M	showgeneric.c

commit d9844adb4f70f660a4581cb02621ea60f4d53ef1
Author: Nathan Scott <nathans@redhat.com>
Date:   Mon Oct 30 17:21:14 2023 +1100

    Avoid floating point exception with inactive Infiniband interfaces (solves issue #279)

M	showlinux.c

commit 03c5c4dd29bc7590baccb55a36d61e7f4b39c1fe
Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date:   Sun Oct 29 18:56:35 2023 +0100

    atop.h: include time.h
    
    Include time.h to avoid the following build failure with musl:
    
    atop.h:157:1: error: unknown type name 'time_t'
      157 | time_t          normalize_epoch(time_t, long);
          | ^~~~~~
    atop.h:157:1: note: 'time_t' is defined in header '<time.h>'; did you forget to '#include <time.h>'?
    atop.h:157:40: error: expected ')' before 'long'
      157 | time_t          normalize_epoch(time_t, long);
          |                                        ^~~~~
          |                                        )
    
    Fixes:
     - http://autobuild.buildroot.org/results/e7ec8d16f2299320f374a0198c8e9b18a102b037
    
    Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

M	atop.h

commit 879a61a8f9c4c302a49bacebebf01a5a67f80d0d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 28 11:10:13 2023 +0200

    Do not start atop services during install (issue #199)

M	rpmspec/atop.specsystemd

commit 2ed621507a299d8ad6b71c8872d7ee5c3439e94e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 28 10:57:30 2023 +0200

    Rename legacy path /var/run to /run

M	atopacct.init
M	atopacct.service
M	atopacctd.c
M	atopacctd.h
M	netatop.h
M	netatopd.h

commit f72f7c06278ec9ad2209975eca67c2e3c0b3a44b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Oct 6 20:06:16 2023 +0200

    Avoid floating point exception when atopacctd fails (solves issue #277)

M	acctproc.c

commit f5ed1bc7a028937736d48031e6b51df3157eb86f
Merge: 5d4ff7c 73db5c1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Oct 1 10:59:49 2023 +0200

    Merge branch 'bytedance-bytedance/support-seconds'

commit 73db5c149cbba18516fb72743e06913b618542d6
Merge: 5d4ff7c ab7fc7d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Oct 1 10:58:42 2023 +0200

    Merge branch 'bytedance/support-seconds' of github.com:bytedance/atop into bytedance-bytedance/support-seconds

commit 5d4ff7c7f3b88c910e60bdf6d75eb9019486d7e0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Sep 1 16:34:46 2023 +0200

    Add references to netatop-bpf in documentation and code

M	README
M	README.md
M	man/atop.1
M	showgeneric.c

commit 00d79f6636cde7742df29ca04596d6feb474c6c6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 29 14:21:56 2023 +0200

    Bug solution: convert shmrssreal to pages before use

M	drawbar.c

commit b332ffc79b41317111b18018ac37f800a0578658
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 29 14:18:29 2023 +0200

    Consider hostname localhost not as a container

M	utsnames.c

commit be0d24df6a187fb761f4043321597871373ab969
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 29 12:47:37 2023 +0200

    Determine container id or pod name for containerized processes
    Get the hostname related to a containerized process in a uniform
    way, no matter if the process is activated by Docker, Podman or
    Kubernetes (containerd). For this purpose atop temporarily connects
    to the UTS namespace of a process whenever such process deviates from
    the UTS namespace of systemd (PID 1). This specific hostname in general
    is the container ID (e.g. for Docker and Podman) or pod name (e.g. for
    Kubernetes).
    This new code replaces the code that determined the container ID by
    manipulating the cgroup path names of containerized processes.

M	Makefile
M	atop.h
M	deviate.c
M	drawbar.c
M	json.c
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	rawlog.c
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showprocs.c
A	utsnames.c

commit 5a4053c3e1b98a12abed9e21856c95001b19e945
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 19 13:09:05 2023 +0200

    Flag -z: abbreviate environment vars that are too long

M	man/atop.1
M	photoproc.c

commit 34cc726d34f3be2b25b1ee6ff63d03188cf129fd
Merge: 0d6288e 99e625e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 19 11:31:45 2023 +0200

    Merge branch 'jbd-env'

commit 99e625e17de7eb36f316dc28b5b82b15d4a2d009
Merge: 0d6288e 20c535e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 19 11:29:02 2023 +0200

    Merge branch 'env' of github.com:jbd/atop into jbd-env
    Minor cleanup of the source code.

commit 0d6288e5dd3f76656de0d5bfab282f9f5aa2bde0
Merge: 8596f31 7d1c32a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 19 09:46:41 2023 +0200

    Merge pull request #275 from pizhenwei/oom-adj
    
    Use -999 as OOM adj

commit 7d1c32a3ce69be87689de763777ad78b9b54e8fe
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Wed Aug 9 11:23:48 2023 +0800

    Use -999 as OOM adj
    
    The atop deployment usually follows the rules:
    - atop MUST NOT exceed the cgroup resource limitations
    - atop has a higher priority on OOM
    
    OOM_SCORE_ADJ_MIN(-1000) is a magic number which could *not* be killed
    by memory cgroup, this breaks the rules.
    
    Detail of OOM_SCORE_ADJ_MIN, see linux/mm/oom_kill.c
    /*
     * Kill provided task unless it's secured by setting
     * oom_score_adj to OOM_SCORE_ADJ_MIN.
     */
    static int oom_kill_memcg_member(struct task_struct *task, void *message)
    {
            if (task->signal->oom_score_adj != OOM_SCORE_ADJ_MIN &&
                !is_global_init(task)) {
                    get_task_struct(task);
                    __oom_kill_process(task, message);
            }
            return 0;
    }
    
    Use -999 instead of -1000 as atop default OOM adj.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	various.c

commit 8596f31d3c23b7ed7039213c805131ed908c43c5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 5 13:22:45 2023 +0200

    Keep track of larger huge pages as well
    
    In /proc/meminfo only metrics can be found about the smallest
    category of huge pages (e.g. 2MiB). With this modification atop
    also keeps track of the larger category of huge pages (e.g. 1GiB).

M	deviate.c
M	drawbar.c
M	json.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showsys.c

commit 0f6202808f4d59ad12240cba8479afe642dd01e8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Aug 3 12:26:15 2023 +0200

    Improved calculation of memory graph, including huge pages

M	drawbar.c
M	man/atop.1
M	showgeneric.h

commit d81e560489f35796bc1476d2258a9eb560da1dd1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Aug 2 12:28:26 2023 +0200

    Introduce zswap counters zswin and zswout

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 30226b9dcc0d2224c48eb875ce2877de46a648fc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jul 31 20:48:12 2023 +0200

    Added glib2 dependency

M	README

commit 010f7d96a972473d4ae45075196b44d01ca6f6da
Merge: 2d4c7b7 b1ac229
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Jul 30 18:26:25 2023 +0200

    Merge branch 'bytedance-netatop-bpf2'

commit b1ac2294aa1a8b4f9310b2d43f8472818be93d26
Merge: 2d4c7b7 8431894
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 15 11:54:30 2023 +0200

    Add netatop-bpf interface

commit 2d4c7b73fd044c9c571a3a927ef3924f6844b438
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 15 10:03:28 2023 +0200

    Copy (part of) raw log to new raw log and optionally anonymize the data
    This program copies an input raw logfile to an output raw logfile,
    while offering the possibility to select a subset of the samples
    (begin time and/or end time). Optionally the samples can be anonymized
    (subsitute command names, the host name, logical volume names,
    etcetera by place holders, and wipe the command line arguments).

M	.gitignore
M	Makefile
A	atophide.c
M	man/atop.1
M	man/atopcat.1
M	man/atopconvert.1
A	man/atophide.1
M	man/atopsar.1

commit a8dd8064ad94f0de972064071b73f2a7b52ea843
Merge: 3dbb435 089d0be
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 15 09:56:26 2023 +0200

    Merge pull request #265 from bytedance/delay_container
    
    add RDELAY/BDELAY for container

commit 3dbb4357975abea919605f9b4541d6053ed9bfd1
Merge: 7c75e49 5820273
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 8 12:14:12 2023 +0200

    Merge pull request #268 from bytedance/exitproc_cid
    
    Exited process copy pre cid

commit 7c75e4976eabb105ba591bd5f5d48163e626be3d
Merge: 35330bc 4e0c147
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 8 12:10:26 2023 +0200

    Merge pull request #269 from natoscott/bargraph-memleak
    
    Resolve a memory leak when switching to bar graph mode (covscan)

commit 35330bc5c2aa74beaa6bbb2dc8a34f6fed7aaa64
Merge: c68e3f0 daf993e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 8 11:51:32 2023 +0200

    Merge pull request #267 from natoscott/drawbar-tidyup
    
    Ensure correct type format specifiers used in ptrverify calls.

commit c68e3f054e5e9f9a9024b4e1dc00e0f776886efc
Merge: 74f64d0 799598f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 8 11:48:33 2023 +0200

    Merge pull request #266 from Zugschlus/20230702-atoprc.5-typo
    
    Fix typo "upto" in atoprc.5

commit 4e0c147f681d2decbc220a538010173b4be86f84
Author: Nathan Scott <nathans@redhat.com>
Date:   Thu Jul 6 13:48:24 2023 +1000

    Resolve a memory leak when switching to bar graph mode (covscan)
    
    Tackles the following covscan issue in a MBARGRAPH switch case:
    >>>     CID 394863:  Resource leaks  (RESOURCE_LEAK)
    >>>     Variable "curlist" going out of scope leaks the storage it points to.

M	showgeneric.c

commit 089d0be024657f42c8075668cda27f5b238fc84d
Author: liutingjieni <liuting.0xffff@bytedance.com>
Date:   Thu Jun 29 17:10:42 2023 +0800

    add RDELAY/BDELAY for container

M	showgeneric.c
M	showlinux.c

commit 5820273091480c65d57e024c4f22e28daef373f4
Author: liuting.0xffff <liuting.0xffff@bytedance.com>
Date:   Wed Jul 5 16:06:21 2023 +0800

    Exited process copy pre cid

M	deviate.c

commit daf993ec47140608dab3c50d8391663531b070fe
Author: Nathan Scott <nathans@redhat.com>
Date:   Wed Jul 5 09:49:47 2023 +1000

    Ensure correct type format specifiers used in ptrverify calls.
    
    These issues were detected by the CodeQL static analysis tool
    ( https://github.com/github/codeql-action#readme )
    
    Also improved wording in some strings - the word 'failed' was
    duplicated accidentally in a few places.

M	drawbar.c

commit 8431894461e563b39405a3d68e42db713853690b
Author: liuting.0xffff <liuting.0xffff@bytedance.com>
Date:   Mon Jul 3 17:09:16 2023 +0800

    add NETATOPBPF flag to check

M	showgeneric.c
M	showlinux.c

commit 799598f083801cd0a1d604e011d2c0d0de3ed736
Author: Marc 'Zugschlus' Haber <mh+github@zugschlus.de>
Date:   Sun Jul 2 16:38:04 2023 +0200

    Fix typo "upto" in atoprc.5

M	man/atoprc.5

commit 74f64d00989d85de3a88643b25a5c8f9428830f1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 1 23:25:25 2023 +0200

    Add option -Wformat-security during compilation

M	Makefile

commit 8f79c7f8f065cd99e828d66e00ba3210d419ba8e
Author: liuting.0xffff <liuting.0xffff@bytedance.com>
Date:   Wed Jun 28 20:46:38 2023 +0800

    supplement netatop-bpf

M	Makefile
M	atop.c
M	atop.h
M	deviate.c
M	netatop.h
A	netatopbpfif.c
M	photoproc.c
M	showgeneric.c
M	showprocs.c

commit f20faddb34c25f5e8a5a9bcb40f9d351c30d3f60
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 10 17:53:20 2023 +0200

    Solve malloc failure when starting atopsar for live measurement
    Only lock memory when the memory limit was successfully set
    to unlimited.

M	atopsar.c

commit 573cba4175fe87c9d803b4a8c95abb96b8d98706
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 10 14:13:02 2023 +0200

    Introduce separate counter for idle threads (solves #256)
    A separate counter will be maintained on system level and
    on process level for the number of idle threads (uninterruptible
    sleeping threads that do not count in the load average).

M	atopsar.c
M	deviate.c
M	json.c
M	man/atop.1
M	man/atopsar.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	rawlog.c
M	rawlog.h
M	showlinux.c
M	showlinux.h
M	showprocs.c
M	showsys.c

commit 321823f59094c000822acf7b9481ebd29e144495
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 10 11:50:33 2023 +0200

    Minor update in CMD description

M	man/atop.1

commit c47f9652149aed89c5c643c2841cc0ae34d8fc8a
Merge: 13a4178 f2fcee5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 10 11:44:32 2023 +0200

    Merge pull request #259 from bytedance/CMD_change
    
    fix man/atop.1: exited processes CMD may be changed

commit 13a4178d1e00d429e56d2ff3334162933c320b9f
Merge: c243536 957ff64
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 10 11:39:34 2023 +0200

    Merge pull request #262 from BlackIkeEagle/fix-format-security
    
    Fix drawbar mvwprintw format-security error

commit 957ff648436fa4a6f08ad9a8c5ea856a5f33ef5b
Author: BlackEagle <ike.devolder@gmail.com>
Date:   Fri Jun 2 19:49:51 2023 +0200

    Fix drawbar mvwprintw format-security error
    
    When building with `-Werror=format-security` there are some issues with
    the use of mvwprintw in drawbar.c
    
    ```
    export CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
            -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
            -fstack-clash-protection -fcf-protection"
    
    make
    ...
    cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -O2 -I. -Wall -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations    -c -o drawbar.o drawbar.c
    drawbar.c: In function ‘drawevent’:
    drawbar.c:2058:9: error: format not a string literal and no format arguments [-Werror=format-security]
     2058 |         mvwprintw(w->win, line, column, text);
          |         ^~~~~~~~~
    drawbar.c: In function ‘headergetch’:
    drawbar.c:2108:17: error: format not a string literal and no format arguments [-Werror=format-security]
     2108 |                 mvwprintw(headwin, 0, statcol, statusmsg);
          |                 ^~~~~~~~~
    drawbar.c: In function ‘getwininput’:
    drawbar.c:2331:9: error: format not a string literal and no format arguments [-Werror=format-security]
     2331 |         mvwprintw(mywin, 1, 1, prompt);
          |         ^~~~~~~~~
    cc1: some warnings being treated as errors
    make: *** [<builtin>: drawbar.o] Error 1
    ```
    
    By explicitly adding the format `"%s"` this error is fixed.
    
    Signed-off-by: BlackEagle <ike.devolder@gmail.com>

M	drawbar.c

commit c2435367a2a96436aaaa21c2135c164b2b591f02
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri May 26 16:03:51 2023 +0200

    Bug solution: not possible to switch directly from bar mode to command args

M	showgeneric.c

commit 55191a108f420bbae28dcec310a4f75dc7448463
Author: liutingjieni <liuting.0xffff@bytedance.com>
Date:   Tue May 16 16:37:30 2023 +0800

    supplement AnonHugepages memory consumption

M	deviate.c
M	man/atop.1
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit a1caeadc179ecde015fa60ad43f06e33b0acec3e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 13 10:49:21 2023 +0200

    Prepare version atop 2.9.0

M	version.h

commit db3454393c07f73462df89d39e722fb1d82e5609
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 13 10:17:41 2023 +0200

    Prepare for atop 2.9

M	atopconvert.c
A	prev/photoproc_29.h
A	prev/photosyst_29.h

commit fab95e9104a08ff23ab73f3490d63bdaa36094e7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 13 10:16:56 2023 +0200

    Avoid compiler warning by limiting PSI average

M	showsys.c

commit f2fcee5ba1a8cd8b5d2fc35692e4a6f441462e53
Author: Ting Liu <liuting.0xffff@bytedance.com>
Date:   Tue Apr 18 17:07:12 2023 +0800

    fix man/atop.1: exited processes CMD may be changed

M	man/atop.1

commit 6a5dc86e2db59c8cfa954a6738c50b6d03b1a1dc
Merge: 6423e5d e5f9489
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun May 7 16:55:30 2023 +0200

    Merge pull request #258 from bytedance/PAG_STEAL
    
    add man for PAG steal

commit 6423e5d0276de2da3c794839996a5b5489ada60c
Merge: 0e0a4f5 1e10331
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun May 7 16:49:45 2023 +0200

    Merge branch 'bytedance-atopacct_fail'

commit 1e10331add3ffb94f43e017835a4943c99865462
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun May 7 16:47:47 2023 +0200

    Install cleanup function to avoid termination of parent process

M	atopacctd.c

commit e5f9489fba326d3db9ff914bc9972afef0ccca74
Author: liutingjieni <liuting.0xffff@bytedance.com>
Date:   Sat May 6 11:52:00 2023 +0800

    add man for PAG steal

M	man/atop.1

commit ef4eaba7aefcf166e869ffd474ef61bb2ef765f6
Merge: 0e0a4f5 22bebc9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 29 23:04:59 2023 +0200

    Merge branch 'atopacct_fail' of github.com:bytedance/atop into bytedance-atopacct_fail

commit 0e0a4f5af9bb9c6a66388add69161d5aa9caabeb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 29 10:07:07 2023 +0200

    Oomkills event should not remain orange after boot values

M	drawbar.c

commit 9517b682ff6729a4e7d810720ea7ba2a0b20e8a2
Merge: 967a629 a8082ea
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Apr 28 15:57:42 2023 +0200

    Merge pull request #249 from natoscott/fix-warnings
    
    Resolve compiler warnings from latest versions of GCC

commit 967a629645eb7170af6b6dac155b8abfc3439271
Merge: 75f8e14 8d18a52
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Apr 28 15:52:02 2023 +0200

    Merge pull request #246 from Algebra970/clean-versdate
    
    Added versdate.h to make clean target

commit 75f8e144fcf2790959811e8a746d2f11f9d50cfb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Apr 23 22:22:38 2023 +0200

    Clarified atop man page

M	man/atop.1

commit 2dd526cb1ac6ba5f0e23cf7bcb27083aa4bc2b6e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Apr 23 12:15:42 2023 +0200

    Closing bracket missing in synopsis

M	man/atop.1

commit dd16cc037c1dc2d24b721d5f3186a2ac5a4870c2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 22 12:24:25 2023 +0200

    Add highlight concerning bar graph mode

M	README.md

commit 2bc0a169330215b3d5bae3dff0b9d38aa1ff8814
Merge: 2eeed8b 57851a8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 22 12:11:54 2023 +0200

    Merge branch 'bargraph'

commit 57851a8032cd79460536d2a5314d4384ea2aef81
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 22 11:12:30 2023 +0200

    Introduce bar graph mode
    Besides all detailed information that is supplied by atop on
    system and process level, a (character-based) bar graph can be
    shown about the utilization of the most critical system resources,
    i.e. processors, disks, network interfaces and memory. The original
    interface of atop is still compatible and is called 'text mode'
    from now on, while the additional interface is called
    'bar graph mode'.
    Atop will still be started in 'text mode' unless the '-B' flag is
    used. Within an interactive atop session, the 'B' key can be used
    to switch between the two modes.
    The bar graph mode can be used for live monitoring as well as
    for viewing of raw files.

M	Makefile
M	atop.c
M	atop.h
A	drawbar.c
M	man/atop.1
M	man/atoprc.5
M	parseable.c
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showprocs.c
M	showsys.c

commit 2eeed8b8ff907ac330459b6ca0a2b3a8b2860ae2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Apr 3 08:35:36 2023 +0200

    Freeing ethlink should depend of ifdef

M	ifprop.c

commit 5f5a41407222a407add06d59da46b5e64a3f763d
Merge: 0c7ce67 e34e936
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 1 22:19:08 2023 +0200

    Merge branch 'bytedance-recollect-nprocexit-by-reacquire-acctfd'

commit e34e9366c6ce4bf0de2b9f875e0e8375618bdd1e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 1 22:18:28 2023 +0200

    Added reset to indicate shadow file to be closed

M	acctproc.c

commit 22bebc9fc2a3d83799072d711aa2a977d4f7c481
Author: Ting Liu <liuting.0xffff@bytedance.com>
Date:   Thu Mar 23 20:50:43 2023 +0800

    fix atopacctd.c: failed to start atopacct.service
    
    The type of atopacct.service is "forking". If the parent process
    does not exit within 90 seconds after starting, the service is
    considered to have failed to start.
    After executing fork(), there is a situation where the child process
    gets scheduled before the parent process. When the child process
    reaches the kill() function and sends a signal to the parent process,
    the parent process has not yet been scheduled. After receiving the
    signal, the parent process executes the signal handling function but
    has not yet reached the pause() function. As a result, the parent
    process gets stuck in the pause() function and does not exit, causing
     the atopacct.service to fail to start.

M	atopacctd.c

commit 90efc4bea781b71cc8f77f8f9484c80fbfd21b49
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Mon Jan 16 17:40:23 2023 +0800

    acctatop: reacquire acctfd to collect nprocexit for some bad cases
    
    In current code, the acctfd value in acctproc.c will not be updated
    once atop runs. This can cause 'nprocexit is zero' problem when
    atopacct.service restarts but atop.service not, in which case, the
    previous shadow file that atop read is being '(deleted)'. As acctfd
    does not change, atop will continue reading that obsolete file whose
    size will never grow, leading to get a wrong number of exited process,
    e.i. always be zero from now on until atop.service restarts.
    
    Fix this by reacquiring the new shadow file fd after atopacct.service
    restarts. By the way, only reacquire for atopacct case; as for other
    cases that directly read from acct() file, restarting service does
    not make the nprocexit a wrong value. Besides, if the atopacct or
    (p)acct service is stopped for a while, ignore this situation too,
    as we are not sure if the action is on purpose or not.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	acctproc.c

commit 6f4761381c6f669613a5339542fa2e6cbac41adf
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Fri Jan 13 21:16:58 2023 +0800

    Calibrate nprocexit to avoid atop coredumps unexpectedly
    
    There's a case that the shadow file becomes larger than its
    limit, e.i. (maxshadowrec * acctrecsz), and then suddenly
    atopacct.service restarts suddenly.
    
    In current logic supposing atopacct.service does not restart, we
    will continue to read a new shadowpath whose sequence is one greater
    than the fulled one. But this does not work if atopacct.service
    restarts, as the new shadowpath's sequence number will be started
    with zero, leading to a negative value when comparing with the
    fulled one. And thus return the unsigned long 'nprocexit' as a
    very huge positive number.
    
    What's more, after acctphotoproc(), we get a wrong acctsize
    (including reset acctsize to zero), and thus a dummy huge 'curpexit'
    struct whose partial attributes like gen/cpu/mem/disk are still
    zeroed. Then later, the same as 'devtstat' struct. Finally, these
    zeroed attributes will cause a glibc sort() coredump like "*a = 0"
    during compcpu(), compmem() and so on.
    
    To fix this case,
    - firstly, return numrecs as zero once detecting atopacct.service
      restarts or other bad cases, regarding as an incomplete sample;
    - secondly, to avoid other bad cases, calibrate nrexit during
      acctphotoproc(), re-calculate the real 'nprocexit' to avoid the
      "*a = 0" error.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
    Co-authored-by: Ting Liu <liuting.0xffff@bytedance.com>

M	acctproc.c

commit 0c7ce67ab72041f1829ef71cfa00f4b7bfa630d6
Merge: 7a917f3 8390f4d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 25 12:23:06 2023 +0100

    Merge pull request #248 from bytedance/fix-json-lvm
    
    json.c: fix avque counters output

commit 7a917f3e20980d1488ddb8a111a5f1f460561843
Merge: 6b9691a 6809e6f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 25 12:22:03 2023 +0100

    Merge pull request #245 from xixiliguo/fix-paging-stat
    
    fix calculation for scan and steal

commit 6b9691a4248e933ef608bad59ca89302a1fc154d
Merge: eb158ef a273887
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 25 12:09:08 2023 +0100

    Merge pull request #239 from pizhenwei/fix-memory-leak
    
    ifprop.c: Fix possible memory leak

commit 442181e44102a2bfff9cc71782768d96bfbba73b
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Fri Jul 22 14:52:23 2022 +0800

    Fix atop.service & atop.daily: always create $LOGPATH
    
    In case users remove $LOGAPTH, create it whenever atop restarts.
    Or else, 'no such file or directory' error will occur.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	atop.daily
M	atop.service

commit 8390f4d028c328ee4d9ca604ec2f14930ddb1ac7
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Mon Mar 6 11:37:24 2023 +0800

    json.c: fix avque counters output
    
    Fixes: 6cc222a8c528 ("Add avque counters to json data")
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	json.c

commit a8082ea0c401a8a5dc70b62be0027f3e7324b5d5
Author: Nathan Scott <nathans@redhat.com>
Date:   Mon Mar 6 14:42:56 2023 +1100

    Resolve compiler warnings from latest versions of GCC
    
    Fix an incorrect struct array null test on bdev names, i.e.
    
    "warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress]"
    
    in disk, LVM and MD block device deviate.c calculations.

M	deviate.c

commit eb158ef2b2a48607788c5cd0a8213100d6df12f8
Merge: 5073b66 4f04c2c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Mar 3 16:48:57 2023 +0100

    Merge pull request #243 from Algebra970/master
    
    only call str.decode if nvml returned bytes

commit 8d18a52efd8e77ac48cc5758f8ff5bf686f0142b
Author: elad <soffer.elad@gmail.com>
Date:   Wed Mar 1 18:17:26 2023 +0200

    Added versdate.h to make clean target

M	Makefile

commit 4f04c2ca5695e025413357c608abf9e2d0397a0f
Author: elad <soffer.elad@gmail.com>
Date:   Wed Mar 1 18:14:10 2023 +0200

    Revert "Added versdate.h to make clean target"
    
    This reverts commit 2973c8ee71d1cc23853fc79c503571b257ae97a8.

M	Makefile

commit 2973c8ee71d1cc23853fc79c503571b257ae97a8
Author: elad <soffer.elad@gmail.com>
Date:   Wed Mar 1 18:07:52 2023 +0200

    Added versdate.h to make clean target

M	Makefile

commit 6809e6f22c29435a244fe797e28328f37728b101
Author: peter wang <wangbo.red@gmail.com>
Date:   Wed Mar 1 21:33:46 2023 +0800

    fix calculation for scan and steal

M	photosyst.c

commit 69bf04e1a1f5e8ba7c99da1dc56a3e022ccf83c6
Author: elad <elad@uveye.com>
Date:   Sun Feb 26 15:39:00 2023 +0200

    only call str.decode if nvml returned bytes

M	atopgpud

commit 5073b66c6945d7b22acdbd9c5ed0f353cf8e0eb9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 25 14:49:42 2023 +0100

    Add exit epoch to parseable output PRG (solves issue #242)

M	man/atop.1
M	parseable.c

commit 9e3b62584ae5cc710f222aaa1f52aa3e25cff49c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 25 14:23:20 2023 +0100

    Minor correction in man page for NVCSW/NIVCSW

M	man/atop.1

commit 788cb32fcd7693f5773f5f4b361908146501a943
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 25 14:13:42 2023 +0100

    Context switches (voluntary and involuntary) on process level incorrect.
    The context switches on process level only concern the values of
    the main thread instead of all threads. Corrected by accumulating
    values of all threads.

M	photoproc.c

commit 999103c4983260cfdcbaad30f78030a88358ed16
Merge: 71a8690 b870681
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 25 14:01:33 2023 +0100

    Merge branch 'bytedance-photoproc-ctxSwitch'

commit b870681434b8df10667f837a8d5cce5bb9d555ec
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 25 13:56:58 2023 +0100

    Various modifications releated to (non)voluntary context switches.
    - new counters should be added at the end of line for parseable output
    - document parseable counters (man page)
    - field descriptions in alphabetical order (man page)
    - use val2valstr() for counters with a fixed column width

M	man/atop.1
M	parseable.c
M	showlinux.c
M	showprocs.c

commit d3eea820addf0e943bb08b2934f4cb0a7a900dad
Merge: 71a8690 e22b934
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 25 13:23:06 2023 +0100

    Merge branch 'photoproc-ctxSwitch' of github.com:bytedance/atop into bytedance-photoproc-ctxSwitch

commit 71a8690bccbce5b8b7794336b74eb12261214ce9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 25 13:12:27 2023 +0100

    Merging macro protection in header files (pull request #215)

M	acctproc.h
M	atop.h
M	atopacctd.h
M	ifprop.h
M	mkdate
M	netatop.h
M	netatopd.h
M	netstats.h
M	parseable.h
M	photoproc.h
M	rawlog.h
M	showgeneric.h
M	showlinux.h
M	version.h

commit e22b934636935e973136b6d1bc3285e83ddb2451
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Wed Nov 23 14:51:24 2022 +0800

    Add nvcsw and nivcsw for each process
    
    As we all know, too much context switches can lead to poor
    performance. Besides, sometimes one same process deployed in two
    places may behave different. Thus it's necessary to collect the
    - nvcsw (number of times that the program was context-switched
      voluntarily, for instance while waiting for an I/O operation
      to complete) and
    - nivcsw (number of times the process was context-switched
      involuntarily, e.g. the time slice expired)
    two indicators to monitor the performance.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	deviate.c
M	json.c
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	showgeneric.c
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit a273887b2defb457e0e5b1c58c5c906683b58921
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Wed Feb 22 11:19:56 2023 +0800

    ifprop.c: Fix possible memory leak
    
    Once 'ioctl(sockfd, SIOCETHTOOL, &ifreq)' fails, the dynamically
    allocated memory buffer(ethlink points to) gets orphan.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	ifprop.c

commit 0db6e63fc49be4ba067a3c1017957d577c609983
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Tue Jul 27 21:20:05 2021 +0800

    Show InCsumErrors for TCP
    
    Sometimes the packet loss is due to a checksum error, esp, in virtual
    machine scenarios who usually offload the checking to its host.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	man/atop.1
M	netstats.h
M	parseable.c
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 416e955f7c8e6872dc27512b3084b1528e62163c
Merge: 3cd21d0 99a2581
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 18 16:56:26 2023 +0100

    Merge branch 'master' of github.com:Atoptool/atop

commit 3cd21d05c690f9c0fd871bf3651c7936ff887d85
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 18 16:55:51 2023 +0100

    Code cleanup and prototype additions

M	Makefile
M	acctproc.c
M	atop.c
M	atop.h
M	atopacctd.c
M	atopconvert.c
M	atopsar.c
M	json.c
M	netlink.c
M	parseable.c
M	photosyst.c
M	photosyst.h
M	procdbase.c
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showprocs.c
M	showsys.c
M	various.c
M	version.h

commit 99a25812e50cbecdcad71fccec6d4a625b04436e
Merge: ca9d6d9 6180aba
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 18 15:04:30 2023 +0100

    Merge pull request #231 from bytedance/fix-atop-rotate
    
    atop-rotate.service: use restart instead of try-restart

commit ca9d6d9f902ae73c1b9b78ff937900648ebfead1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 4 12:34:20 2023 +0100

    Consistency check on number of threads (solves issue #232)

M	photoproc.c

commit 6180aba57e07544c85dc9f8ba5d052e8bc719851
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Fri Jul 15 20:01:08 2022 +0800

    atop-rotate.service: use restart instead of try-restart
    
    `man systemctl` says the 'try-restart' pattern:
    'Restart one or more units specified on the command line if the units
    are running. This does nothing if units are not running.'
    
    That means atop can not be started successfully by daily
    atop-rotate.timer if it is already exited. Fix this by changing
    try-restart to restart.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	atop-rotate.service

commit 72f361df6ae11d63443cf562fee1bdeb0f6218bd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 7 19:42:31 2023 +0100

    Add link to atophttpd

M	README.md

commit 5bc3edc64ca01dd46922b34402c67c6f286399aa
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 7 14:27:52 2023 +0100

    Version 2.8.1

M	version.h

commit a2c45992f59ce6110b24b22fc9bf65028197e96d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 7 12:21:03 2023 +0100

    Solve compiler warnings about format-truncation

M	various.c

commit b93546d1ed03ec5b6e0c747a2571820129d60771
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 7 12:02:37 2023 +0100

    Avoid buffer overflows during value formatting

M	various.c

commit 490c73ce516bff6dd53786e2be29bbcbc4185071
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 7 12:00:36 2023 +0100

    Correct NUMA conversion in logfiles from version 2.7 to 2.8

M	atopconvert.c

commit ed17722fa50f3a0be4d1d4a86336180a38a69109
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 7 11:16:42 2023 +0100

    Added contributor

M	AUTHORS

commit 338637d911b98d67b3d3b8a25e25532659a36571
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 29 23:32:50 2022 +0100

    Rename AUTHOR in spec file

M	rpmspec/atop.specsystemd

commit 6621b213326fdeba79e8c15214f7e78597ce391f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 29 23:24:23 2022 +0100

    Up-to-date list of contributors

D	AUTHOR
A	AUTHORS

commit be2d5c43e4fd8b6f2754e2cabdd55857d5ad8da2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 29 22:33:12 2022 +0100

    New version 2.8.0

M	version.h

commit d7f71c0bfc3980a0103ed23f55a8db4c72b8d6f2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 29 21:56:05 2022 +0100

    Update timestamp of man pages

M	man/atop.1
M	man/atopacctd.8
M	man/atopcat.1
M	man/atopconvert.1
M	man/atopgpud.8
M	man/atoprc.5
M	man/atopsar.1

commit 3bfd0dbbeaf023c351235a44b92ad8b3691c4648
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 29 15:39:34 2022 +0100

    Adapt atopconvert for conversion to version 2.8

M	README
M	atopconvert.c
A	prev/netstats_wrong.h
A	prev/photoproc_28.h
M	prev/photosyst_20.h
M	prev/photosyst_21.h
M	prev/photosyst_22.h
M	prev/photosyst_23.h
M	prev/photosyst_24.h
M	prev/photosyst_25.h
M	prev/photosyst_26.h
M	prev/photosyst_27.h
A	prev/photosyst_28.h

commit 33c0abcd3423e276e538d26f4850c266abdcdbf5
Merge: 3b7ad4b 6cc222a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 29 12:11:20 2022 +0100

    Merge pull request #229 from pizhenwei/json-fix
    
    Json fix

commit 3b7ad4b61f94776ddc0f9755ef2f0353c3eac962
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 29 11:59:11 2022 +0100

    Atopacct.service verifies if psacct/acct is active (solves issue #227)
    To avoid that the atopacctd daemon and the (ps)acct service
    both try to activate process accounting continuously, the
    atopacct.service refuses to start when the (ps)acct service is
    already active.

M	atopacct.service

commit 6cc222a8c528112f39f8657b84367a0a3b7c961f
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Tue Dec 27 10:15:51 2022 +0800

    Add avque counters to json data
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	json.c

commit be1fc512f00b36d6b80d9fe6aa73640787bf3417
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Tue Dec 27 09:36:44 2022 +0800

    Add inflight counters to json data
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	json.c

commit cf4d2d268f9fefadc5b56e717eb57f7260223834
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Fri Dec 2 16:05:46 2022 +0800

    Fix LLC output for Json
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	json.c

commit 66641630457e3b607391dd08bfe79b0a3ccbf416
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 13:24:24 2022 +0100

    Solve format-overflow/maybe-uninitialized warnings

M	atopsar.c
M	gpucom.c
M	photosyst.c
M	showprocs.c
M	various.c

commit b6041164d738ba51eeacc9ef2676745564a33ee7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 13:22:22 2022 +0100

    Reshuffle counters to ease raw file conversion

M	photosyst.h

commit e395f48d4709bbcb03918cc752d9f8a2387e5c53
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 12:13:12 2022 +0100

    Recalculate average queue in parseable output

M	man/atop.1
M	parseable.c

commit 8d133c6f51f7d1424f3c4590dbb8621e971688ec
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 11:58:33 2022 +0100

    Corrected the order of inflight/avque

M	man/atop.1
M	parseable.c

commit 3a210c1b77f5069a8be364a8107aaa686bccdcd3
Merge: e52eaaa ebfda60
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 11:54:06 2022 +0100

    Merge branch 'bytedance-add-inflight'

commit ebfda604a89c0906dc038636887ec0e11d0590d3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 11:53:36 2022 +0100

    Add inflight and avque counters to parseable data

M	man/atop.1
M	parseable.c
M	showlinux.c

commit a57b7ef96fba4fbb98ba92048c2ced2e90d92298
Merge: e52eaaa a232722
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 11:38:27 2022 +0100

    Merge branch 'add-inflight' of github.com:bytedance/atop into bytedance-add-inflight

commit e52eaaa65f87ad0315cbd33362d046e2d786f5bc
Merge: a082801 c6a0661
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 11:17:39 2022 +0100

    Merge pull request #225 from natoscott/bdelay-space-fix
    
    Fix BDELAY in priphead call to make_proc_prints for schedprocs

commit a0828016b1c5e87b73b58ff427b371dc0cb93195
Merge: 7e83f05 e892d9a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 11:16:40 2022 +0100

    Merge pull request #224 from natoscott/deviate-container-preindex
    
    Correct the array index used for previous samples per-container CPU values

commit 7e83f05e98d33f52f9c892a886584a0bdf6dec26
Merge: e40449b cff3075
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 11:10:56 2022 +0100

    Merge pull request #223 from natoscott/dskavio-print-fix
    
    Reinstate dropped printing of avio msec values between 99.95 and 9995

commit e40449b7b2623da00f43a2141be536c38d196d5e
Merge: 21bd4fd a26b937
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 10:46:42 2022 +0100

    Merge pull request #222 from bytedance/display-rbd-disk
    
    photosyst: add ceph rbd disk display

commit 21bd4fd643605e1b42e3e61f4ae82ce4bfadba5b
Merge: d8d97f9 2b07b01
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 24 10:43:14 2022 +0100

    Merge pull request #217 from bytedance/fix-numanr
    
    photosys.c: correct the numa number for NUM and NUC

commit c6a066167ee33a9cbef353439594f7dfa61cb940
Author: Nathan Scott <nathans@redhat.com>
Date:   Thu Dec 15 15:16:08 2022 +1100

    Fix BDELAY in priphead call to make_proc_prints for schedprocs

M	showlinux.c

commit e892d9afae4883f3488542a664de83012e42d9c1
Author: Nathan Scott <nathans@redhat.com>
Date:   Thu Dec 15 13:49:00 2022 +1100

    Correct the array index used for previous samples per-container CPU values
    
    Compare to previous sample array handling for NFS, disks, interfaces, etc.

M	deviate.c

commit cff3075a5a05f98629c3f22c6c5d8466ca46c573
Author: Nathan Scott <nathans@redhat.com>
Date:   Thu Dec 15 11:27:04 2022 +1100

    Reinstate dropped printing of avio msec values between 99.95 and 9995
    
    I believe this was an accidental change in commit db9eef1d4 which has
    introduced a code path where no value is added to the buffer at all.

M	showsys.c

commit a26b937efb4cac44c5a8adcd0a7981501b48b83e
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Tue Dec 13 16:15:08 2022 +0800

    photosyst: add ceph rbd disk display
    
    Ceph block devices are used in many scenarios, especially in k8s
    cluster, in which case an external ceph storage cluster is used to
    implement persistent storage for pods inside the k8s cluster.
    
    An example in /proc/diskstats is as follows:
    254 288 rbd18   25359 1 2459552 18239 2 0 16 42 0 19706 11358 0 0 0 0
    254 289 rbd18p1 25240 1 2453022 18190 2 0 16 42 0 19655 11337 0 0 0 0
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	photosyst.c

commit 20c535ea017885b2afa96a0918274f375bcc7b6a
Author: Jean-Baptiste Denis <jbd@jbdenis.net>
Date:   Mon Dec 12 22:00:13 2022 +0100

    Add -z option to prepend matching environment variable to displayed command line.
    
    This option can be used to capture some environment variables and displaying them
    by prepending them to the command line. They are stored directly in the existing
    curtask->gen.cmdline variable. It consumes space not available for the real command
    line.

M	atop.c
M	man/atop.1
M	photoproc.c

commit 2b07b014153b6ccb00a4e02b134fa6cc9cec6fc2
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Tue Dec 6 20:48:13 2022 +0800

    photosys.c: correct the numa number for NUM and NUC
    
    Current code uses array index to store the numa number, which may
    sort the numanr to a wrong value after the qsort() funtion in
    generic_samp().
    
    Fix this by re-adding the 'numanr' member for struct mempernuma and
    cpupernuma to store the correct numa number. The permanent 'numanr'
    member can guarantee the numa number from adjusting after qsort(),
    while the qsort() function can continue working by sorting NUM from
    small to large according to free memory, and sorting NUC from small
    to large according to idle cpu.
    
    Besides, add NUC for JSON output.
    
    Fixes: 1fbda3f1081a ("Additions to NUMA counters")
    Reported-by: Qi Zheng <zhengqi.arch@bytedance.com>
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	deviate.c
M	json.c
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showsys.c

commit d8d97f93f2425be97e4aca6df5c91fd18913ac16
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 26 12:56:14 2022 +0100

    Timeout when setting semaphore in atop (issue #207)

M	acctproc.c

commit e1a50559934bb9a1ca2b41eba77134abeaae3d22
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 26 11:38:17 2022 +0100

    Current CPU set to -1 for terminated process (solves issue #201)
    When a process has terminated (status 'E') the current CPU will
    be set to -1 (means: unknown) in the parsable output with label PRC.

M	deviate.c
M	man/atop.1

commit ecfc92e04f33ebd09ca0c06debc16585ec993002
Merge: 75a67ee 580099c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 26 10:41:39 2022 +0100

    Merge branch 'pizhenwei-json'

commit 580099c03e344f401755ad5f8297842b7e950083
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 26 10:41:00 2022 +0100

    Typo corrections and correction in man page

M	json.c
M	man/atop.1

commit fb9edb2cabda7368b9115691ee297b71a486904c
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Mon Nov 14 10:09:39 2022 +0800

    Introduce JSON output by '-J xxx'
    
    It's possible to dump the record by JSON format, this is quite
    friendly to web service, and lot of use libraries could parse these
    data easily.
    
    The syntax is similar to parseable output.
    
    Co-authored-by: Fei Li <lifei.shirley@bytedance.com>
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	Makefile
M	atop.c
A	json.c
A	json.h
M	man/atop.1

commit 75a67eee67962ab2b2a787375de6907a008164f9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Nov 1 20:17:39 2022 +0100

    Add missing counter iInCsumErrors to ICMP counters

M	netstats.h

commit a232722a59c4eeeeadf4e8f5c269d59eff6b8f70
Author: Teng Hu <huteng.ht@bytedance.com>
Date:   Mon Aug 15 14:16:25 2022 +0800

    supplement inflight I/O requests
    
    Inflight I/O requests count I/O requests issued to the device driver but
    have not yet completed, which are useful to analyze system I/O status.
    More than this, since plenty of processes remain in D status for a long time
    come from I/O troubles, inflight I/O values also help to examine these processes.
    
    Signed-off-by: Teng Hu <huteng.ht@bytedance.com>

M	deviate.c
M	man/atop.1
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit be42f0b0eed45af5045c2f1d85b4bd87e22ca32f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 30 16:55:57 2022 +0200

    Man page: clarify elapsed time in PRG parseable output

M	man/atop.1

commit e9f3048f7e04c39d43cd19481e14797d6163556d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 30 16:46:23 2022 +0200

    Exponent calulation for high counter might exceed column width
    When a column width was defined of e.g. 4 positions, the value
    99999 was shown as 100e3 instead of 99e3 (upward rounding caused
    an extra position).

M	various.c

commit 38ae774ef76bb5472215b4e0dc7e339b2fdddff2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 30 16:24:22 2022 +0200

    PID selection can not be undone for same interval
    When pressing 'I' to select particular PIDs and pressing 'I'
    again within the same interval to deselect by pressing the
    Enter-key, the deselection is ignored.
    Solved by reinitializing the input buffer.

M	showgeneric.c

commit ea723065de70854c127daa9545d25df1bab4fd3d
Merge: ba677a7 02479a2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 20 13:36:35 2022 +0200

    Merge branch 'secondmem'

commit 02479a2ededa76c843d59828d4e8b8886d0723a9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 20 13:32:02 2022 +0200

    Split the MEM line into two lines and add pagetable size
    Since it was hardly possible to view the values in the MEM line
    (too many), the memory utilization has been spread over two lines.
    The amount of memory used for page tables has been added.

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit ba677a79c2cc987db03ea4226fd95a28351b429a
Merge: 76a6774 0933e00
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 13 13:05:26 2022 +0200

    Merge branch 'bytedance-support-sockstat-mem-consumption'

commit 0933e00880ebfb425ac98b106c24c825a10fbdad
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 13 13:03:04 2022 +0200

    Memory usage for TCP/UDP sockets

M	man/atop.1
M	parseable.c
M	photosyst.c
M	showlinux.c
M	showsys.c

commit ffdbb1994b9b4ca2de3e6ca6da102a3f9162787e
Merge: 76a6774 a2422e3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 13 11:56:44 2022 +0200

    Merge branch 'support-sockstat-mem-consumption' of github.com:bytedance/atop into bytedance-support-sockstat-mem-consumption

commit 76a67740379ffd13644d21ebe9e19f2e87e03273
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 13 11:49:02 2022 +0200

    Add Documentation key to atop-rotate.service/.timer (issue #206)

M	atop-rotate.service
M	atop-rotate.timer
M	man/atop.1

commit d24484bbc67ceaeb302cbd6294da398aea10c7b7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 13 11:30:54 2022 +0200

    Correct typos in man pages (solves issue #205)

M	man/atop.1
M	man/atopsar.1

commit 69599a02aa21b77aaf56fc2303b86296c557c1e0
Merge: 57a808e c9fea4e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 13 11:13:56 2022 +0200

    Merge pull request #198 from bytedance/showhdrline-fix-sprintf-oob
    
    showhdrline: fix OOB access when COLS is too small

commit 57a808e3cdf0f2d4b516a211e8e915b0d972b33f
Merge: 8365a75 5c326ee
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 13 10:28:46 2022 +0200

    Merge pull request #203 from pizhenwei/fix-compile-error-with-http
    
    Fix compiling error with -DHTTPSTATS

commit 8365a7583e08a27ed14aedd2d0909dbde0513f18
Merge: d9e0e6a 4243e34
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jul 28 11:58:19 2022 +0200

    Merge branch 'cgroup'

commit 4243e34f6bb7444f630350843b66c8f490ecc283
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jul 28 11:52:34 2022 +0200

    Add cgroup support (solves issue #127)
    The current cgroup is registered for systems that are based on cgroup v2.
    Apart from the group name also relevant controller information is
    maintained, like the cpu.max and the memory.max (for the group itself
    and the most restrictive value in the parent groups).

M	atop.h
M	deviate.c
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	rawlog.c
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 5c326ee948775afc541ecd88017c5e9d2b4099bf
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Thu Jul 21 15:52:17 2022 +0800

    Fix compiling error with -DHTTPSTATS
    
    Fix compiling error like this:
    In file included from atopconvert.c:77:
    prev/photosyst_27.h:327:5: error: conflicting types for ‘getwwwstat’
      327 | int getwwwstat(unsigned short, struct wwwstat_27 *);
          |     ^~~~~~~~~~
    In file included from atopconvert.c:52:
    photosyst.h:361:5: note: previous declaration of ‘getwwwstat’ was here
      361 | int getwwwstat(unsigned short, struct wwwstat *);
          |     ^~~~~~~~~~
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	prev/photosyst_27.h

commit a2422e397af5ebbea1a03a36ec82e8bd77632b4a
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Fri Jul 8 18:35:52 2022 +0800

    supplement tcpsock and udpsock memory consumption
    
    In some production cases, tcp socket consumes lots of memory, which
    has no intersection with the statistics in /proc/meminfo file.
    
    Considering the current code does not collect and record the tcpsock
    or udpsock statistics reported via /proc/net/sockstat, supplement
    the following two to help locate memory consumption issues:
    - tcpsock, number of pages allocated by TCP sockets
    - udpsock, number of pages allocated by UDP sockets
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit d9e0e6a703f152e3e17195afb227596d9983ca4e
Merge: f2e7051 bc84472
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 9 12:25:29 2022 +0200

    Merge pull request #196 from pizhenwei/fix-man-disk-busy
    
    Fix disk busy in man page

commit f2e7051a50ed116a1cd35d0e3e2b268cb3472d9e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jul 9 12:10:39 2022 +0200

    Store PID width in header of raw log
    Register the number of positions for PID and TID numbers on the
    measured system in the raw log. In this way, the viewing of the
    raw log on another system will use the proper column width for PID/TID.

M	atop.c
M	atop.h
M	rawlog.c
M	rawlog.h
M	showlinux.c
M	various.c

commit c9fea4e3d55b589ec202fb651f461c7acffb8fc0
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Fri Jun 10 15:06:21 2022 +0800

    showhdrline: fix OOB access when COLS is too small
    
    - How to reproduce:
    Drag the window to the far right, a "Segmentation fault (core dumped)"
    message occurs.
    
    - Debug:
    Add some print values, saying COLS=2, thus maxw.
    
    After getspacings(), elemptr becomes a NULL array again: maxw is too
    small, so after nitems times of memmove(), newelems is NULL.
    
    Then back to showhdrline(), as each curelem.f is zero, no chead is
    assigned to buf and col is still zero. However, after the calculation:
    allign=COLS-col-pagindiclen;//align=2-0-4=-2 < 0, previous code jumps
    to sprintf(buf+col+allign, "%s", pagindic), which triggers
    out-of-bounds access as col+allign = -2 < 0.
    
    - Fix:
    Fix this by judging if (col+allign >= 0) before jumping to avoid the
    OOB access.
    
    Reported-by: Qi Zheng <zhengqi.arch@bytedance.com>
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	showprocs.c

commit bc84472f20c9d8c101901b5b32f04168a596af27
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Mon May 16 08:59:37 2022 +0800

    Fix disk busy in man page
    
    Reference source code from Linux:
    https://github.com/torvalds/linux/blob/master/block/blk-core.c
    
    void update_io_ticks(struct block_device *part, unsigned long now, bool end)
    {
            unsigned long stamp;
    again:
            stamp = READ_ONCE(part->bd_stamp);
            if (unlikely(time_after(now, stamp))) {
                    if (likely(cmpxchg(&part->bd_stamp, stamp, now) == stamp))
                            __part_stat_add(part, io_ticks, end ? now - stamp : 1);
            }
            if (part->bd_partno) {
                    part = bdev_whole(part);
                    goto again;
            }
    }
    
    The io_ticks field records the elapsed time during which I/O requests
    were issued to the device. From this design, one or more I/O requests
    may occurs in the same tick, so this number does not reflect the
    performance limits of mordern SSD/NVMe.
    
    atop reads this counter and calculates the percentage, fix the man
    page to introduce this.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	man/atop.1

commit b9d7533ef536cd07683680786c1bcf9c4e6bd9d4
Merge: f5da8d3 ed4fd0f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 14 11:04:33 2022 +0200

    Merge pull request #195 from pizhenwei/move-run_in_guest-into-various
    
    Move run_in_guest into various.c

commit f5da8d31e7346a7873fe0748cdf136942c64bce3
Merge: 98a82fd 591bf96
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 7 12:47:16 2022 +0200

    Merge branch 'blockdelay'

commit 591bf964db4da7d66ffd4a2920fcb1dcf5d06436
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 7 12:45:58 2022 +0200

    Add block I/O delay to processes/threads

M	deviate.c
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit ed4fd0feab628fef20e6c08f3722fdb0dfbe3c4f
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Mon Apr 18 18:36:42 2022 +0800

    Move run_in_guest into various.c
    
    run_in_guest tries to detect hypervisor, it works as a helper
    function. So move this into various.c.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	atop.h
M	photosyst.c
M	various.c

commit 98a82fdc2258a3bb67ff6dc1dd189b81683837a1
Merge: b90e41f 9cfeb90
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 9 12:28:32 2022 +0200

    Merge branch 'pizhenwei-pgintout'

commit 9cfeb9096a45c21fd5e5e5791ff2a21e2fbe86d7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Apr 9 12:28:02 2022 +0200

    Minor changes to text, column priority and coloring

M	man/atop.1
M	showlinux.c
M	showsys.c

commit b0d07a04298d5dec969b174e3396f1a93cb6fc86
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Sun Mar 20 20:11:22 2022 +0800

    Support pgin & pgout
    
    Collect pgint & pgout from /proc/vmstat. This counter is provided by
    linux block layer, it represents the total number of memory read from/
    written to all the block devices.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit b90e41f541f122b6521f476200e6b97657add417
Merge: bfd2537 52676b9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 12 11:37:47 2022 +0100

    Merge pull request #192 from pizhenwei/fix-compiling-errors
    
    Fix compiling warnings

commit bfd2537d8282f79685a742c4b40779c2839d6974
Merge: a038796 31b632b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 12 11:30:38 2022 +0100

    Merge pull request #193 from 7h3w1zz/man-typo
    
    Fix typo in man page

commit a038796ec877e098c1ba265f3782386257bf6421
Merge: 5df2c9a 3bcfce3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 12 11:24:59 2022 +0100

    Merge branch 'bytedance-calibrate-process-nthr'

commit 3bcfce3e9dd747d628645b04dc39f9d1fac9b708
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 12 11:24:34 2022 +0100

    Correction on calibration (one too many)

M	photoproc.c

commit 1876fd3474563b71a62b4f0e672f4b3ebd0d9def
Merge: 5df2c9a bdadf39
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 12 10:59:58 2022 +0100

    Merge branch 'calibrate-process-nthr' of https://github.com/bytedance/atop into bytedance-calibrate-process-nthr

commit 5df2c9ae74a57312f2d0da245a58d1a0c84704d5
Merge: 3dfaa7f ced67a5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 12 10:44:58 2022 +0100

    Merge branch 'integerbeans-fix-vmwballoon-photosyst'
    Accepting pull request #189 with modification to stay compatible.

commit ced67a5ec6f4a258f59e247a87425179b3ff015d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 12 10:44:32 2022 +0100

    Detect vmmemctl at two locations

M	photosyst.c

commit 52676b93113120a8bd38425b439ccc517bcd406e
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Mon Mar 7 15:15:13 2022 +0800

    Use dup2 instead of close+dup
    
    Build atop on Ubuntu 20.04, gcc 9.3:
    showgeneric.c:2843:11: warning: ignoring return value of ‘dup’, declared
    with attribute warn_unused_result [-Wunused-result]
     2843 |    (void) dup(1);
    
    Use dup2 instead of close+dup to avoid compiling warning, also use
    fileno to avoid hard code:
    fd 0 -> fileno(stdin)
    fd 1 -> fileno(stdout)
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	atopcat.c
M	atopsar.c
M	showgeneric.c

commit afa269ba299da4b04fe651a9159d40d7f4bd2f02
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Mon Mar 7 14:41:01 2022 +0800

    Fix compiling warning
    
    Build atop on Ubuntu 20.04, gcc 9.3:
    photosyst.c:79:17: warning: ‘%s’ directive output may be truncated writing
    up to 255 bytes into a region of size 231 [-Wformat-truncation=]
       79 | #define NUMADIR "/sys/devices/system/node"
          |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
    photosyst.c:867:28: note: in expansion of macro ‘NUMADIR’
      867 |    snprintf(fn, sizeof fn, NUMADIR "/%s/meminfo", dentry->d_name);
          |                            ^~~~~~~
    photosyst.c:993:38: note: format string is defined here
      993 |    snprintf(fn, sizeof fn, NUMADIR "/node%d/cpumap", j);
    
    Use larger buffer to avoid compiling warning.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	photosyst.c

commit bdadf39b7a1062c69f0221250f10d5810402fbd6
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Tue Feb 15 15:00:22 2022 +0800

    Calibrate the value of nthr for each process
    
    In current code, we firstly get one process's thread number by
    reading "Threads:" from /proc/pid/status; then secondly load each
    thread's info into devtstat->taskall by traversing each tid under
    /proc/pid/task/. Here, information inconsistency occurs if some
    processes frequently creates or deletes threads. For example:
    $cat /proc/6/status |grep Threads; sleep 0.1; ls /proc/6/task/ | wc -l
    Threads:        70
    71
    
    To fix this, calibrate the value of nthr after iterating each
    process's threads: re-record the number of threads and assign
    to each process's nthr again.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	photoproc.c

commit d83d56cd7e0f26b7495901ebc186cd71b75d0c9d
Author: integerbeans <w-gh@wmeyer.eu>
Date:   Thu Feb 17 12:01:32 2022 +0100

    photosyst.c: fixed path for vmmemctl

M	photosyst.c

commit 31b632b6b9187cfa288796067849dee660afb756
Author: Jacob <38846015+7h3w1zz@users.noreply.github.com>
Date:   Tue Feb 8 14:20:58 2022 -0500

    Fix typo in man page

M	man/atop.1

commit 3dfaa7fd985324bc05f47cc892166ecb0d866d94
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 5 12:32:08 2022 +0100

    Added link

M	README.md

commit d75775438afec328df6087e8fd5b537c9883bd30
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jan 25 17:02:42 2022 +0100

    Only print current CPU frequency when supported by CPU architecture

M	showsys.c

commit 09e8812ff705b8a2f4a46f22968c40ead7799781
Merge: 390fca3 31d4be0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Jan 16 16:42:10 2022 +0100

    Merge pull request #184 from pizhenwei/llc-per-sec
    
    Support per-second counter for LLC

commit 390fca31bc0fc3026f9f351b2a46b93782d908fd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Jan 16 16:41:30 2022 +0100

    Lower priority of column 'numnode' in MEM line

M	showlinux.c

commit 31d4be081c950e859c7c62524d8812dea782720d
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Fri Jan 14 15:02:18 2022 +0800

    Support per-second counter for LLC
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	showsys.c

commit 69e61e071ce82933c2763bb5095caf3563da8080
Merge: 78b4193 060dd9f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jan 12 17:21:28 2022 +0100

    Merge branch 'pizhenwei-llc-monitor'

commit 060dd9fd2552f30319a999e3074b7fa00fb66c66
Merge: 78b4193 0dfcb19
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jan 12 17:21:09 2022 +0100

    Fixed conflicts

commit 78b419310928251b86751330fe30a7e9daef8c43
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jan 12 17:01:35 2022 +0100

    Reformat status line info in initial screen

M	showgeneric.c

commit b155a541b93602053521796456ac8e957ff0fbec
Merge: 7cf3f3c eec27ce
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jan 12 16:45:49 2022 +0100

    Merge branch 'pizhenwei-llc-monitor'

commit eec27cebf4de9631199c50b318973201f0637a0e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jan 12 16:45:16 2022 +0100

    Cosmetic changes

M	deviate.c
M	man/atop.1
M	photosyst.c
M	showgeneric.c

commit 0dfcb1996ac3f19663f6a38c30dc2ad92385db8d
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Wed Jan 12 15:13:33 2022 +0800

    Add LLC in atop man page
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	man/atop.1

commit 48f32410caca06e0de8ea6066100550b683933c7
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Wed Dec 29 17:08:26 2021 +0800

    Support LLC collection
    
    Since 2017, Linux started to support resctrl which can be used to
    control QoS of CPU cache and monitor LLC(last level cache).
    
    End user can use on an Intel platform:
     ~# mount -t resctrl resctrl -o mba_MBps /sys/fs/resctrl
    Or on a AMD platform:
     ~# mount -t resctrl resctrl -o cdp /sys/fs/resctrl
    
    Then we can find several directories like:
    /sys/fs/resctrl/mon_data/mon_L3_XX
    
    These counters can be found in doc:
    https://github.com/torvalds/linux/blob/master/Documentation/x86/resctrl.rst
    
    On AMD Rome/Milan, there are several dies in a socket, and each die
    uses it's own L3 cache. With this patch, we can distinguish memory
    bandwidth of each die to know workload is balanced or not.
    
    Or course, on a legacy platform, all the CPU cores share a single L3
    cache in a socket, we can know the memory bandwidth and cache usage
    of the full socket.
    
    Test on AMD Milan(Zen3), atop shows:
    LLC |  tot   211.3G   |  loc   211.2G  |   LLC15   100%  |
    LLC |  tot   185.0G   |  loc   308.1M  |   LLC00   100%  |
    LLC |  tot   241.5M   |  loc   207.8M  |   LLC08    94%  |
    LLC |  tot   130.1M   |  loc    94.5M  |   LLC05    20%  |
    LLC |  tot   111.0M   |  loc    90.5M  |   LLC13    85%  |
    LLC |  tot   117.1M   |  loc    83.0M  |   LLC03    11%  |
    LLC |  tot    96.0M   |  loc    83.5M  |   LLC12    75%  |
    LLC |  tot   106.6M   |  loc    56.1M  |   LLC01    42%  |
    LLC |  tot    82.7M   |  loc    71.9M  |   LLC14    82%  |
    LLC |  tot    80.8M   |  loc    69.0M  |   LLC11    82%  |
    LLC |  tot    74.3M   |  loc    64.7M  |   LLC09    85%  |
    LLC |  tot    70.8M   |  loc    59.2M  |   LLC10    77%  |
    LLC |  tot    65.4M   |  loc    41.5M  |   LLC06    15%  |
    LLC |  tot    50.5M   |  loc    28.1M  |   LLC07    16%  |
    LLC |  tot    39.2M   |  loc    25.1M  |   LLC02     6%  |
    LLC |  tot    38.7M   |  loc    20.8M  |   LLC04     4%  |
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	atop.c
M	atop.h
M	deviate.c
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 6180f2a8b10ed7dc0a7fe196fe5a70a4a73d48d4
Merge: 7cf3f3c c4437bc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jan 11 16:03:40 2022 +0100

    Merge branch 'llc-monitor' of https://github.com/pizhenwei/atop into pizhenwei-llc-monitor

commit 7cf3f3c6b68f1ec3073569ab1b4bd4365b6757bd
Merge: 1e4451b 57ff34f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jan 11 14:10:48 2022 +0100

    Merge pull request #183 from thesamesam/openrc-init
    
    Add OpenRC init scripts (atop, atopacct)

commit 57ff34f028423f6b2a4bf6fbd0c4a1e98ad87dfc
Author: Sam James <sam@gentoo.org>
Date:   Sun Jan 9 08:00:25 2022 +0000

    Add OpenRC init scripts (atop, atopacct)
    
    These have been used for some time in Gentoo but
    should work fine on e.g. Alpine too (any distribution
    using OpenRC).
    
    Signed-off-by: Sam James <sam@gentoo.org>

A	atop.rc.openrc
A	atopacct.rc.openrc

commit 1e4451b66fdfadc9a1913db59a341f4039974398
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 8 13:07:20 2022 +0100

    New version 2.7.1

M	version.h

commit 115b355cb52eee4b11ce00e5b01decde37796e90
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jan 5 19:12:27 2022 +0100

    Explicit type definition in atop.service (issue #180)

M	atop.service

commit 9afc5ad3d714ea09f9ffdebd79b345fe223c7e20
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jan 5 18:54:21 2022 +0100

    Correct disk stats in atopsar (issue #182)
    A wrong disk report is shown with the -d/-l/-f flags.
    When the kernel supports the discard counter per disk,
    output lines are empty in the disk report.
    When the kernel doesnot support the discard counter per disk,
    output lines often show a negative value for for the average
    access time (avserv).

M	atopsar.c

commit c4437bc58b1c205204b785493f8d306d7bf9e660
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Wed Dec 29 17:08:26 2021 +0800

    Support LLC collection
    
    Since 2017, Linux started to support resctrl which can be used to
    control QoS of CPU cache and monitor LLC(last level cache).
    
    End user can use on an Intel platform:
     ~# mount -t resctrl resctrl -o mba_MBps /sys/fs/resctrl
    Or on a AMD platform:
     ~# mount -t resctrl resctrl -o cdp /sys/fs/resctrl
    
    Then we can find several directories like:
    /sys/fs/resctrl/mon_data/mon_L3_XX
    
    These counters can be found in doc:
    https://github.com/torvalds/linux/blob/master/Documentation/x86/resctrl.rst
    
    On AMD Rome/Milan, there are several dies in a socket, and each die
    uses it's own L3 cache. With this patch, we can distinguish memory
    bandwidth of each die to know workload is balanced or not.
    
    Or course, on a legacy platform, all the CPU cores share a single L3
    cache in a socket, we can know the memory bandwidth and cache usage
    of the full socket.
    
    Test on AMD Milan(Zen3), atop shows:
    LLC |  tot   211.3G   |  loc   211.2G  |   LLC15   100%  |
    LLC |  tot   185.0G   |  loc   308.1M  |   LLC00   100%  |
    LLC |  tot   241.5M   |  loc   207.8M  |   LLC08    94%  |
    LLC |  tot   130.1M   |  loc    94.5M  |   LLC05    20%  |
    LLC |  tot   111.0M   |  loc    90.5M  |   LLC13    85%  |
    LLC |  tot   117.1M   |  loc    83.0M  |   LLC03    11%  |
    LLC |  tot    96.0M   |  loc    83.5M  |   LLC12    75%  |
    LLC |  tot   106.6M   |  loc    56.1M  |   LLC01    42%  |
    LLC |  tot    82.7M   |  loc    71.9M  |   LLC14    82%  |
    LLC |  tot    80.8M   |  loc    69.0M  |   LLC11    82%  |
    LLC |  tot    74.3M   |  loc    64.7M  |   LLC09    85%  |
    LLC |  tot    70.8M   |  loc    59.2M  |   LLC10    77%  |
    LLC |  tot    65.4M   |  loc    41.5M  |   LLC06    15%  |
    LLC |  tot    50.5M   |  loc    28.1M  |   LLC07    16%  |
    LLC |  tot    39.2M   |  loc    25.1M  |   LLC02     6%  |
    LLC |  tot    38.7M   |  loc    20.8M  |   LLC04     4%  |
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	atop.c
M	atop.h
M	deviate.c
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit ffb30c62ad5a3e7844d3d9004c174af58eb3dc60
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 1 14:37:18 2022 +0100

    Add information about service activation to README file

M	README

commit fdf3526bd35c1a84dd11bb73110c1a1f4148e39d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Dec 31 11:25:13 2021 +0100

    Add directory to .gitignore

M	.gitignore

commit 5dbe750eca1e468694dc4d4d0d251a485f58ad74
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Dec 31 11:25:04 2021 +0100

    Clarify relation between atop/atopacctd in man page

M	man/atop.1

commit 1b4f7d6d2e14e768f310fc6041c05c5dcc69cee7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Dec 31 11:24:00 2021 +0100

    Added license info

M	atopgpud
M	netlink.c

commit a67368badc8b639f23268e636a1a3d8787ee90c5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Dec 31 11:23:18 2021 +0100

    Added generic license info to README #179

M	README

commit c427419d975bd94f452aeabf5df0a5d4a6be241b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 18 11:24:21 2021 +0100

    Switch to version 2.7

M	version.h

commit 81b71b0791755dc73ba5fafdee6211090c5e0d93
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 18 11:21:12 2021 +0100

    Describe (un)restricted view in first screen

M	man/atop.1
M	showgeneric.c

commit b027bbaa29bb6403789840a03c8dbf22469c2ed3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 18 11:17:39 2021 +0100

    Modified behavior of "make install"
    Run "make install" to install atop on a systemd-based system and
    run "make sysvinstall" to install atop on a system V based system.

M	Makefile
M	README

commit b1ada7e250ec910dcf63955e6a7ee91ffe4877c8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 18 10:46:25 2021 +0100

    Cosmetic change

M	ifprop.c

commit 0efb2365bbefb57a8987ddb3f0da42f8bed1a941
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Dec 17 23:04:12 2021 +0100

    Determine (un)restricted view by verifying suid instead of euid.

M	showgeneric.c

commit 154ca1cd1b0fc5cea5c61fa5c5ebfb7a7a785067
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 16 22:13:24 2021 +0100

    Do not ignore unknown network interface

M	ifprop.c

commit 65832bf7b3c7c35f44e7e0461b33b01f1eff449e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 16 22:05:18 2021 +0100

    Parseable output: optionally exchange spaces in command and command line
    When the -Z flag is combined with the -P... flag, the spaces in the
    command and command line in the parseable output are exchanged by
    underscores and the parenthesis are suppressed to ease space-based
    parsing.

M	atop.c
M	atop.h
M	man/atop.1
M	parseable.c
M	showgeneric.h

commit ab1fbc012bc7e33594ce84c845a2cb43c5edd757
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Dec 14 16:25:20 2021 +0100

    No setuid by default

M	rpmspec/atop.specsystemd

commit da9d8a9885e044897bc6f8445974eebf4e6ab20b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Dec 13 19:53:53 2021 +0100

    Correct conversion to 2.7 raw files

M	atopconvert.c
M	deviate.c
M	photosyst.c

commit b35b9be1233a2d380c0093c645ff4b2e44e38b86
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Dec 13 18:54:40 2021 +0100

    Corrected type

M	man/atop.1

commit c8e755b4bae02258810e996e388ee85d187997d9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 11 21:46:11 2021 +0100

    Only show per-node NUMA stats when more than 1 node

M	showlinux.c

commit a0b48f8fe4641cc693cd198d3c241f507b2a29c4
Merge: 070bf58 01cdbfb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 11 21:41:13 2021 +0100

    Merge branch 'adapt_conversion'

commit 01cdbfba8b4232a97ffc2d29401ac4503a949cec
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 11 21:39:58 2021 +0100

    Prepare man pages for version 2.7

M	man/atop.1
M	man/atopacctd.8
M	man/atopcat.1
M	man/atopconvert.1
M	man/atopgpud.8
M	man/atoprc.5
M	man/atopsar.1

commit 3c3fb8611f85cedbbed1004e1e40bd60cfc99564
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 11 21:39:35 2021 +0100

    Prepare atopconvert for version 2.7

M	atopconvert.c
A	prev/photoproc_27.h
A	prev/photosyst_27.h

commit 070bf58021b94d4bc7d03e97c6126f2b5af3a3bc
Merge: 1a8228c dd13f80
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 2 10:29:45 2021 +0100

    Merge branch 'acctcoop'

commit dd13f80e80e9063e9abaf062b26e4272c9671762
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 2 10:21:52 2021 +0100

    Detect logrotation for process accounting with psacct/acct
    In case that the psacct/acct package is installed and the service is
    enabled, atop will read the process accounting records from the
    logfile related to that package (/var/(log/)account/pacct).
    Atop notices the rotation of this file now, instead of using the
    logrotation 'wrappers' psaccs_atop and psaccu_atop that were installed
    before in the /etc/logrotate.d directory (these wrappers have been
    removed now).

M	Makefile
M	README
M	acctproc.c
M	man/atop.1
D	psaccs_atop
D	psaccu_atop
M	rpmspec/atop.specsysv

commit 1a8228cb859fb754c3c9db4d08671e9ea7fbc207
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 20 14:53:46 2021 +0100

    Speed and duplex mode not correctly filled for interface
    In case of handshaked ETHTOOL_GLINKSETTINGS the speed and
    duplex mode were not correctly filled.

M	ifprop.c

commit 0db2a32deea5135831c0fb74c9b8495c9930a291
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Nov 15 23:58:13 2021 +0100

    Bug solution related to discards

M	photosyst.c

commit c12ff9db0aec03c435c7a32df8b2fc12ad27a3b1
Merge: 5c08726 06c84b1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Nov 15 16:54:13 2021 +0100

    Merge branch 'add_discard'

commit 06c84b1649ba3dc0c4603ff16460eddeecb301ee
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Nov 15 16:48:23 2021 +0100

    Support discard counter for disks and skip unused disks
    When the number of discards is separatedly by the kernel and provided
    via /proc/diskstats, it will be shows as a separate counter by atop.
    Furthermore, atop will ignore disks that have not been used at all
    (#reads, #writes and #discards are all zero) as an alternative for
    the solution provided by PR #170.

M	atopsar.c
M	deviate.c
M	man/atop.1
M	man/atopsar.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 98ccb68acf64bfe432e049f7665f424fe5aad8fb
Merge: 5c08726 fd29747
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Nov 9 21:06:39 2021 +0100

    Merge pull request #172 from bytedance/bytedance/fix-ioctl-parameter
    
    ifprop.c: fix ioctl parameter after handshaking with kernel

commit fd29747a6539497146f779f5258032ccab154850
Author: huteng.ht <huteng.ht@bytedance.com>
Date:   Mon Oct 18 22:50:52 2021 +0800

    ifprop.c: fix ioctl parameter after handshaking with kernel
    
    After handshaking with kernel completed, following ioctl syscalls with
    SIOCETHTOOL request code and a positive value of link_mode_masks_nwords,
    which indicates number of 32-bit words for the supported, advertising and
    lp_advertising link mode bitmaps, would return with those three __u32 arrays
    appended to the end of struct ethtool_link_settings.
    
    Accordingly, the ioctl parameter, ifreq, should be initialized with
    ifreq.ifr_ifru.ifru_data pointing to a extended memory space to accommodate
    those arrays. Otherwise, unexpected memory corruption would occur.

M	ifprop.c

commit 5c08726ca1fe42513f05a1bc5fd06169226e899d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 6 12:27:28 2021 +0100

    Show gigabits/sec instead of megabits/sec for Infiniband #131

M	atopsar.c

commit ef00513d29fe7fed09b567f48262a6c4a9c8309b
Merge: 6d3109f ea332c6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 6 10:44:58 2021 +0100

    Merge pull request #168 from xixiliguo/mem-busy
    
    Correct memory busy logic in atopsar

commit 6d3109f9cf35abff4e73bc7e55506f449c8c1471
Merge: 0d18f69 2a498f1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 6 10:39:56 2021 +0100

    Merge pull request #173 from bytedance/execvp-CVE
    
    CVE: use execvp with a specified path to avoid PATH hijacking

commit 2a498f1dab5cd710fc228c708ceee8d6974b0ada
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Tue Oct 19 16:08:21 2021 +0800

    CVE: use execvp with a specified path to avoid PATH hijacking
    
    With the upgrade of atop, there are cases when we try to use the new
    atop version to read the incompatible log files generated by the old
    atop version. The current code uses execvp in try_other_version() to
    implement this compatibility mechanism.
    
    However, the execvp is somehow risky. The following is an example.
    - Preparation conditions:
      1. Forge a malicious binary named atop-2.4 under /home/test, and
         add it to the global $PATH.
      2. Supposing there's no real /usr/bin/atop-2.4 or other executable
         atop-2.4 except the malicious /home/test/atop-2.4.
      3. Forge a malformed /var/log/atop/atop_2.4, which can do harm to
         current machine if called by the malicious /home/test/atop-2.4.
      4. Update atop to v2.6.
    - Reproduce:
      Use the current v2.6's atop to read /var/log/atop/atop_2.4, the code
      will finally find out and call the malicious /home/test/atop-2.4
      (`strace` can show the detail), then trigger the hijacking risk.
    - Fix:
      Let's hard-code execvp's first parameter with '/usr/bin/atop' to
      avoid the PATH hijacking.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
    Reported-by: yangqiushi.george@bytedance.com

M	rawlog.c

commit ea332c676785f712e5682395e9a425166f1c1846
Author: peter wang <wangbo.red@gmail.com>
Date:   Sun Oct 3 22:35:41 2021 +0800

    Correct memory busy logic in atopsar

M	atopsar.c

commit 0d18f694afca1c0268e63f60b5aed7cf95e00aed
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Sep 26 14:23:44 2021 +0200

    Add parseable output for per-node NUMA counters

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit d0b2de66b7f88664b2733f3bba1e9ace5b9b40b8
Merge: dc71bc4 1fbda3f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Sep 21 13:28:42 2021 +0200

    Merge branch 'bytedance-add-per-numa-info'

commit 1fbda3f1081a3c2734a215082ff2d4f1870e5898
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Sep 21 13:24:52 2021 +0200

    Additions to NUMA counters
    Table overflow checks, bug fix and manual page has been added.

M	deviate.c
M	man/atop.1
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit ab7fc7d9db4d62a02b9974f04aeae23c10eeb432
Author: huteng.ht <huteng.ht@bytedance.com>
Date:   Fri Aug 13 15:57:13 2021 +0800

    Support second level precision.
    When selecting certain time period through -b and -e flags within the raw
    file, minute level precision is not nicety enough in some circumstances.
    
    Second level precision is provided, which can be pciked up by appending
    [YYYYMMDD]hhmmss form to the flags, meanwhile the old form [YYYYMMDD]hhmm
    is still retained.

M	atop.c
M	atopsar.c
M	man/atop.1
M	man/atopsar.1
M	showgeneric.c
M	various.c

commit 437beeb569aeaccc342184833473f9fb886da364
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Sat Aug 7 20:52:28 2021 +0800

    Gather and show per numa cpu related statistics
    
    Currently there exists many scenarios of mixed services deployment,
    like hybrid cloud, and generally different services are running in
    different numa via cpu-pin technology. At this time, accumulate cpu
    statistics for per numa is extremely meaningful.
    
    By default, the maxnumalines is set to be zero. Specify the
    maxnumalines interactively if needed.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	atop.c
M	atop.h
M	deviate.c
M	photosyst.c
M	photosyst.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 3f5a5e523cd4ae37314c46aa479cf53e17911779
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Fri Jul 16 18:34:33 2021 +0800

    Gather and show per numa memory related statistics
    
    Sometimes we need per numa memory related statistics to troubleshoot,
    let's gather per numa info by reading the
    /sys/devices/system/node/node$n/meminfo. By default, set maxnumalines
    to be zero, in case there exists too many NUMA for one machine.
    
    Besides, show memory fragmentation level for each numa.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	atop.c
M	atop.h
M	deviate.c
M	photosyst.c
M	photosyst.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit dc71bc44af8feaf1ebc4b3e350330b2c63b2d891
Merge: 02a7c5d 14b383a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Aug 9 13:19:54 2021 +0200

    Merge branch 'interfaces'

commit 14b383a824fad8f0edfb7c52875732fdc2e6196b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Aug 9 13:11:32 2021 +0200

    Redesign of code to handle network interfaces
    The old code that handles the properties of network interfaces
    did not scale properly for a large number of interfaces and
    contained bugs.
    The new code regularly gathers information of the network interfaces
    and stores it in a hash list. Besides, it takes care that stats
    of physical interfaces take precedence over stats of virtual interfaces
    in case that the number of interfaces of a system exceeds the maximum
    supported by atop.

M	deviate.c
M	ifprop.c
M	ifprop.h
M	photosyst.c
M	photosyst.h

commit 02a7c5ddcf315148350474292755f4468d91372d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Aug 8 10:11:02 2021 +0200

    Correction in handling of zswap and ksm counters

M	parseable.c
M	photosyst.c
M	showlinux.c

commit abc63c396192c60d03acd76e357ac4bce61a349e
Merge: 8b65a35 842844f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Aug 8 09:42:54 2021 +0200

    Merge branch 'podman'

commit 842844f299e577f30a9c0d90393c47de81c99a8b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Aug 8 09:41:52 2021 +0200

    Support containers created by podman

M	photoproc.c

commit 8b65a35be87e7524d39df206c7b63b0f43e74903
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 3 12:36:49 2021 +0200

    Cleanup old messages

M	showprocs.c

commit 334de688127f94774f4ef71b07a7c9f108053f89
Merge: bbc5733 e3e9994
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 3 11:29:33 2021 +0200

    Merge pull request #154 from ffontaine/master
    
    photosyst.c: fix build on musl

commit bbc57336ecbd11a4858d626211415db634fed5e9
Merge: 28201da ec2b21b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 3 11:25:52 2021 +0200

    Merge pull request #162 from bytedance/fix-perf
    
    Polish do_perfevents when atop built with NOPERFEVENT

commit 28201dabbf443fb5edf0c9033e65d4741cf09162
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 3 11:20:28 2021 +0200

    Do not change owner to root in Makefile (issue #76)

M	Makefile

commit f1edeaa967447fca9b887dafb45e13d1c74d7fc1
Merge: 0e85cba b5330de
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 3 10:58:39 2021 +0200

    Merge branch 'debaccounting'

commit b5330dee8fbfa24db10bc2fc85f23145e62ca522
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 3 10:55:02 2021 +0200

    Support process accounting log /var/log/account/pacct (issue #138)
    The Debian acct package logs to the file /var/log/account/pacct
    for process accounting. This file was not checked by atop when
    looking for process accounting candidates.

M	acctproc.c
M	atopacct.init
M	man/atop.1
M	psaccs_atop
M	psaccu_atop

commit ec2b21bbf99447a48aa5380e4d0d3c4fbfb64b72
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Mon Aug 2 22:20:51 2021 +0800

    Polish do_perfevents when atop built with NOPERFEVENT
    
    The phenomenon is supposing one atop package whose code is older than
    commit: 961a6ce13 has been installed and 'perfevents disable' is also
    defined in atoprc. When trying to update to a version newer than that
    commit, the new atop will crash saying 'atop built with NOPERFEVENT,
    cannot use perfevents'. And the result is we have to remove the tag
    in atoprc before we do update, which is quite inconvenient.
    
    Although perf is forbidden when atop is built with NOPERFEVENT,
    defining 'perfevents disable' in atoprc can actually be allowed. Let's
    avoid that unfriendly crash by making the check code tolerate with
    the 'perfevents disable' tag in /etc/atoprc.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	photosyst.c

commit 0e85cba6a6e27b80fc8ccde4c38440388895d283
Merge: c72143f 9fc4536
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jul 26 09:17:50 2021 +0200

    Merge branch 'showsysclean'

commit 9fc4536d5470f470e50d7e59caee51574232f41c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jul 26 09:15:24 2021 +0200

    Code cleanup showsys.c
    Adapted calling parameters from void * to specific pointers and removed
    unnecessary variables.

M	showlinux.h
M	showsys.c

commit c72143f7b3b3ebca1cd4a921823fd59ff293d524
Merge: 799d800 ae2c756
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Jul 25 14:39:13 2021 +0200

    Merge branch 'dynamic2'

commit ae2c756721f09d45e2d1034df0072c453321a6ba
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Jul 25 14:28:50 2021 +0200

    Do not use doconvert funtion to validate counter (#160)
    The doformat function (formerly named 'doconvert') called all
    sysprt_... functions to determine which fields were relevant and
    which fields were not relevant during a run of atop. This might
    lead to buffer overflows since not all variables used were
    initialized. This issue has been solved now by introducing
    a separate (optional) validation function per counter.

M	showlinux.c
M	showlinux.h
M	showsys.c

commit 799d800173c4f374031066d1651434784bc5e9a9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jun 21 21:52:50 2021 +0200

    New counter for number of NUMA pages migrated

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 90d7c082728b1e74eb2be657f2836bddbfe2ea94
Merge: b06b837 b005365
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jun 21 21:32:35 2021 +0200

    Merge branch 'pizhenwei-vmstat-migrate'

commit b005365f87f03b491105e40dbb701261dfe94a8d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jun 21 21:31:18 2021 +0200

    Modify field order and priority of paging counters

M	showlinux.c

commit 94499112dffb455e2989a18f45dbe9f8395bedf2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jun 21 21:25:42 2021 +0200

    Small text modification for migrated counter

M	man/atop.1

commit b06b8375b713aafb9245d1a87a6024e336bca723
Merge: 87248c3 4b0b717
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 19 17:58:33 2021 +0200

    Merge branch 'correctdeviation'

commit 4b0b7174dc85f7b432b1c9a0338d208eca1933d3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 19 17:56:32 2021 +0200

    Avoid non-initialized prestat by introducing extra pointer

M	deviate.c

commit 8f05cf05e20072dd49dc0a2414515d028fdf4cbc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 19 17:39:56 2021 +0200

    Function 'calcdiff' (deviate.c) used uninitialized prestat struct

M	deviate.c

commit 87248c33f95e4aecdfd515356795da640783e8a2
Merge: a81d5a5 fc405dc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 19 16:29:56 2021 +0200

    Merge pull request #157 from MeinhardZh/nvme-multipath
    
    Support NVMe multipath disk statistics

commit a81d5a5f2be2088fe907cf605a650aa1486fab77
Merge: 8419f02 cf383b0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 19 16:27:42 2021 +0200

    Merge pull request #159 from bytedance/Clean-up-ignored-files
    
    Clean up ignored files

commit a070595212f22ff197a6901b9418c57ee0b41de0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 19 16:20:30 2021 +0200

    Reserver space for future counters.

M	photosyst.c
M	photosyst.h

commit 84d6b2abe404d3746fcf7e6e994512d3676b971d
Merge: 8419f02 508e51c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 19 10:50:51 2021 +0200

    Merge branch 'vmstat-migrate' of https://github.com/pizhenwei/atop into pizhenwei-vmstat-migrate

commit cf383b011c4b8b6d37cf779133a1f2e8466eadf6
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Wed Jun 9 21:19:46 2021 +0800

    Clean up ignored files
    
    Fix #145, and supplement commit e81b1d9c.
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

D	atopsar

commit 8419f02f5daad1f0c09b518029780a203df50b36
Merge: 33072ab 77c87ee
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 3 16:46:44 2021 +0200

    Merge branch 'varsortitem'

commit 77c87ee6fbc8fb2f0c4b640e453405fd76e51999
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 3 16:41:02 2021 +0200

    Variable number of positions for sortitem
    The sort criterion for the process list is a percentage of
    CPU, memory, disk, etc utilization of the process concerned.
    The number of positions for the percentage was fixed 3, considering
    a maximum of 100% (maximum 999%). However, when a process has 10
    threads (or more) on a system with 10 CPUs (or more) the CPU utilization
    of that process can be greater than 999%. Therefore, the number of
    positions for the percentage depends on the number of CPUs now.

M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showprocs.c

commit 33072abd452860d4fa76e3d5ec4b9a0d92bcb284
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 3 15:06:45 2021 +0200

    Adapt man page of atop for state selection (add state 'I').

M	man/atop.1

commit 8d8f9b0ea3e3cd387652f7ab6aef85ad10d1cfa4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 3 14:53:33 2021 +0200

    Allow thread state 'I' with state selection (key 'Q')

M	showgeneric.c

commit bb38fd80633cf11475fc18191d4cc8bf3f0e67ba
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 3 14:40:17 2021 +0200

    Count idle threads as non-interruptible threads
    Sofar threads in state 'I' (TASK_IDLE) were not counted on process
    level (thread categories shown with key 's') and system level (PRC line).
    Idle threads will now be counted as uninterruptible threads.

M	photoproc.c

commit f1431502fbaf22f22ee6f5a1d0b817eca53dd692
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 3 14:29:24 2021 +0200

    Uninitialized index might cause segmentation fault.

M	showlinux.c

commit fc405dc34f280889eb31820e2e673b6a2f3e03d0
Author: zhouenhua <zhouenhua@bytedance.com>
Date:   Wed May 26 17:39:34 2021 +0800

    Support NVMe multipath disk statistics
    
    When NVMe disk multi-path is turned on, the kernel only records IO statistics
    for each multi-path.
    
    Ex, read statistics from /proc/diskstatus:
    0       0 nvme0c0n1 34706049 74843 4815165730 93876201 4187610 1925219 6989322264 47813633 0 45557635 118897696 312571 0 11200562376 857547
    259     1 nvme0n1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    
    For this case, we usually expect the right statistics from nvme0c0n1 instead of nvme0n1.
    
    Signed-off-by: enhua zhou zhouenhua@bytedance.com

M	photosyst.c

commit 508e51cd82cffd213feb8294ec58200175533227
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Tue May 25 09:55:03 2021 +0800

    Support page migration counter
    
    The kernel may migrate pages between NUMA nodes to make memory access
    faster, but during migration the kernel need hold the memory lock of
    target process and trigger TLB flush. It hurts the performance a lot.
    
    Add pgmigrate counter to show/record it for trouble shooting.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit e3e99949d2a95d3f9a39bfe8fb49354613ee918d
Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date:   Mon May 24 21:08:52 2021 +0200

    photosyst.c: fix build on musl
    
    Build on musl is broken since version 2.6.0 and
    https://github.com/Atoptool/atop/commit/e889c66fbe1d0b7ae38fbcbaa46cea749257f486
    because limits.h is not included:
    
    photosyst.c: In function ‘lvmmapname’:
    photosyst.c:1624:14: error: ‘PATH_MAX’ undeclared (first use in this function); did you mean ‘AF_MAX’?
       char  path[PATH_MAX];
                  ^~~~~~~~
                  AF_MAX
    
    Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

M	photosyst.c

commit b004daf963939c925dd775fca9f3cebff7381bd1
Merge: feb220c a4503da
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon May 24 12:15:06 2021 +0200

    Merge branch 'ffontaine-master'

commit a4503da46769329318ee3483ae818d8ff4bf5de7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon May 24 12:12:48 2021 +0200

    Use of struct ethtool_link_settings should be conditional

M	ifprop.c

commit 1d28e46c2f6d1ca856303d1252f24ad0e5db833e
Merge: feb220c aff473e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon May 24 11:06:46 2021 +0200

    Merge branch 'master' of https://github.com/ffontaine/atop into ffontaine-master

commit feb220c77f16030428a28e0365633fde2d34219d
Merge: 69adbd1 918868e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 8 14:29:51 2021 +0200

    Merge branch 'yk144-average-per-second-rounding'

commit 918868e49948df6c7f2ce7ee3fe86e4b23eee2b5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 8 14:28:45 2021 +0200

    Cosmetic change (source code layout)

M	atop.h

commit 8b0f03e55f9fe555ed9a6e64e8e2c6bc9c113c36
Merge: 69adbd1 5c9c88a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 8 14:09:00 2021 +0200

    Merge branch 'average-per-second-rounding' of https://github.com/yk144/atop into yk144-average-per-second-rounding

commit 69adbd109a8111daba53bbaa8680677d3f65fa86
Merge: 48df66d d66ff0e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 8 13:57:39 2021 +0200

    Merge branch 'natoscott-state-filter'

commit d66ff0e48fb6ec90ab84f786c4016fda7cd0644b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 8 13:56:35 2021 +0200

    Various bug fixes and in general add 'thread' to all messages

M	man/atop.1
M	showgeneric.c

commit 441e6f72e7c59974dbd036230afa70523e3c3cde
Merge: 48df66d 44ea948
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 8 13:11:30 2021 +0200

    Merge branch 'state-filter' of https://github.com/natoscott/atop into natoscott-state-filter

commit 48df66d570e640c683a2239016b0fd3ecbd41821
Merge: fed5bd5 0aa920e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Apr 25 15:06:43 2021 +0200

    Merge branch 'bytedance-fix-initifprop'

commit 0aa920ea2b130e0cfae9c38817e88549cfc6c4fc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Apr 25 15:06:14 2021 +0200

    Properly define if interface is virtual or physical

M	ifprop.c

commit cafda7ac55e60996bba6d376f6e977821ca40982
Merge: fed5bd5 ef183ff
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Apr 25 14:45:23 2021 +0200

    Merge branch 'fix-initifprop' of https://github.com/bytedance/atop into bytedance-fix-initifprop

commit fed5bd53a291483c4d2e56ea9cf53b62e8eea5af
Merge: d2ca9f2 95412fa
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Apr 25 14:38:14 2021 +0200

    Merge pull request #150 from natoscott/deprecated-function
    
    Switch to using curses vw_printw as vwprintw is deprecated

commit d2ca9f2954a25b4955c661bb892817988fd03b2e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Apr 25 14:21:38 2021 +0200

    Add license info to various include files (solves issue #144)

M	atopacctd.h
M	gpucom.h
M	ifprop.h
M	netatop.h
M	netatopd.h
M	netstats.h
M	parseable.h
M	rawlog.h

commit 961a6ce137eedc722a27b6002f1ffb3c6ba86842
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Apr 25 13:23:24 2021 +0200

    HTTP statistics modified from -h flag to -o flag (solves issue #152)
    The -h flag was used for the HTTP stats and Infiniband stats. For HTTP
    statistics (by default not activated) the -o flag can be used now.

M	atopsar.c
M	photosyst.c

commit db9eef1d4a3d9414ed00f6c0da0e5dad55f2b9af
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Apr 22 08:24:29 2021 +0200

    Possible buffer overflow with huge number of seconds
    Number of seconds will be limited to 5 positions.

M	showsys.c

commit aa85ccbe1ed475b1be010ba254bf327a0c12a725
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Apr 22 08:07:06 2021 +0200

    Possible buffer overflow with average disk I/O
    The rounding algorithm has been improved and the buffer has been enlarged.

M	showsys.c

commit 44ea948e94f665b5b0c1459b7323759f8944aaf8
Author: Nathan Scott <nathans@redhat.com>
Date:   Mon Mar 22 16:42:45 2021 +1100

    Allow process selection based on specific process states.

M	man/atop.1
M	showgeneric.c
M	showgeneric.h

commit 9cb119713b5e6be43671fe1856fb4bd49ff91fa7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Mar 23 16:50:48 2021 +0100

    Correct definition of environment variable LOGOPTS
    The former definition of the empty environment variable LOGOPTS
    in the atop.service file (Environment=LOGOPTS="") causes an
    empty command line parameter for atop running in the background.
    This empty parameter results in an interval timer definition of 0 seconds
    which means that atop only writes one single sample to the daily logfile
    and after that no more!
    When the environment variable is overruled by the definition LOGOPTS=""
    (or another value) in the file /etc/default/atop the problem is bypassed.

M	atop.service

commit 95412fa4a3eac31e759fbec1030c6ba233514ccb
Author: Nathan Scott <nathans@redhat.com>
Date:   Fri Mar 12 10:45:52 2021 +1100

    Switch to using curses vw_printw as vwprintw is deprecated
    
    Resolves the following compiler warning -
    
    showgeneric.c: In function ‘printg’:
    showgeneric.c:2724:3: warning: ‘vwprintw’ is deprecated [-Wdeprecated-declarations]

M	showgeneric.c

commit 5c580bee1fbfa32fef5558cb3beadb5583952c98
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 6 12:10:15 2021 +0100

    Support multiple counters 'allocstall_' in /proc/vmstat.

M	photosyst.c

commit 12984d6defae1643ed8683f8a09cbf4997bd0949
Merge: dc6856a e4e82b4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 6 11:51:47 2021 +0100

    Merge branch 'bytedance-add-compact_stall'

commit e4e82b4827f49ebf3d4b68128d2cb1231e91b333
Merge: dc6856a d0ae258
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 6 11:46:31 2021 +0100

    Merge branch 'add-compact_stall' of https://github.com/bytedance/atop into bytedance-add-compact_stall

commit dc6856a1f53be7a322f585ac30690239d0416e25
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 20 11:07:20 2021 +0100

    Avoid integer overflow when calculating PSI percentages.

M	showsys.c

commit 67eadc5b2aa22d562480c5b197f58f259eb46f66
Merge: e81b1d9 09935eb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 20 10:57:43 2021 +0100

    Merge branch 'dynamic'

commit 09935eb6e35cc7408a29e11c5026b67378edfa3e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 20 10:49:44 2021 +0100

    Suppress irrelevant counters (solves issue #148)
    In the output of atop, counters will be suppressed when they do not
    contain a relevant value to avoid unnecessary column space to be used.
    A counter does not contain a relevant value when it is not supported
    by the kernel in use, when it relates to a kernel mechanism that is not
    in use on this machine or when the user running atop does not have
    enough privileges to read specific counters.
    To make the user aware that certain counters are missing due to a lack
    of privileges, a message is shown during the first sample.

M	atop.h
M	deviate.c
M	man/atop.1
M	man/atopsar.1
M	parseable.c
M	photosyst.c
M	showgeneric.c
M	showlinux.c
M	showsys.c

commit fa9e907d4174df94935606bb9e84dd38bda87f8c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 20 10:42:17 2021 +0100

    Add the number of OOM kills to the -s report.
    The number of OOM kills are shown as an additional column in the
    'atopsar -s' report. In contradiction to the other frequency columns
    the OOM kills are not shown as a per-second value because a single
    OOM kill during a longer interval might result in 0.00 kills/sec
    in that case.

M	atopsar.c

commit d0ae2589d1ff48ce796b76867c0f96cd63ce7cbf
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Sun Mar 8 11:37:34 2020 +0800

    Record the number of process stalls to run memory compaction
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	prev/photosyst_20.h
M	prev/photosyst_21.h
M	prev/photosyst_22.h
M	prev/photosyst_23.h
M	prev/photosyst_24.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit e81b1d9cb405482b6706aeea774b2ad8fe6718ff
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 30 12:34:14 2021 +0100

    Make clean removes atopsar now (issue 145)

M	Makefile

commit 9decbba5980249129a0cb5ba3b186d07e3590c57
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 30 12:29:54 2021 +0100

    Add counter for the number of OOM kills to the PAG line

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit f62fdc8429a7f170415f4bf58befee9d06ff6c0b
Merge: 462cc2b c0623c0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 30 12:10:24 2021 +0100

    Merge branch 'ksmzswap'

commit c0623c070733953d46e4783ffd35f65714602efb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 30 12:07:58 2021 +0100

    Add counters for zswap and KSM.
    For zswap the counters stored_pages and pool_total_size are added.
    For KSM the counters pages_shared and pages_sharing are added.

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit aff473ee28903775e1bb35793b9c4c50ee0c7270
Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date:   Tue Dec 22 12:23:33 2020 +0100

    ifprop.c: fix build with kernel < 4.6
    
    Build fails with kernel headers < 4.6 since version 2.6.0 and
    https://github.com/Atoptool/atop/commit/08c622ecaa5bb0bb260984ceaddc4730d1b312a7
    
    Indeed, ethtool_link_settings and ETHTOOL_GLINKSETTINGS are only
    available since
    https://github.com/torvalds/linux/commit/3f1ac7a700d039c61d8d8b99f28d605d489a60cf
    
    Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

M	ifprop.c

commit 462cc2ba23dfb0e36d41c6ff2e04f4c67f8aa0bc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Dec 21 20:38:17 2020 +0100

    Set new process-related fields to zero during conversion

M	atopconvert.c

commit 2b674f9d7c58f5e58d52b3416e3504f4c97741e2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Dec 21 19:58:56 2020 +0100

    Added -Wno-stringop-truncation to CFLAGS.
    Avoid warnings about truncating command strings with gcc version 8.

M	Makefile

commit 008f86b758514ac747b506a12a2196e4ba5e7ef1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 19 16:38:18 2020 +0100

    Avoid warnings with gcc 8

M	atopacctd.c
M	rawlog.c
M	showsys.c

commit 1bc1a03e5f88b5a11899876a752c3a83fbb671c4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 19 15:06:35 2020 +0100

    Typo corrected.

M	rpmspec/atop.specsystemd

commit 6ca80e13b074523f46516c5fef6414968f06db9f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 19 14:58:56 2020 +0100

    Update date in man pages.

M	man/atop.1
M	man/atopacctd.8
M	man/atopcat.1
M	man/atopconvert.1
M	man/atopgpud.8
M	man/atoprc.5
M	man/atopsar.1

commit 5f8e318def6882c866d3820cf608b6157afba767
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 19 14:48:45 2020 +0100

    Prepare atop version 2.6

M	version.h

commit e22eefa8b1e8a2064787a8ac9a4e7647fc2ff247
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 19 14:45:24 2020 +0100

    Support file format of atop 2.6

M	atopconvert.c
A	prev/photoproc_26.h
A	prev/photosyst_26.h

commit 8e2b5fbe5f853cabfe01f2be3860c84a1715d543
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 5 11:12:12 2020 +0100

    Avoid error when stopping a stopped daemon (issue #139)
    The -f flag has been added to the rm command to avoid an error
    message when trying to stop a daemon that is not active.

M	atop.init
M	atopacct.init

commit 23642fcdac1fca9bddcb8cbcc2a443a18b2416d3
Merge: af71985 ebc2fe4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 21 13:00:25 2020 +0100

    Merge branch 'threadsort'

commit ebc2fe442aa5de14974a2ccd78ead83719196c1f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 21 12:56:58 2020 +0100

    Sort threads per process in threadview (option 'Y')
    Threads per process (threadview) will be sorted according
    to the current sort criterium when the 'Y' option is active.

M	man/atop.1
M	man/atoprc.5
M	showgeneric.c
M	showgeneric.h

commit af7198583b27800f541464617902fcb7cc637f8e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 7 11:16:43 2020 +0100

    Explicitly refer to python3 instead of python
    Specifically needed for CentOS8 that only knows about python2 and python3.

M	atopgpud
M	rpmspec/atop.specsystemd

commit 16aaba85e16b5e564362c9c6f109480632fd8313
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 24 12:27:43 2020 +0200

    Additional fields for parseable output with label NET
    The most important (error) counters related to TCP and UDP
    have been added to the parseable output with label NET.
    Solves issue #98

M	man/atop.1
M	parseable.c

commit 14c0e5c751f1cd00b7191a5a355199daf11e0ef7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 24 11:27:35 2020 +0200

    Correct man page of atop: parseable output for label PRD
    The obsoleted value 'n' (one but last value) was not described
    in the man page. This has been added now. Solves issue #136

M	man/atop.1

commit 7760d5902451abbb52e45222b07af7667a806163
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 24 11:06:35 2020 +0200

    Issue garbage collection, even when system clock modified
    Even when the system clock (epoch) is decreased, garbare collection
    should continue to avoid that too many shadow files will occupy
    disk space. Solves issue #132

M	atopacctd.c

commit 25c6d641e3b6c4f424003d70b40b0239c0c2b10b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 3 12:32:17 2020 +0200

    Size of swap cache added to SWP row (issue #117)

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 90fdd81607461095d7b42525d4924c18b513cd06
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 3 11:25:29 2020 +0200

    Show PPID for terminated processes (solves issue #120).
    When the format of the process accounting record provides the PPID,
    it should also be shown in the various info (key 'v').

M	showprocs.c

commit 27dbe4e17634e58fdca5930e8cf2c2e06cd40821
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 29 11:50:17 2020 +0200

    When atopacctd restarts, it recreates the shadow directory
    When atopacctd is killed and restarted afterwards, the shadow directory
    /var/run/pacct_shadow.d still exists. The old directory will be renamed
    to a unique name (containing the PID of the running atopacctd) because
    files from this directory might still be opened by running atop processes.
    After that, a new directory will be created without intervention.
    Solved issue #121

M	atopacctd.c

commit ef183ffd59fdfd108f6d2f65ea9153c4a032d6d6
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Tue Apr 21 10:40:21 2020 +0800

    Fix initifprop() when obtaining properties of all interfaces
    
    This patch fixes two issues:
    - Correctly set link_mode_masks_nwords when using
      ETHTOOL_GLINKSETTINGS to query devices, or else we can only obtain
      base fields from kernel function: ethtool_get_link_ksettings()
      without any link_settings filed is stored.
    - Considering not all net drivers realize the "phy_address" field in
      kernel, to determine whether or not a network interface is virtual,
      let's read /sys/devices/virtual/net/xxx to obtain all virtual
      interfaces' name, and then do compare with each ifprops[i].name to
      filter it.
    
    Fixes: 08c622ecaa5bb0bb260984ceaddc4730d1b312a7
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	ifprop.c

commit 8c6b556a60048beafa40547dee1eff90ed728e79
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 11 07:58:45 2020 +0200

    Skip empty lines in atoprc file

M	atop.c
M	atopsar.c
M	various.c

commit 4a215076767b4198a87dace45bdfd976d1da9c9f
Merge: 678431f 93877ad
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 11 07:37:35 2020 +0200

    Merge pull request #125 from bytedance/oom_score_fixed_adj
    
    Try to set the highest OOM priority for atop

commit 93877ad6dc5c80b97fc91fc1f8df20c064390895
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Tue Aug 11 10:08:37 2020 +0800

    Try to set the highest OOM priority for atop
    
    We usually expect that atop has highest OOM priority. when the system
    runs out of memory, atop still could record necessary infomation.
    Then we are able to analyze the OOM situation afterwards.
    
    The orignal verion of this feature: read config from atoprc, then
    apply to atop process. But Gerlof considers that just trying to set
    the highest priority is better. So rewrite this as Gerlof's advise.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	atop.c
M	atop.h
M	various.c

commit 678431f34ad49ef6ade6652eb0bb39f07dc42e6d
Merge: dd0fb8a 67ab9e3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Aug 10 20:49:35 2020 +0200

    Merge pull request #124 from bytedance/fix-prusage
    
    Fix prusage segmentation fault when vis.show_usage is null

commit 67ab9e3d6db1c39f5e5816690995e4503d99ec29
Author: Fei Li <lifei.shirley@bytedance.com>
Date:   Wed Aug 14 20:15:30 2019 +0800

    Fix prusage segmentation fault when vis.show_usage is null
    
    Signed-off-by: Fei Li <lifei.shirley@bytedance.com>

M	atop.c

commit dd0fb8a41afcd9cc03323df33340a40cc6dba3ea
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 3 21:16:17 2020 +0200

    Add WCHAN to parseable output (PRC).

M	man/atop.1
M	parseable.c

commit 4739704df2449766ac1ac3f2b74f3dc5f1904709
Merge: 9997130 f5742ac
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 3 20:34:40 2020 +0200

    Merge branch 'wchan'

commit f5742ac88ef2e554890bd9a418a403f1bc6b3912
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 3 20:26:52 2020 +0200

    Maintain WCHAN per thread
    When the 'W' key or the -W flag is used, the wait channel will be
    determined for every sleeping thread. Gathering of this value is optinal
    because the determination of the WCHAN string is relatively CPU-intensive
    for atop.
    The WCHAN is shown when selecting the scheduling statistics (key 's').

M	atop.c
M	atop.h
M	deviate.c
M	man/atop.1
M	photoproc.c
M	photoproc.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 99971301394dce410976de972b9536e6db03760e
Merge: ef62300 ed1f6d3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jul 2 16:22:41 2020 +0200

    Merge branch 'bytedance-schedstat'

commit ed1f6d30bd359f4d264edfde4e65bcafb16ad32b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jul 2 16:17:30 2020 +0200

    Show runqueue delay for process and threads
    For every process (cumulated) and thread the time spent waiting on
    a runqueue is shown (RDELAY).

M	deviate.c
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	showlinux.c
M	showprocs.c

commit 2119fe754f6a75e444c1c48d7303a6754210efbe
Merge: ef62300 0ffbcd9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jul 2 14:08:37 2020 +0200

    Merge branch 'schedstat' of git://github.com/bytedance/atop into bytedance-schedstat

commit ef62300ffa08ca978ed6d1bfe7eb65fb242aa873
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jun 15 14:03:49 2020 +0200

    Occasional segmentation fault when atop is combined with netatop
    Even when the number of exited processes via netatop was zero, still
    a malloc was issued. In certain circumstances a structure could have
    been stored at the address that was returned by malloc, resulting in
    a segmentation fault on a subsequent malloc.

M	netatopif.c

commit 7838d54e81070eedfe5c7362fcca9875fa8d81c5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jun 15 13:58:47 2020 +0200

    Prevent race condition when last atop stops and new one is started
    When the last atop incarnation terminates, the atopacctd issues a
    cleanup of all accounting files and writes a new'current' file.
    When a new atop is started meanwhile, a race condition might be
    introduced, which is prevented by a semaphore.

M	acctproc.c
M	atopacctd.c

commit 19b0d7c12d708d788768c14b45a9ec1114334814
Merge: ebf956c eba520e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 6 11:54:48 2020 +0200

    Merge pull request #110 from xixiliguo/atop-rotate
    
    disable atop-rotate.timer when uninstall

commit 0ffbcd91a346f6e3ac7a22af1b49dd956f00f0c9
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Fri May 22 19:54:09 2020 +0800

    Support time spent waiting on a runqueue collection
    
    Collect run delay information from /proc/<pid>/schedstat, and show
    in schedproc page.
    
    It's helpful for latency spike trouble shooting case.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	deviate.c
M	photoproc.c
M	photoproc.h
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit ebf956cc28aef6e818e32b920e8e2e73577777f8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 16 13:00:03 2020 +0200

    Show ARC size for ZFSonlinux
    The new counter `zfarc` is introduced for memory analysis on system level
    showing the current size of the ARC (cache) for ZFSonlinux.

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 62961a0190e8844f936ae52162127c58a87d6392
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Apr 28 16:02:13 2020 +0200

    Add 'New Process' indicator to parseable output.
    A new field is added to the output line of -PPRG indicating if the
    process is newly started during the interval.

M	man/atop.1
M	parseable.c

commit 3ddaaa3324a1e2ee67b6c4d85f38c13ce6139d90
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Apr 28 14:59:41 2020 +0200

    Correct handling of locale.

M	README
M	showgeneric.c

commit eba520edfdcc4ddf6bd912447bba57ce13f099db
Author: root <root@localhost.localdomain>
Date:   Wed Apr 22 19:35:40 2020 +0800

    disable atop-rotate.timer when uninstall

M	rpmspec/atop.specsystemd

commit 62dc8de0b9a5001268a75950d7d2594d56c4db4a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 7 14:51:00 2020 +0100

    Modified locale to "C" to avoid failing sscanf for floats

M	showgeneric.c

commit d87e22b6815d4036dae5f14bab6dca54f9c34e59
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 7 14:50:21 2020 +0100

    Modified /usr/lib/systemd/system to /lib/systemd/system

M	Makefile

commit ff551421bff21c272de43e02b8179144f17b7fc9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Mar 6 07:51:00 2020 +0100

    Atopcat: add flags -d (dryrun) and -v (verbose)

M	atopcat.c
M	man/atopcat.1

commit 2990fd589f5764fafe3abef2fb2e43002070562f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Feb 24 19:10:09 2020 +0100

    Allow forward branches when reading raw data from a pipe.

M	man/atop.1
M	rawlog.c

commit e86f32d200fa02dcaaf8bac066160768b48d7d68
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Feb 24 18:19:46 2020 +0100

    Introduction of command 'atopcat' to concatenate rawlog files
    With the command 'atopcat' the contents of rawlog files can be
    concatenated and written to stdout. The output of this command
    can be redirected to a file or transferred via a pipe to atop or
    atopsar. In this way weekly, monthly, ... reports or extractions
    can be created in an easy way.

M	.gitignore
M	Makefile
A	atopcat.c
M	atopconvert.c
A	man/atopcat.1
M	man/atopconvert.1
A	rawlog.h
M	rpmspec/atop.specsystemd
M	rpmspec/atop.specsysv

commit 186ab18f0cf66252db7dbd7187c9efb55f4f4188
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Feb 24 18:10:40 2020 +0100

    Support reading raw log from pipe with option '-r -'
    Atop and atopsar can read raw log data from a pipe via stdin
    when the option '-r -' is used. Since a seek is not possible on a
    pipe, no rewind is possible nor viewing of previous samples.

M	atop.c
M	atopsar.c
M	man/atop.1
M	man/atopsar.1
M	rawlog.c
M	showgeneric.c

commit c43dc50eee1c9265340c8531db80a83ec1a06b84
Merge: bc2e412 115feba
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 22 17:01:46 2020 +0100

    Merge branch 'multiday'

commit 115febabe00a562bb40d11da697ff1e452281fce
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 22 16:57:47 2020 +0100

    Support of logfiles that span 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.

M	atop.c
M	atop.h
M	atopsar.c
M	man/atop.1
M	man/atopsar.1
M	netatopif.c
M	rawlog.c
M	showgeneric.c
M	various.c

commit bc2e412791bf5b1d206a362ec1f9ce9f23beac42
Merge: 8b9cd3f f202a31
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 22 13:24:20 2020 +0100

    Merge pull request #100 from zlandau/loadavg_crash
    
    Fix crash when system reports huge load averages

commit f202a317994f563a25a8c64a38ba4445a1d4606b
Author: Zachary P. Landau <zlandau@jellofund.net>
Date:   Sun Feb 16 12:33:30 2020 -0800

    Fix crash when system reports huge load averages
    
    The load average reporting functions in showsys.c use static buffer
    sizes. When the load averages on a machine are very large, this causes
    the writes to extend past the buffer. With this commit, if a number is
    too large then we just show '>NNNNNN'. I'm not sure if this is the best
    choice, so I'm open to other ideas.
    
    This is what the output looks like when we exceed the maximums:
    
      CPL | avg1 >999999 | avg5 >999999 | avg15 >99999 | csw 103117e3 | intr 88296e3 |
    
    Note that this was triggered from a kernel that is reporting clearly
    inaccurate numbers:
    
      $ cat /proc/loadavg
      1.25 2.40 368567045.47 1/589 53576
    
    But regardless, crashing is no fun.
    
    For future reference, I narrowed down the issue by building with
    -fsanitize=address. For example:
    
      ==55396==ERROR: AddressSanitizer: global-buffer-overflow on address 0x55c527d6f14f at pc 0x7f4729942df9 bp 0x7ffe1fd30710 sp 0x7ffe1fd2fea0
      WRITE of size 10 at 0x55c527d6f14f thread T0
          #0 0x7f4729942df8 in __interceptor_vsprintf /build/gcc/src/gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:1627
          #1 0x7f47299432cf in __interceptor_sprintf /build/gcc/src/gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:1670
          #2 0x55c527d1c167 in sysprt_CPLAVG15 (/home/kapheine/projects/atop/atop+0x74167)
          #3 0x55c527d2087a in showsysline (/home/kapheine/projects/atop/atop+0x7887a)
          #4 0x55c527d1471f in prisyst (/home/kapheine/projects/atop/atop+0x6c71f)
          #5 0x55c527d090ff in generic_samp (/home/kapheine/projects/atop/atop+0x610ff)
          #6 0x55c527ce17c9 in main (/home/kapheine/projects/atop/atop+0x397c9)
          #7 0x7f472952a022 in __libc_start_main (/usr/lib/libc.so.6+0x27022)
          #8 0x55c527ce266d in _start (/home/kapheine/projects/atop/atop+0x3a66d)
    
      0x55c527d6f14f is located 49 bytes to the left of global variable 'buf' defined in 'showsys.c:981:54' (0x55c527d6f180) of size 15
      0x55c527d6f14f is located 0 bytes to the right of global variable 'buf' defined in 'showsys.c:1000:54' (0x55c527d6f140) of size 15

M	showsys.c

commit 8b9cd3f8225d7d17828e42dd73f1e8b47176f11a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 15 12:00:45 2020 +0100

    Wrong checks on return values of write and pread syscalls

M	atop.c
M	atop.h
M	atopacctd.c
M	atopsar.c
M	rawlog.c
M	showgeneric.c
M	various.c

commit 7bbfd140d2511cb9046905a51096376d7d9b0669
Merge: d4769ab ffc8ba8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 15 10:20:54 2020 +0100

    Merge pull request #50 from Saur2000/master
    
    atop.daily, atop.init, atop-pm.sh, mkdate: Avoid using bash

commit d4769ab3882d1d74219564f415823e8d29877358
Merge: dfa87a6 788c388
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 15 10:13:55 2020 +0100

    Merge pull request #99 from bytedance/logopts-man
    
    Update man about default LOGOPT '-R'

commit 788c3883f5e1567bba572da92c17facd6332e898
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Tue Feb 11 09:55:13 2020 +0800

    Update man about default LOGOPT '-R'
    
    Since 604b563a223130d9bcce3d3358537a6c5ce05e7a, atop has removed
    default LOGOPT '-R', so update man page here.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	man/atop.1

commit dfa87a64a68acea86a470063c02be044fbfa518c
Merge: 14900df ad4b3c8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 8 10:25:31 2020 +0100

    Merge branch 'rpungartnik-StringManipulation'

commit ad4b3c8cd40b01a68f7e6bdc6bacfcf1117db1ae
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 8 10:22:40 2020 +0100

    Avoid negative values to cause memory overflow, but do not set to 0.

M	photosyst.c
M	showsys.c

commit 2292e0b5b9327eeae2c1078f0e266d1febef7645
Merge: 14900df e889c66
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Feb 8 10:00:09 2020 +0100

    Merge branch 'StringManipulation' of git://github.com/rpungartnik/atop into rpungartnik-StringManipulation

commit 14900df5b75bf4d97e0c47caa8ea08f9386230e1
Merge: b3356e5 b2f804c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 18 12:07:42 2020 +0100

    Merge branch 'rpungartnik-ResultCheck'

commit b2f804c8b49501dc2d8e941bbdfe47e4ec2203e3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 18 12:05:06 2020 +0100

    Avoid compiler warnings due to unused results
    Compiler warnings are given for return values of system calls
    that are not verified, even if these system calls are allowed
    to fail.

M	atopacctd.c
M	photosyst.c
M	rawlog.c
M	various.c

commit 5a39c743c6094c3c4e141dfc7a109cecb46c0944
Merge: b3356e5 2fd755b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 18 11:49:13 2020 +0100

    Merge branch 'ResultCheck' of git://github.com/rpungartnik/atop into rpungartnik-ResultCheck

commit b3356e5c46d52f23d299b885de8095add0008ac2
Merge: 95e2525 68b2a90
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 18 11:41:14 2020 +0100

    Merge branch 'master' of github.com:Atoptool/atop

commit 95e252560e435f13fe4d8055de7cbdb1b6a164b5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 18 11:39:31 2020 +0100

    Datatype double changed to long for percentage PSI percentage.

M	showsys.c

commit 68b2a9008ef2aa72e4badd1eb2a0107555f404aa
Merge: 461ebee 604b563
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jan 14 10:32:37 2020 +0100

    Merge pull request #97 from bytedance/logopts
    
    Drop '-R' in default log option

commit 604b563a223130d9bcce3d3358537a6c5ce05e7a
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Mon Jan 13 10:14:08 2020 +0800

    Drop '-R' in default log option
    
    '-R' option is implemented by reading '/proc/PID/smaps' or
    '/proc/PID/smaps_rollup'. During atop reading smaps/smaps_rollup,
    atop needs hold the task->mm->mmap_sem, reference linux source code,
    
    file linux/fs/proc/task_mmu.c
    static void *m_start(struct seq_file *m, loff_t *ppos)
    {
            ...
            down_read(&mm->mmap_sem);
            ...
    }
    
    then atop walks the page table of target process and release lock.
    
    The target also needs hold the lock when mmap/mumamp/page fault
    handling. The lock race will hurt the performence of the target
    process. A typical case is the latency spike of large size memory
    of redis.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	atop.daily
M	atop.default
M	atop.service

commit 461ebeecd1e5018d9b23ab6bef466232107f6833
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 11 10:38:04 2020 +0100

    Correct handling of atopsarflags from atoprc file
    The default setting for the options of atopsar was not correct
    (wrong calling parameter was used). Issue solved.

M	atopsar.c

commit e889c66fbe1d0b7ae38fbcbaa46cea749257f486
Author: Roberto <rpungartnik@gmail.com>
Date:   Thu Jan 9 08:54:28 2020 -0300

    Compilation warnings - String Manipulation
    
    Changed the size of path variable using system constant
    Implemented data size check during message creation to avoid buffer overflow and problems when displaying messages.
    
    Now negative numbers are presented as 0(zero) and to big numbers are presented as maximum value(ex.9999). This will avoid problems in case of invalid or unexpected data.
    
    This was tested compiling in 32 and 64 bits.

M	photosyst.c
M	showsys.c

commit cd2c98dfc8f73b3c44c1df0743cf2f43f6ef7ef8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jan 9 11:41:17 2020 +0100

    Show virtually locked memory per process
    Per process the value LOCKSZ is maintained to show the amount of memory
    being locked by the process (virtually). This value is shown for individual
    processes (key 'm') but also as accumulated value for keys 'p', 'u' and 'j'.

M	deviate.c
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	showgeneric.c
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit e0a96a343e1b476cccd32a025d70421bdc754c2f
Merge: 0878ae4 4b0cc91
Author: Roberto <rpungartnik@users.noreply.github.com>
Date:   Mon Jan 6 10:13:58 2020 -0300

    Merge pull request #1 from Atoptool/master
    
    update

commit 4b0cc9133d9e8772a29f8a910ee48615577efd66
Merge: bcbe687 91e0340
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 4 10:53:37 2020 +0100

    Merge branch 'master' of github.com:Atoptool/atop

commit bcbe68712009663f3fe54214c0fe25dc07e668b5
Merge: 7f4fa0f 5e14308
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 4 10:52:50 2020 +0100

    Merge branch 'rpungartnik-CompilationFlags'

commit 5e14308568bf90d538fe9a0235df8341fe068d7b
Merge: 7f4fa0f 1d22fd8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 4 10:51:15 2020 +0100

    Remove explicit compolations from Makefile (issue #91)

commit 91e0340e704b4334df4c9d1e9dda9b0adb7399e8
Merge: 7f4fa0f 95e5d72
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 4 10:34:30 2020 +0100

    Merge pull request #90 from rpungartnik/CompilationWarnings
    
    Solved some compilation warnings

commit 7f4fa0f7fe3a20e0ba0e348529e1f94613d36d99
Merge: 0878ae4 fa101b4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 4 10:26:09 2020 +0100

    Merge branch 'db48x-avio-time-scaling'

commit fa101b4dc5d3729d84466f708c29959570bd0919
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 4 10:20:50 2020 +0100

    Report disk average I/O in microseconds/nanoseconds (issue #89)
    Very fast drives might show 0.0 ms as the average I/O time. Therefore,
    average I/O unit will be adapted to the smallest possible unit.
    Due to the use of microseconds (abbreviates to a multibyte character),
    the ncursesw library is used instead of ncurses library (the latter
    calculates the number of characters in a wrong way).

M	Makefile
M	atopsar.c
M	showgeneric.c
M	showsys.c

commit e47d9f7dbf0ffcd12ce2540097fa2fa87d8ab718
Merge: 0878ae4 c20cbce
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 4 09:30:20 2020 +0100

    Merge branch 'avio-time-scaling' of git://github.com/db48x/atop into db48x-avio-time-scaling

commit 2fd755b83103a2cdda8c4bdd1765e2ac3a75a418
Author: Roberto <rpungartnik@gmail.com>
Date:   Fri Jan 3 22:31:07 2020 -0300

    Compilation Warning - Unused Result on system calls
    
    Newer versions of gcc enforce to check the result of system calls

M	atopacctd.c
M	photosyst.c
M	rawlog.c
M	various.c

commit 95e5d72c5a311c356994ec0f4743095bbf8548cc
Author: Roberto <rpungartnik@gmail.com>
Date:   Thu Jan 2 21:53:15 2020 -0300

    Solved some compilation warnings
    
    Resolved warning from unused rcsid variable
    Resolved  "misleading indentation" warnings
    
    No changes in behaviour
    
    No changes in behaviour

M	atop.c
M	atopsar.c
M	deviate.c
M	photoproc.c
M	photosyst.c
M	showgeneric.c
M	showlinux.c
M	showprocs.c
M	showsys.c

commit 1d22fd8f161e8db198f0f44fb3ce498d04f2f21b
Author: Roberto <rpungartnik@gmail.com>
Date:   Thu Jan 2 20:56:32 2020 -0300

    Use CFLAGS and LDFLAGS to all files

M	Makefile

commit 0878ae435d65d2fdcf73a96bd8502fe754ea9af7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Dec 31 12:44:26 2019 +0100

    Show PSI pressure percentage during interval (issue #72)
    Atop and atopsar show the pressure percentage during the interval
    as most important percentage now. Atop still shows the average
    percentages for the last 10, 60 and 300 seconds by widening the window.

M	atopsar.c
M	man/atop.1
M	man/atopsar.1
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 08c622ecaa5bb0bb260984ceaddc4730d1b312a7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Dec 24 12:20:02 2019 +0100

    Suppress busy percentage for virtual network interface (issue #83)
    Determine whether or not a network interface is virtual (for which
    the interface driver usually returns 10 Mbit as speed) by checking
    the physical address.

M	ifprop.c

commit c20cbce6a3885ce9cba604de829c311909909e97
Author: Daniel Brooks <db48x@db48x.net>
Date:   Wed Dec 11 12:45:09 2019 -0800

    show disk avio values in microseconds or nanoseconds as appropriate

M	showsys.c

commit 802fb3a235c5fd9aa4e6cdc0fb3c31e2dca8ea4a
Merge: e4343d3 1c45948
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 23 12:45:08 2019 +0100

    Merge branch 'bytedance-readahead-rawlog'

commit 1c459481bbef630f335a7e6e1ec7e60daa94ebee
Merge: e4343d3 a34e347
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 23 12:36:53 2019 +0100

    Merge branch 'readahead-rawlog' of git://github.com/bytedance/atop into bytedance-readahead-rawlog

commit e4343d34b0840212266838267e5370fb559354f4
Merge: 1f21007 20443a3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 23 12:12:45 2019 +0100

    Merge pull request #59 from arielnh56/patch-1
    
    Make LOGPATH overrulable

commit 1f210074196daaebd8ac3ceca5e74d9f353d67a7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 23 11:54:10 2019 +0100

    Avoid overriding /etc/default/atop during RPM upgrade
    The file /etc/default/atop should not be overwritten during
    an RPM upgrade, so it is marked by %config(noreplace) in the
    RPM spec (solved issue #86).

M	rpmspec/atop.specsystemd
M	rpmspec/atop.specsysv

commit 737ae433646fe789cc6f26f18f622e0ee799fe2c
Merge: d292f1b dfb9cb9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 23 11:02:00 2019 +0100

    Merge pull request #81 from jubnzv/fix-infiniband
    
    photosyst.c: fix possible error in reading InfiniBand states

commit d292f1b4f4dcc582f72d8e04d511897c543c6bca
Merge: 224ab67 485a453
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 23 10:49:54 2019 +0100

    Merge pull request #82 from BlackIkeEagle/defpath-not-created
    
    DEFPATH not created so touch fails

commit 485a453d2ae5700874a57dffc297030254b5ae7c
Author: BlackEagle <ike.devolder@gmail.com>
Date:   Mon Nov 4 09:00:54 2019 +0100

    DEFPATH not created so touch fails
    
    ```
    touch               /build/atop/pkg/atop/etc/default/atop
    touch: cannot touch '/build/atop/pkg/atop/etc/default/atop': No such file or directory
    ```
    
    Add DEFPATH mkdir in genericinstall to make sure the folder
    `$(DESTDIR)/etc/default` exits
    
    Signed-off-by: BlackEagle <ike.devolder@gmail.com>

M	Makefile

commit 224ab67066810dcb3f80ab40c34bd4ab8d6a2ad7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 2 12:27:18 2019 +0100

    Prepare for release 2.5

M	.gitignore
M	version.h

commit e34478820e033a9e581ed601245fef2ae60878b2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 2 12:26:16 2019 +0100

    Add default values for /etc/default/atop file

A	atop.default
M	rpmspec/atop.specsystemd

commit baf1458e07d37565f7aad469974c87ef0cabc547
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 2 12:25:09 2019 +0100

    Add new structs for version 2.5 to atopconvert

M	atopconvert.c
A	prev/photoproc_25.h
A	prev/photosyst_25.h

commit 5089600aed667e01846c89fe0bf2c2b4d9b58f02
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Nov 2 12:23:45 2019 +0100

    Modify manual dates

M	man/atop.1
M	man/atopacctd.8
M	man/atopconvert.1
M	man/atopgpud.8
M	man/atoprc.5
M	man/atopsar.1

commit 6fa0306b8966ac0210bb013de4289951f8499ab8
Merge: a802f1a 43b50d0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 26 22:32:32 2019 +0200

    Merge branch 'timers'

commit 43b50d02d413aba226154d3ce8b4721b27b0a06c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 26 22:28:37 2019 +0200

    Modify man pages and spec files for added unit files
    The atop.daily script is not used any more for systemd-based systems.
    The man page of atop has been changed accordingly. Furthermore, the
    spec files have been modified to install the new unit files.

M	Makefile
M	atop-rotate.service
M	atop-rotate.timer
D	atop.cronsystemd
M	atop.service
M	man/atop.1
M	rpmspec/atop.specsystemd
M	rpmspec/atop.specsysv

commit dfb9cb957eb3464a435908e70d74533558d3aa09
Merge: c1f68ba 0ee181b
Author: Georgy Komarov <jubnzv@gmail.com>
Date:   Fri Oct 25 07:41:20 2019 +0300

    Merge pull request #1 from codebling/fix-infiniband-cleanup
    
    Move `ibc` property init to original location, revert whitespace changes

commit 0ee181b084bca95cb98420737bd98a0f8779a6e4
Author: Code Bling <codeblingx@gmail.com>
Date:   Thu Oct 24 16:01:15 2019 -0400

    Move `ibc` property init to original location, revert whitespace changes

M	photosyst.c

commit c1f68ba78275ebbc0da113acc97fc56c8f0cfd7f
Author: Georgy Komarov <jubnzv@gmail.com>
Date:   Thu Oct 24 14:52:59 2019 +0300

    fixup uninitialized memory usage in ibstat

M	photosyst.c

commit f8024a674203cec60ab311879b34292a10abff5d
Merge: a802f1a 97d7b82
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Oct 23 21:31:33 2019 +0200

    Merge branch 'master' of git://github.com/SjonHortensius/atop into timers

commit 791e4f8a9eeb1c1d5617f4696135ed0694366b43
Author: Georgy Komarov <jubnzv@gmail.com>
Date:   Fri Oct 18 23:46:21 2019 +0300

    photosyst: fix possible error in reading InfiniBand states
    
    Make sure that we read rate file successfully to avoid usage of
    uninitialized local variables.

M	photosyst.c

commit 97d7b8225d486211a0a02521a406f83780262253
Author: Justin Kromlinger <mail@hashworks.net>
Date:   Fri Oct 11 13:37:27 2019 +0200

    Read environment file in systemd service, use atop defaults (#1)
    
    Read environment file in systemd service, use atop defaults instead of hardcoded

M	atop.service

commit a34e3478e1dabe06877881abd9d808180f4c8058
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Fri Sep 27 17:27:54 2019 +0800

    Readahead rawlog to make -b operation faster
    
    1, use posix_fadvise POSIX_FADV_SEQUENTIAL to double kernel readahead buffer.
    2, HDD typically has a 100~200 IOPS, atop needs to read raw records more fastly
    under low IOPS. So use pread syscall to load a large area(default every 4M) in
    page-cache.
    
    Test env:
    set disk iops as 200 for a virtual machine(KVM).
     virsh blkdeviotune stretch sdb --write-iops-sec 200 --read-iops-sec 200 --live
    
    Test cases:
    1, test upstream atop without any page cache
            ~# vmtouch -e /var/log/atop/atop_20190916
            ~# time /root/atop-upstream -r /var/log/atop/atop_20190916 -b 18:00
            real    0m54.639s
            user    0m0.094s
            sys     0m0.321s
    
    2, test upstream atop with full page cache
            ~# vmtouch -t /var/log/atop/atop_20190916
            ~# time /root/atop-upstream -r /var/log/atop/atop_20190916 -b 18:00
            real    0m1.266s
            user    0m0.004s
            sys     0m0.021s
    
    3, test new atop without any page cache
            ~# vmtouch -e /var/log/atop/atop_20190916
            ~# time /root/atop-new -r /var/log/atop/atop_20190916 -b 18:00
            real    0m3.818s
            user    0m0.023s
            sys     0m0.170s
    
    case 1 & case 2: speed of reading rawlog effects atop performance a lot.
    case 1 & case 3: readahead makes performance better.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	rawlog.c

commit a802f1a68ff0f3f06e6a4c609a87c0679bd07fce
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Sep 18 21:43:20 2019 +0200

    Allow raw data to be read from a named pipe
    When reading raw data from a named pipe instead of from
    a regular file, it is not possible to branch ('b'), reset ('r')
    or go to a precious sample in an interactive session. With atopsar,
    only one report can be generated (no combination of various reporting
    flags).

M	atop.h
M	atopsar.c
M	man/atop.1
M	rawlog.c

commit db74804d15e98af37ed62bfcad95a93959c9d277
Merge: b10ee34 78f99bb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Sep 18 12:02:31 2019 +0200

    Merge pull request #69 from gleventhal/fix-lseek-segfault-on-nonseekable-piped-rawlog
    
    Check that rawlog is seekable to prevent later segfaults

commit b10ee3492ee232a600aa934a724c4c687c691e79
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Sep 18 11:46:58 2019 +0200

    Improve determination of container ID
    Many processes might use the cpuset cgroup without being a
    container. The length of the basename is verified to be at
    least 64 characters (length of SHA256 identifying a container).

M	photoproc.c

commit fea96f0690f6694624d85b9cb4f216fafea09b79
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Sep 16 21:02:23 2019 +0200

    Correction to avoid loosing first position of CID.

M	photoproc.c

commit 3fe8f59d71cb8cd70d0fa8d4fd77f232be2922d1
Merge: 3e0b68c a3db75e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Sep 16 20:57:26 2019 +0200

    Merge branch 'bytedance-fix-docker-container-k8s'

commit a3db75e174efbe95518f5a18fe89b9aa8154e177
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Sep 16 20:55:04 2019 +0200

    Proposed solution for K8s containers modified.
    Docker containers on RedHat/CentOS based systems have
    a prefix 'docker-' behind the last '/' that should
    be skipped.

M	photoproc.c

commit 82f2fc889419555a9a1df868e6d1133c0b0169cc
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Fri May 24 19:54:42 2019 +0800

    Fix container compatibility for docker created by k8s
    
    Cpuset of a docker created by k8s looks like this:
        /kubepods/burstable/pod07dbb922-[SNAP]/223dc5e15b[SNAP]
    
    Instead of checking prefix "docker", we usually get 12 char from
    last '/'.
    Test for docker and k8s, both of them work well. 'CID' row shows
    the same string as the `docker ps`.
    
    Test result for k8s:
    ~# docker ps
    CONTAINER ID        IMAGE                                             COMMAND                  CREATED             STATUS              PORTS               NAMES
    e978af4928f6        hub.byted.org/google_containers/pause-amd64:3.0   "/pause"                 39 hours ago        Up 39 hours                             k8s_POD_dp-9fe0dd7536-55fd89b474-[SNAP]
    
    ~# atop -j
    NPROCS            SYSCPU             USRCPU              VSIZE              RSIZE             PSIZE             SWAPSZ              RDDSK              WRDSK             RNET              SNET              CPU             CID      1/1
       557             1h42m              2h57m              29.6G               1.3G              1.1G                 0K               1.9G              19.0G                0                 0              11%             host--------
         1             0.00s              0.00s              1028K                 4K              109K                 0K                 0K                 0K                0                 0               0%             e978af4928f6
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	photoproc.c

commit 3e0b68cb9858a16749c98c3d399d2373e239caa6
Merge: 1b50456 086366f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 10 12:20:13 2019 +0200

    Merge branch 'bytedance-perfevent'
    By default, suppress gathering of 'perf' counters on VM guests.

commit 086366f9e008c711d51e8400ae9d54479224fae0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 10 12:18:46 2019 +0200

    Adapt documentation to new keyword 'perfevents' in atoprc.

M	man/atop.1
M	man/atoprc.5
M	photosyst.c

commit ea9e1814e255922dfedbb428bea48d2800f681f3
Merge: 1b50456 16abcac
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 10 10:34:48 2019 +0200

    Merge branch 'perfevent' of git://github.com/bytedance/atop into bytedance-perfevent
    Avoid overhead using perf in VMs.

commit 1b504568a4562ce6fca93275898e084a8f832d29
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 3 12:47:11 2019 +0200

    Error messages no longer wiped by clear screen
    By introducing function mcleanstop, error messages are
    shown after ncurses has closed the window (solves issue #67).

M	acctproc.c
M	atop.c
M	atop.h
M	atopsar.c
M	deviate.c
M	netatopif.c
M	photoproc.c
M	photosyst.c
M	rawlog.c
M	showlinux.c
M	various.c

commit 1e93ac6a8e486dfda633af049c950040020373c9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Aug 3 09:52:18 2019 +0200

    Exchanged a TAB by spaces in front of statement
    (TAB was accepted by Python2 but refused by Python3).

M	atopgpud
M	man/atopgpud.8

commit 78f99bbfb6d54a420c404fd8c37dc4f48b7f8110
Author: gregg leventhal <gregglev@yahoo.com>
Date:   Mon Jun 24 16:25:58 2019 -0400

    Check if rawlog is a regular, seekable file.  If the user does atop -r <(gunzip atop_2019_06_10.gz) for example, a failing lseek will result in a later segfault

M	rawlog.c

commit 5c9c88ad15a863a2194abf1b3b8ce44f832df4d9
Author: Yaroslav K <message2yk@gmail.com>
Date:   Fri Jun 14 16:31:57 2019 +0300

    Fixed rounding problems in the average-per-second mode.
    
    problem example:
    WRDSK,RDDSK sometimes displayed as 0.0G/s 0.0M/s in the average-per-second mode.
    
    solution:
    - more accurate rounding (llround) when calculating values for the 1/s intervals, and while converting to KB MB GB ..
    - values<=9 are displayed as before as float ex.:1.1M/s,3.3G/s
    - values 10-999 are display as int (llround) ex.:123M/s 999M/s

M	atop.h
M	showprocs.c
M	various.c

commit 16abcac132eec4755373aa673389e67219488844
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Wed Mar 20 14:58:18 2019 +0800

    Auto detect hypervisor and apply to perfevents
    
    In virtualization case, PMU in guest is emulated by hypervisor, such as
    vPMU is emulated by KVM.
    Currently perf in guest has overhead, typically rdpmc/wrmsr cause a lot
    of vm-exits, and guest will hit a performance drop. atop should be
    careful while useing perf.
    
    Support "perfevents" config in atoprc, which supports 3 modes:
    "enable": force using perf.
    "disable": force disable perf.
    "auto": default mode, atop will detect hypervisor. if atop is running in
    guest, auto disable perf, otherwise enable perf.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	atop.c
M	photosyst.c

commit 7ebca1362e7158c769770006afd61b7e4ec67211
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 7 16:06:30 2019 +0200

    Cosmetic changes.

M	rawlog.c

commit b55f28a740258e33206443612be2d4fb80464d96
Merge: a4e3664 25007e9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 7 15:43:31 2019 +0200

    Merge pull request #60 from bytedance/writev-record
    
    Use writev to write record data

commit 25007e9d927f8d37a9f8659d5d2122435409ee7d
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Tue Mar 19 16:18:15 2019 +0800

    Use writev to write record data
    
    Currently atop writes 3 parts of one raw record by 3 write syscall.
    atop may be killed during writing record, and continue to append records
    after the original log. uncompleted record data is generated. Ex,
    good case : ... rr,scompbuf,pcompbuf ... rr,scompbuf,pcompbuf ...
    bad case :  ... rr,scompbuf[missing] ... rr,scompbuf,pcompbuf ...
    
    1-writev syscall makes writing record as a atomic operation, and make sure
    each raw record is completed.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	rawlog.c

commit a4e3664f78d8588136696102bb9624b2ec46a54d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun May 26 16:55:01 2019 +0200

    Added comment (cosmetic change)

M	photoproc.c

commit 1338f5f47cc4e11b7afe8f6ce5543126754ae416
Merge: b54801c eea28ab
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun May 26 16:49:16 2019 +0200

    Merge pull request #54 from pacepi/use-smaps-rollup
    
    Prefer to use smaps_rollup instead of smaps

commit b54801ca81c06b073126f7f941db1d922a2f1e1c
Merge: fa4db43 e7000f7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun May 26 16:28:08 2019 +0200

    Merge pull request #57 from gleventhal/master
    
    Fix unchecked opendir to prevent dereferencing a NULL pointer

commit 20443a367d225a466aeee77cdf549fb4bd615d87
Author: Alastair Young <alastair@redhunter.com>
Date:   Fri May 24 16:53:15 2019 -0700

    Make LOGPATH overrulable
    
    Moved LOGPATH declaration to before DEFAULTSFILE source, so it can be overruled

M	atop.daily

commit e7000f778465cf4e73a60604b799a4b1c0e80b15
Author: gregg leventhal <gregglev@yahoo.com>
Date:   Thu May 2 15:03:02 2019 -0400

    Fix unchecked opendir to prevent dereferrencing a NULL pointer

M	photoproc.c

commit 65fb301d59208692da4fec1ead38e8efbed66c33
Author: Sjon Hortensius <sjon@hortensius.net>
Date:   Mon Mar 18 13:44:23 2019 +0100

    For systemd - replace 5 files with rotate service and timer

M	Makefile
A	atop-rotate.service
A	atop-rotate.timer
M	atop.service

commit eea28abb735cbf941045ade56d2c22657bf014b7
Author: zhenwei pi <pizhenwei@bytedance.com>
Date:   Mon Jan 28 20:27:47 2019 +0800

    Prefer to use smaps_rollup instead of smaps
    
    Since Linux-4.14, kernel supports "/proc/PID/smaps_rollup" to count process
    Pss.
    Test case on CPU Intel i7-8700K :
    1, create a virtual machine with 12G memory.
    2, count Pss for 3 time with smaps : 7176, 7221, 7182.
       average 7193(microseconds).
    3, count Pss for 3 time with smaps_rollup : 1963, 1985, 1972.
       average 1973(microseconds).
    
    smaps_rollup has better performence than smaps. We check it in first call,
    and prefer to use.
    
    Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>

M	photoproc.c

commit ffc8ba8d324243a923abe48e9758adecb03d24a4
Author: Peter Kjellerstedt <pkj@axis.com>
Date:   Tue Feb 12 21:25:23 2019 +0100

    atop.daily, atop.init, atop-pm.sh, mkdate: Avoid using bash
    
    Avoid using bash and bashisms when not necesary. On some systems,
    e.g., embedded products, bash may not be available by default.
    
    Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>

M	atop-pm.sh
M	atop.daily
M	atop.init
M	mkdate

commit fa4db436865887f3e451692b9439d2943b4b2936
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Feb 7 12:03:42 2019 +0100

    Correction of PSI value 'io full'
    'I/O full' showed the same value as 'I/O some', which has been
    corrected now.

M	showsys.c

commit 58a25af78314d432a7591e536fd2d5b23666ecb4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jan 22 17:32:37 2019 +0100

    Atopconvert shows version of input file and copies if needed.
    When only the name of the input file is given, then atopconvert
    shows the version of the input file.
    When the version of the input file is already up-to-date, still
    the input file is copied to the output file.

M	atopconvert.c
M	man/atopconvert.1

commit c3073ee609509857620c58aa4d050344b63696a2
Merge: 41333c6 4b0a957
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Jan 13 00:04:29 2019 +0100

    Merge branch 'master' of github.com:Atoptool/atop

commit 41333c6dab5c16b60d610bfa79f33f1f56793307
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 12 23:43:59 2019 +0100

    Various corrections.

M	rpmspec/atop.specsystemd

commit 3ca52a7c0c9948eedd6ba25a1a902ebc6488a79f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 12 22:31:10 2019 +0100

    Prepare for version 2.4

M	README.md
M	version.h

commit 1929641c525c259bbc2563fa979ecb97063b219e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 12 20:03:41 2019 +0100

    Support for conversion of raw files to atop 2.4

M	atopconvert.c
M	man/atopconvert.1
M	photoproc.h
M	photosyst.h
A	prev/photoproc_24.h
A	prev/photosyst_24.h

commit 46000ef14ff2cbd755d4e1b620e68218ea55f81f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jan 12 13:13:37 2019 +0100

    Introduction of Pressure Stall Information (PSI).
    The average percentages of CPU, memory and I/O are reported,
    as provided by kernel 4.20 onwards.

M	atopsar.c
M	deviate.c
M	man/atop.1
M	man/atopsar.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 00ffc2f338ee038e3775846b7471228935afcf54
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jan 10 18:56:52 2019 +0100

    Introduction of Infiniband statistics
    Maintain stats about bandwidth utilization of Infiniband ports,
    with atopsar (-h) and in atop system statistics.

M	atop.c
M	atop.h
M	atopsar.c
M	deviate.c
M	gpucom.c
M	man/atop.1
M	man/atopconvert.1
M	man/atopgpud.8
M	man/atoprc.5
M	man/atopsar.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 2f71beced5f061cb1b0b783e0ede3c85e8e54b35
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jan 8 20:12:00 2019 +0100

    Introduction of GPU statistics
    A separate daemon 'atopgpud' has been developed to maintain
    statistics of Nvidia GPUs in the system. When this daemon is
    running, atop will connect to this daemon via a TCP socket.
    With every intreval, atop gets GPU statistics from the daemon.

M	Makefile
M	atop.c
M	atop.h
A	atopgpu.service
A	atopgpud
M	atopsar.c
M	deviate.c
A	gpucom.c
A	gpucom.h
A	man/atopgpud.8
M	parseable.c
M	photoproc.c
M	photoproc.h
M	photosyst.h
M	rawlog.c
M	rpmspec/atop.specsystemd
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showprocs.c
M	showsys.c

commit 4b0a957aed6370c4268d592fa6bef78aa141fe82
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jan 8 20:06:15 2019 +0100

    Not enough entries created to register all tasks.
    Calculation has been adapted.

M	atop.c
M	photoproc.c

commit 8fe68ff3ed14bd25da93ba0480ec116a7f36b731
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jan 3 13:30:42 2019 +0100

    Performance improvement when gathering scaling info of CPUs
    Retrieving the frequency scaling information for every single
    CPU on a system with lots of CPUs is extremely time consuming.
    Therefore, frequency scaling info is only gathered on systems
    with 8 CPUs or less.

M	photosyst.c

commit 4297811aa2815b247e320a00236f0650e449c328
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jan 3 13:26:07 2019 +0100

    Performance improvement for gathering process/thread stats
    Gathering the process and threads statistics was too time
    consuming, especially for the first interval. This was
    extremely noticeable on systems with a lot of multi-threaded
    processes.

M	atop.c
M	photoproc.c
M	photoproc.h

commit a11bf6746c7998eee7ca4b9204b536062948f91c
Merge: 725dc2c 0e43049
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 8 14:29:47 2018 +0100

    Merge pull request #43 from vinc17fr/master
    
    Fixed va_list usage.

commit 725dc2cb0b2785a4fa77a98a5a204c977c2a6b53
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 8 14:25:06 2018 +0100

    Removed debugging statements

M	Makefile

commit d858714ffb0e11ea88aa582d16bb2c948a3e2fce
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 8 14:24:21 2018 +0100

    Removed debugging statements

M	acctproc.c
M	atop.c

commit 1a2fbeaa823f102e988a74123b660598f143d353
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 6 21:48:49 2018 +0100

    Only lock atop in memory when the hard and soft limits could be raised.

M	atop.c

commit 0e43049493e65b412e1c0def62a09ceac2bb3110
Author: Vincent Lefevre <vincent@vinc17.net>
Date:   Tue Dec 4 14:17:46 2018 +0100

    Fixed va_list usage.

M	atopconvert.c
M	various.c

commit b5e7e1cad051e909824ddc12cd82b6e8269d114e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Dec 2 07:49:58 2018 +0100

    Added additional debug statements.

M	acctproc.c

commit 7051f61691e1be8bf06a1301dda21236d60e9dc1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 1 20:21:48 2018 +0100

    Consistent type usage for number of processes present and terminated

M	Makefile
M	acctproc.c
M	acctproc.h
M	atop.c
M	deviate.c
M	photoproc.c
M	photoproc.h

commit e163fda6396b854adfbe027380444d0402e315e9
Merge: 2fd27e4 bae7b24
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 1 18:44:16 2018 +0100

    Merge pull request #42 from vinc17fr/master
    
    Fixed type mismatch in format string.

commit bae7b244b87b1af4dc0db4bc3a59532cb88cab5d
Author: Vincent Lefevre <vincent@vinc17.net>
Date:   Mon Nov 19 14:22:16 2018 +0100

    Fixed type mismatch in format string.

M	deviate.c

commit e9a2c492f250700ed352a650d255b60deea5c18f
Author: Vincent Lefevre <vincent@vinc17.net>
Date:   Mon Nov 19 14:04:01 2018 +0100

    Fixed type mismatch in format string.

M	atop.c

commit 2fd27e47d70920c4c61a54c311c229e11a93c9d6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Oct 9 14:00:25 2018 +0200

    Removed rcsid from source files.

M	acctproc.c
M	atop.c
M	atopsar.c
M	deviate.c
M	photoproc.c
M	photosyst.c
M	procdbase.c
M	showgeneric.c
M	showlinux.c
M	showprocs.c
M	showsys.c
M	various.c

commit 7f48aa0294bd9be1d25e930fd6269aa78394a74f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Oct 9 13:57:13 2018 +0200

    Added atopsar to .gitignore

M	.gitignore

commit 7f75dcaacdc341d9b3c191b47dc4f8bcc120bf3b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Oct 9 13:54:35 2018 +0200

    Removed .gitignore from .gitignore

A	.gitignore

commit 2f83c2fc572162ef36659f7715a2d3527b24ef8f
Merge: 6fabd47 2c0a960
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Oct 9 13:29:55 2018 +0200

    Merge branch 'master' of github.com:Atoptool/atop

commit 6fabd477c3d766a294da5fd70cf984ab58b9b9f8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Oct 9 13:25:26 2018 +0200

    Error message and other exit code for chdir/getcwd
    Previously only exit code 53 is given in case of a failing
    getcwd or chdir call, without further message.
    Now an error message is given combined with exit code 53 (current
    directory can not be saved), 54 (can not switch to /proc)
    or 55 (can not switch back to former current directory).

M	photoproc.c
M	photosyst.c

commit 2c0a9606b1596a50489d4deef124d0b349ccbfbb
Merge: 9f705ab 414127c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Oct 9 12:41:00 2018 +0200

    Merge pull request #35 from SjonHortensius/patch-1
    
    Include sysmacros.h to compile with newer gcc

commit 9f705abee3cc757f0ca5403c71bad8c2b2c532b2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Oct 9 12:39:25 2018 +0200

    Removed MAJOR and MINOR macro's for better solution via include

M	photosyst.c

commit 4742978c79d8faf5b519487e11fc25164cb3cb33
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 22 12:10:34 2018 +0200

    Document the behavior of signals SIGUSR1 and SIGUSR2

M	man/atop.1

commit 7bf30c52a37118ff4f211e67e1736099f3d1dcb3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 22 11:50:50 2018 +0200

    Own macro's added to determine major/minor of logical volume.
    The standard 'minor' and 'major' macro's are not available
    any more in gcc8.

M	photosyst.c

commit 20375c1a7a3622ba2fe776e146c1a2dfc6f17fa2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 15 10:53:37 2018 +0200

    Wrong signal number as exit code in parseable output
    The exit code (or signal number) in the output of the option -PPRG
    was wrong. Now the value represents the exit code if it is less
    than 256 and it represents a fatal signal number if the code
    is larger then 256 (then subtract 256 for the signal number).

M	man/atop.1
M	parseable.c

commit 414127c03669b4eedc85778a7bff80cf601311d8
Author: SjonHortensius <SjonHortensius@users.noreply.github.com>
Date:   Fri Aug 24 18:26:58 2018 +0200

    Include sysmacros.h to compile with newer gcc
    
    Older gcc throws a warning
    ```
    photosyst.c: In function 'lvmmapname':
    photosyst.c:1465:13: warning: In the GNU C Library, "major" is defined
     by <sys/sysmacros.h>. For historical compatibility, it is
     currently defined by <sys/types.h> as well, but we plan to
     remove this soon. To use "major", include <sys/sysmacros.h>
     directly. If you did not intend to use a system-defined macro
     "major", you should undefine it after including <sys/types.h>.
         dmp->major  = major(statbuf.st_rdev);
    ```
    
    Newer gcc throws an error:
    
    ```
    photosyst.c: In function ‘lvmmapname’:
    photosyst.c:1482:19: error: called object ‘major’ is not a function or function pointer
         dmp->major  = major(statbuf.st_rdev);
                       ^~~~~
    photosyst.c:1437:25: note: declared here
     lvmmapname(unsigned int major, unsigned int minor,
                ~~~~~~~~~~~~~^~~~~
    ```

M	photosyst.c

commit 8d2d68c0dc26d457871e120a57b71be91c6dcbd7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Aug 5 19:34:47 2018 +0200

    Added symlink atop.spec

A	atop.spec

commit a891eddaf4d1fca4895dfb296b6092980c147aef
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Aug 5 19:31:32 2018 +0200

    Cosmetic changes to new tool atopconvert

M	atopconvert.c

commit 21598140df014b38b1c57cdc9303386cbd869f62
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Aug 5 15:58:40 2018 +0200

    Finalize the modification to introduce atopconvert

M	Makefile
M	atopconvert.c

commit 335922298a6b9e788f7b0b8d7582f8ef6878636e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Aug 5 15:48:24 2018 +0200

    Modified RPM spec files to install new tool atopconvert

M	rpmspec/atop.specsystemd
M	rpmspec/atop.specsysv

commit acc29f246900234181abe5641ae67cecf6999dc5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Aug 5 15:33:31 2018 +0200

    Introduce new tool atopconvert to convert raw files
    The command atopconvert expect the name of an existing raw
    file as first argument and the name of an output raw file
    as second argument. The input file will be converted to
    the output file, which will be by default the raw format
    of the newest atop version.
    Raw input raw files created by atop 2.0 and higher are
    supported.

M	Makefile
A	atopconvert.c
M	man/atop.1
A	man/atopconvert.1
A	prev/photoproc_20.h
A	prev/photoproc_21.h
A	prev/photoproc_22.h
A	prev/photoproc_23.h
A	prev/photosyst_20.h
A	prev/photosyst_21.h
A	prev/photosyst_22.h
A	prev/photosyst_23.h

commit 25db7dfbecc258757a83c31921e60e295bd48840
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jul 12 15:04:42 2018 +0200

    Adapt man pages to introduce new program atopconvert

M	man/atop.1
M	man/atopsar.1

commit 07aad3dbfc8458eb23213ecaf02ddeaf34b55a35
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jul 11 09:54:13 2018 +0200

    Value of '#proc' should not include exited processes

M	showsys.c

commit 4a104c7377c2f0f694d75b0936f2722bab652e46
Merge: c10ed57 3a8871b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 13:40:34 2018 +0200

    Merge pull request #21 from Zugschlus/makefile
    
    make sure that all rm operations are -f to allow consecutive cleans

commit c10ed57346e359dafe80cda8b82ab7bf829fec1b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 13:11:51 2018 +0200

    Modified URL of atop website

M	rpmspec/atop.specsystemd
M	rpmspec/atop.specsysv

commit 68180d5e88d4aec665582ea3d9485a89ba29ec67
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 13:11:30 2018 +0200

    Added depencies to build and run atop

M	README

commit bb23382c17ce228fce315d4c398f29e80dbd34b0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 12:09:55 2018 +0200

    Adapt URL in man pages (from http to https)

M	man/atopacctd.8
M	man/atoprc.5
M	man/atopsar.1

commit 96287919c311a17ff3c5e3d4b5ebb4507a8ddadf
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 12:06:49 2018 +0200

    Modify default values in atop.daily script
    Add possibility to override all necessary default values
    in the atop.daily script, i.e. variable LOGOPTS,
    LOGINTERVAL and LOGGENERATIONS.

M	atop.daily
M	man/atop.1

commit dad4dab702a75b95c8276dbfe199a0d7018f8821
Merge: 2bb5204 a88a541
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 10:57:11 2018 +0200

    Merge branch 'configurable-options' of git://github.com/Zugschlus/atop

commit 2bb5204b93d7649608b2a6525fae3c5e2e71a1e4
Merge: 4516bd3 9d3011d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 10:27:53 2018 +0200

    Merge pull request #23 from natoscott/master
    
    Fix string malloc length in init_proc_prints, check result

commit a88a54107142d057e36be15285c972031a0e8c0a
Author: Marc Haber <mh+mr-git@zugschlus.de>
Date:   Tue Apr 24 11:42:53 2018 +0200

    make atop options configurable, introduce config file

M	atop.daily

commit 4516bd3300e7865f8ec1bb69ba80d42928487633
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Apr 23 13:46:23 2018 +0200

    Additional rule to make versdate.h file.

M	Makefile

commit 9d3011d6b81bd7f2fa9e07892a2c5f24ee7f4449
Author: Nathan Scott <nathans@redhat.com>
Date:   Fri Jan 19 15:40:47 2018 +1100

    Fix string malloc length in init_proc_prints, check result

M	showlinux.c

commit 3a8871b1ba108d6ccf46246625983d3f830e998b
Author: Marc Haber <mh+mr-git@zugschlus.de>
Date:   Sat Dec 30 16:24:42 2017 +0100

    make sure that all rm operations are -f to allow consecutive cleans

M	Makefile

commit 2d615475d922ae611f8cc00cdca79ed32bd3ff33
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 16 11:59:31 2017 +0100

    Recognize if current system supports PMC event counters.

M	man/atop.1
M	parseable.c
M	photosyst.c
M	showsys.c

commit db7a23d193415fef62f889f285687910d675b11f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Nov 8 21:26:11 2017 +0100

    Remove versdate.h

D	versdate.h

commit de8179c9b483950b633753365a9889f9d4d0d149
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Nov 8 21:25:28 2017 +0100

    Make perf_event counter for IPC optional at compile time

M	Makefile
M	showsys.c

commit 1a9c8eb7acac64fde33d72c036a3a487cb51baf3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Oct 5 11:19:02 2017 +0200

    Add SCHED_DEADLINE as scheduling policy possibility.

M	showprocs.c

commit 6dd88897ba984e67a526e0a4278f7bc4d023bae1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 23 11:20:57 2017 +0200

    Minor modifications in description of NFS output line.

M	man/atop.1

commit ba10627812c347460f650c877c3f3eaee194571e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 30 13:13:22 2017 +0200

    Include file versdate.h hould be ignored.

M	versdate.h

commit f2f6717a9c633668f3ce3de4ebf8e521bd6bc01f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 30 12:53:56 2017 +0200

    Introduce CPU instructions per cycle
    
    For every CPU, the average number of instructions per
    CPU cycle is shown as 'ipc'. Besides, a column is shown
    with the number of cycles executed per second as `cycl`
    (shown as effective Hz frequency).

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c
M	various.c

commit 33d561dcc766ca27cb7d1e09a9b0f99c3d98e124
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 30 12:53:08 2017 +0200

    Variable date of last build.

M	versdate.h

commit 5f6813c11b58e307b9f2b8d0eb66a5c68ec613de
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jun 28 21:21:00 2017 +0200

    Modify the date string for every new version of atop/atopacctd

M	Makefile
M	atopacctd.c
A	mkdate
A	versdate.h
M	version.c
M	version.h

commit 5bcf22b32a2b2bc83802a48ee05b3451066f1fbc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 23 12:49:21 2017 +0200

    Recognize nbd devices

M	photosyst.c

commit 4df0bcf37f8ef698afad4a528c2665b427c8e74d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 23 12:38:48 2017 +0200

    atop.init: execute script with bash instead of sh

M	atop.init

commit 06ec90d6fc3c7d608b03a3f3d000e97a9a847955
Merge: 0a34810 7cac234
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 23 11:37:52 2017 +0200

    Merge pull request #5 from roadrunner2/add-nvme-support
    
    Recognize nvme disks as such too.

commit 0a34810d1ce704311b62adaf97d30a2f02c94bd3
Merge: d99c19f 6bb8d2d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 23 11:22:54 2017 +0200

    Merge pull request #3 from sylmarch/sylmarch-patch-nfm-parseable-output
    
    Fix bytestotwrite in NFM parseable output

commit d99c19f2e64df15ebd54a7934a39a10bd8bb9ef0
Merge: 2b1ad6a 1acea75
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 23 10:40:19 2017 +0200

    Merge pull request #1 from sylmarch/sylmarch-patch-nfs-parseable-output
    
    Fix rpcread / rpcwrite in NFS parseable output

commit 7cac2341ba7e2419267a7e9ee5e5871de744bedb
Author: Ronald Tschalär <ronald@innovation.ch>
Date:   Tue May 16 18:49:14 2017 -0700

    Recognize nvme disks as such too.
    
    The pattern is based on name assignment in nvme_alloc_ns() in the linux
    kernel in drivers/nvme/host/core.c .

M	photosyst.c

commit 6bb8d2d1fc53a68c3b68c998feabddf1efde033e
Author: Sylvain <sylmarch@laposte.net>
Date:   Fri Apr 21 16:09:31 2017 +0200

    Fix bytestotwrite in NFM parseable output
    
    Fix NFS total number of bytes physically written to the server in NFM parseable output

M	parseable.c

commit 1acea756e9863d52f973907ac06abab333c7235f
Author: Sylvain <sylmarch@laposte.net>
Date:   Fri Apr 21 15:40:40 2017 +0200

    Fix rpcread / rpcwrite in NFS parseable output
    
    Fix NFS read/write RPC calls counters in parseable output

M	parseable.c

commit 2b1ad6a78db3f52aec17cf675f1edacefa46a2db
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 25 15:09:24 2017 +0100

    Highlights added.

M	README.md

commit 42e86fcc42ce60f8c92f3c7d5f3a6ccde47c0b33
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 25 14:36:13 2017 +0100

    Preparation for github

M	Makefile
A	version.h

commit 2d2cf7e29fdc7ef66f005ed491477a8551c8f554
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 25 14:11:32 2017 +0100

    Markdown text addded

A	README.md

commit a8d850d06efc8d70a19f55ec93fe83df51e99077
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 25 13:06:05 2017 +0100

    Preparation for github

M	Makefile
A	version.c

commit 6dac6bc7dc2adf27a3414955b8791db75c6a7397
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 25 12:46:25 2017 +0100

    Preparation to move atop to github

D	mkdistr
D	mkversion

commit 5f101e656a24271726d1e9cd672631b6033c36c1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Mar 25 12:40:23 2017 +0100

    Preparations to move atop to github

T	netatop.h
T	netatopd.h
R100	atop.specsystemd	rpmspec/atop.specsystemd
R100	atop.specsysv	rpmspec/atop.specsysv

commit 8ce799fdd3bb50978c00735cc72bbeb2c70d6844
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Mar 24 08:54:05 2017 +0100

    Adapt man page for showing full process list for memory sorting

M	man/atop.1

commit 3105ce8d46562cb48081cb92eaee0afbda05166c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Mar 24 08:35:17 2017 +0100

    Show full process list when sorting on memory is active

M	showgeneric.c

commit 35869466fc30f318ac404454c322bad039033251
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Mar 17 16:32:30 2017 +0100

    Solved segmentation fault
    
    Segmentation fault occurred in case of a selection
    (e.g. on user) in combination with switching from
    active processes to all processes.

M	atop.h
M	photoproc.c
M	rawlog.c
M	showgeneric.c
M	showprocs.c

commit eaeb7c500820cccc7bf25606a86c4843cd70ad31
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Mar 17 11:25:46 2017 +0100

    Type in man page

M	man/atop.1

commit 630d66700ca38ddda24d1797636d498e1e600866
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Mar 9 08:30:57 2017 +0100

    Corrected accumulated disk writes
    
    When accumulating disk writes for programs, users or
    containers, values were accumulated twice per process.

M	showgeneric.c

commit 989185c62c3a023e80bb9b2a5bb2e5563cda1651
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Mar 7 14:10:33 2017 +0100

    Determine containerid per process generically
    
    The containerid of a process is determined via
    the file /proc/PID/cpuset that sometimes contains
    ".../docker-CONTAINERID" (on e.g. Redhat/CentOS)
    and sometimes "/docker/CONTAINERID" (e.g. Ubuntu).
    Both layouts should be supported.

M	photoproc.c

commit 6678463533947894e06b178c84213c17a5faae98
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Mar 7 10:23:21 2017 +0100

    Code optimizations releated to Docker containers

M	photoproc.c
M	showlinux.c

commit fae417d905f6425035df0d3a4c99ddfa61b54e60
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Mar 6 19:20:37 2017 +0100

    Smaal correction on the man page description of CID.

M	man/atop.1

commit ef95f26bdad331b441fbeae2148b0352889256fd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Mar 6 15:51:47 2017 +0100

    Introduce Docker container statistics
    
    Maintain the Docker container id (12 positions) per
    process and per thread. This container id will be shown
    in various lists as CID, but only if at least one Docker
    container is present.
    Furthermore, it is possible to select all processes
    and threads that are related to a specific container id
    (keystroke 'J') and to accumulate the resource consumption
    for all processes/threads per container (keystroke 'j').

M	atop.h
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 0dc5a116cdbe8b1ccd6a0c3784e23a0e7e7abe41
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Feb 24 15:55:28 2017 +0100

    Solved segmentation fault in case of threadview
    
    Sometimes a process is considered to be inactive while one of its
    threads appears to be active. This situation could lead to a
    segmentation fault in case of threadview of only active tasks.
    It has been solved by marking the inactive process as active when
    later on a thread is discovered that appears to be active.

M	deviate.c

commit b4811a24801d8c35b64ab3c1b919418e934bb957
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Feb 24 13:16:06 2017 +0100

    Determine maximum number of digits in PID/TID
    
    Since the maximum PID number may vary (/proc/sys/kernel/pid_max),
    the width of PID/PPID/TID/... columns should be determined dynamically.

M	showlinux.c
M	showprocs.c

commit eb30f1d229cb5ac2c4b3ffe639c1efc8cbf70b72
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Feb 24 09:58:40 2017 +0100

    Add dependency between version.c and version.h

M	Makefile

commit fc0a5d5f15d5ffcf2203f95d290ce4e046ad1840
Merge: f498827 0aa208a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Feb 23 13:57:46 2017 +0100

    Polling mode when NETLINK refuses with error EINVAL
    
    Due to kernel bug 190711, the NETLINK interface gives EINVAL when
    it is activated. Since atopacctd misses a trigger then to read the
    process accounting records when processes in the system terminate,
    a polling loop has to be used to verify the existance of new
    process accounting records.

commit f49882721e5dbb065038ba74ae44b85457f50645
Merge: 17b2911 51d6285
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Feb 23 13:53:53 2017 +0100

    Retry activation of process accounting after failure
    
    According to kernel bug 190271 (process accounting sometimes
    does not work), the kernel sometimes returns SUCCESS to switching
    on process accounting while it does not work at all.

commit 17b2911b172eaeafe9f0b8e0bd7e721d1766b81e
Merge: e402891 e743f1b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Feb 23 13:52:43 2017 +0100

    Modified version numbering (without dashes)

commit e4028912e77cb1b092cae20173b4c3dea34971fe
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Feb 23 13:34:09 2017 +0100

    Modify the date in the man pages

M	man/atop.1
M	man/atopacctd.8
M	man/atoprc.5
M	man/atopsar.1

commit eb10042167d1d3b72049619c36deeaf7f272d4fe
Merge: c873d6c c8e2e3f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Feb 23 13:29:45 2017 +0100

    Improved error handling on the NETLINK interface
    
    Properly check the error values that are returned via the
    field nlmsg_type.

commit c873d6c1eddcbfb3bd84a350684d7d7163aae377
Merge: 5ad6f1d 2b6aab6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Feb 23 13:27:49 2017 +0100

    Also show xvd... disk drives without a digit at the end of the name

commit 5ad6f1dffae71cae39685e2883a8a178a40a6531
Merge: 78c478a 51b4a83
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Feb 23 13:25:06 2017 +0100

    Atopacctd should terminate upon receipt of SIGTERM signal
    
    When activating a signal catcher via the signal() function,
    the SA_RESTART flag is implicitly set. This means that a
    pending system call is automatically restarted after the
    received signal is handled.  Instead, the sigaction() system
    call is used now to activate a signal catcher avoiding system
    calls to be restarted automatically.

commit 78c478a56f4281ce5e2d28d0fa9822ad4b7d6a37
Merge: 46bc6d7 2a6f792
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Feb 23 13:21:03 2017 +0100

    Improved activation and deactivation of process accounting
    
    When atopacctd is started, it forks itself for proper daemonizing
    purposes. The first process no longer exits immediately, but is
    killed by the child process at the moment that atopacctd has
    finished the initialization phase.

commit 46bc6d7da1d47eeb73f55497e562019b59c527f7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Feb 22 15:52:15 2017 +0100

    Script atop.daily located in /usr/share/atop instead of /etc/atop.d

M	Makefile
M	atop.cronsysv
M	atop.init
M	atop.service
M	atop.specsystemd
M	atop.specsysv
M	man/atop.1
M	psaccu_atop

commit 0aa208a0af7bb384010f7332b3131c0884edcdd8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Dec 19 19:17:28 2016 +0100

    Implemented polling mode in case NETLINK refuses with error EINVAL.
    
    Due to kernel bug 190711, the NETLINK interface gives EINVAL when
    it is activated. Since atopacctd misses a trigger then to read
    the process accounting records when processes in the system terminate,
    a polling loop has to be used to verify the existance of new
    process accounting records.

M	README
M	atopacctd.c

commit 51d6285f97b2adf8f0efbea7121f4eb2a4b4f75d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Dec 19 16:05:18 2016 +0100

    Retry activation of process accounting if it appears not to work.
    
    According to kernel bug 190271 (process accounting sometimes does not work),
    the kernel sometimes returns SUCCESS to switching on process accounting
    while it does not work at all.

M	atopacctd.c

commit e743f1b749d3fccb95bcef6028c238560a81d805
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 15 10:13:48 2016 +0100

    Modified version numbering.

M	mkdistr

commit 96f0613201da8cb7e8ebd1120dd18f83abc83536
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 15 09:12:15 2016 +0100

    Adapt date in man-pages.

M	man/atop.1
M	man/atopacctd.8
M	man/atoprc.5
M	man/atopsar.1

commit c8e2e3f80fc46463c3e2c798b8a4d2a106ac98a5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Dec 15 09:11:25 2016 +0100

    Improved error handling on the NETLINK interface.

M	atopacctd.c
M	netlink.c

commit 2b6aab6454c39903a5ead4c3d5d819393ec1cea1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Nov 16 14:42:49 2016 +0100

    Allow xvd... disk drives without a digit at the end of the name.

M	photosyst.c

commit 51b4a83b2babf9ca944da892092e5559d9588594
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Oct 27 22:05:43 2016 +0200

    Take care that atopacctd terminates upon receipt of SIGTERM signal.
    When activating a signal catcher via the signal() function, the SA_RESTART
    flag is implicitly set. This means that a pending system call is
    automatically restarted after the received signal is handled.
    Instead, the sigaction system call is used now to activate a signal catcher
    avoiding system calls to be restarted automatically.

M	atopacctd.c

commit f0516657b3c7261c336f1b6e869afd9baa43d197
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Oct 24 16:13:46 2016 +0200

    Changed 'rotate 1' into 'rotate 0' (no need for another dummy file).

M	psaccs_atop
M	psaccu_atop

commit 7617354131f9a9bb1503b89b82cc8ca939c0f472
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Oct 24 16:12:35 2016 +0200

    Changed 'rotate 1' into 'rotate 0' (no need for another dummy file).

M	psaccs_atop
M	psaccu_atop

commit 2a6f792ad71410a75ca633ff38cb52a678cc05ed
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Oct 14 21:34:08 2016 +0200

    Improved activation and deactivation of process accounting.

M	atopacctd.c

commit 6484680418827937064c2aba11619369e189d94d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 15:23:43 2016 +0200

    Script atop.daily located in /usr/share/atop instead of /etc/atop.d

M	Makefile
M	atop.cronsysv
M	atop.init
M	atop.service
M	atop.specsystemd
M	atop.specsysv
M	psaccu_atop

commit 101c0139e1a703479f7fb779bc258cf199eaa9fb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 14:31:52 2016 +0200

    Raw logging: Determine features per sample
    Define per sample whether or not process accounting is active and
    whether or not disk I/O statitics are maintained.
    In previous versions, this was determined for the entire log file
    which implied that it was impossible to append to an existing logfile
    when one of these features had changed.

M	atop.h
M	rawlog.c

commit 36b9b09ac15519187717481ac79da25e66bce8eb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 14:21:42 2016 +0200

    Moved accounting file from /tmp to /var/cache.

M	acctproc.c
M	man/atop.1

commit a44bafe1895515e92881225079d56bb04053c9cf
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 14:18:13 2016 +0200

    Added -r y... flag to usage message.

M	atopsar.c

commit 2f7369f6911cc0fe6bb79dfa11ea845ebb036ea0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 14:16:29 2016 +0200

    The flag -V has been added to the help-output.

M	atop.c

commit a31b5a516e0dcfa5352e1047defbd6abf3c22444
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 14:12:13 2016 +0200

    Modified column name SNETBW to BANDWO.
    Modified column name RNETBW to BANDWI.

M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 5b21d88014fe4e53a5ab8f01d03ae00a2de56a18
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 14:05:15 2016 +0200

    Cosmetic changes in distribution script.

M	mkdistr

commit b96168f473ca8a69884d900464cfb5f641e18d26
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 14:03:55 2016 +0200

    Cosmetic change.

M	various.c

commit 90a3f939d5db6a41e1352f847f8719a89e5ddf78
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 14:03:35 2016 +0200

    Recalculate length of nodename when reading raw logfile.

M	rawlog.c

commit 3fd998d0f2e43e57ff8d5d22b747efb14c1da554
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 8 14:03:18 2016 +0200

    Remove include of termio.h (not needed at all).

M	showgeneric.c
M	showlinux.c
M	showprocs.c
M	showsys.c

commit 2820b1144ce403c7917cd2e09b05e78d2c9dbc07
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Sep 18 14:36:54 2016 +0200

    Moved accounting file from /tmp to /var/cache.

M	acctproc.c
M	man/atop.1

commit e5a1be40373ebedf5bffede8968304fd3e0e8a18
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 17 10:12:29 2016 +0200

    Raw logging: dDetermine features per sample
    
    Define per sample whether or not process accounting is active and
    whether or not disk I/O statitics are maintained.
    In previous versions, this was determined for the entire log file
    which implied that it was impossible to append to an existing logfile
    when one of these features had changed.

M	atop.h
M	rawlog.c

commit fec3f38c9b08459dea1a86fcdef56e97d211c1b6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Sep 13 18:50:31 2016 +0200

    Added -r y... flag to usage message.

M	atopsar.c

commit e721b7194acb0f3de893d22e733f96c93172b5b7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Sep 1 19:06:44 2016 +0200

    Improved performance data gathering:
    All process and thread related data is stored now
    by function deviattask(), independent if the user
    wants to view all data. In this way, immediate
    reaction is garanteed for the 'a' key which allows
    the user to view all processes/threads or to view
    only the active processes/threads (previously,
    the 'a' key was only effective after taking a new
    sample).
    Together with this modification, the behaviour of
    the 'm' key (memory view) has changed by showing
    automatically all processes instead of only the
    active processes. After all, when viewing the memory
    consumption of the processes, it is not relevant
    whether or not that process has been active in the
    last interval.

M	45atoppm
M	atop.c
M	atop.daily
M	atop.h
M	atopsar.c
M	deviate.c
M	man/atop.1
M	parseable.c
M	parseable.h
M	photoproc.h
M	rawlog.c
M	showgeneric.c
M	showgeneric.h
M	showlinux.c

commit 9f1bfee3f0babf88e86c8258bad977885eef279e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Aug 11 15:55:50 2016 +0200

    The flag -V has been added to the help-output.

M	atop.c

commit ba0cdc1474cebcbdac52b3ee9cc8516b33eeb0e8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Aug 11 15:55:18 2016 +0200

    With 'make clean' also the executable files are removed now.

M	Makefile

commit 057c27d5f7b5e2b9ab06a91bed831d14dd7fe16b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Mar 7 12:16:06 2016 +0100

    Modified column name SNETBW to BANDWO.
    Modified column name RNETBW to BANDWI.

M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 835d9a22dd88756709d75104550b206147c4151f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Mar 7 12:15:31 2016 +0100

    Cosmetic change in distribution script.

M	mkdistr

commit d600eac843b87cdfb91a6e1807d3aff5915dfdea
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jan 13 08:42:58 2016 +0100

    Cosmetic fix.

M	various.c

commit c2370bda4689217cefe60d1760d29fe1397436a4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Nov 30 15:26:21 2015 +0100

    Recalculate length of nodename when reading raw logfile.

M	rawlog.c

commit a2306c0e1c83f5a123ce521a34d9efaa2297c26d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Nov 30 15:24:17 2015 +0100

    Remove include of termio.h (not needed at all).

M	showgeneric.c
M	showlinux.c
M	showprocs.c
M	showsys.c

commit 1c72c7dfe0843087440598e4df9dc844c2eff1eb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Nov 24 10:21:49 2015 +0100

    The top-3 of CPU, disk and network consuming processes now only shows
    processes that really used capacity of that resource. Implicitly, a
    segmentation fault bug has been solved that occurred when less than
    3 processes were available anyhow.

M	atopsar.c

commit 1c5cac40d0bec5ea9b9625a8c61a4ad38899aad9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Nov 24 08:59:37 2015 +0100

    Column that show interface speed is shifted to the right, to keep
    input and output packets for all layers aligned.

M	showlinux.c

commit 29012c89cacd30aa3c0f83e9f4c92b720ceda901
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 4 19:11:36 2015 +0200

    Execpath has been changed to /usr/sbin instead of /sbin
    (wrong directory location).

M	atopacct.service

commit 0f502b2633bb00a340daf8ff0ac3506d486a1e09
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Aug 4 19:08:25 2015 +0200

    Bug solution:
    When starting atop via sudo, atop runs into
    the stopped state. Caused by earlier modification
    to make atop a process group leader (needed for systemd).
    Problem solved by making atop only a process group leader
    when it doesn't operate interactively.

M	atop.c

commit c0062f3e5a2604b3e8f0723e50c0cea0931d3e01
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 25 12:54:30 2015 +0200

    Modified handling of release number.

M	mkdistr

commit 8becf63a08ba68ece7543512426cffa36e5c9c01
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 25 12:53:44 2015 +0200

    Modified handling of release number.

M	atop.specsystemd
M	atop.specsysv

commit c213a40de6884129877b1519400de362a64b1f37
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 25 12:53:14 2015 +0200

    Added some blank fields for interfaces.

M	showlinux.c

commit 67f5b44cbd2ef5ad3a59e09a6e192af489300a52
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jun 23 16:55:30 2015 +0200

    Minor bug-fixes.

M	man/atop.1
M	showgeneric.c

commit 6f0105972808ffd852b833ed81c222f259bc762a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jun 23 16:32:16 2015 +0200

    New selection possibilities for processes:
    Key 'I' can be used to specify one or more PIDs of processes
    to be selected.
    Key '/' can be used to specify a command line search string for processes
    to be selected.

M	man/atop.1
M	showgeneric.c
M	showgeneric.h

commit d8f641ecca0ac117c2eacd33cc6517944461a0af
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jun 23 14:44:49 2015 +0200

    Bugfix for buffer overflow: snprintf instead of sprintf (credits: Nathan Scott).

M	showsys.c

commit 8b82505a8125cf5b351b6de841cf6cd35740b133
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jun 9 12:30:36 2015 +0200

    Fine-tune statistics about data transfer to/from NFS servers.

M	atopsar.c
M	man/atop.1
M	man/atopsar.1

commit 7c2b2cb6615a20e7e130a2fe00d4d029e0f5f3fa
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jun 9 11:03:10 2015 +0200

    Bug solutions and small modifications for nfs4 mountstats.

M	atop.h
M	deviate.c
M	man/atop.1
M	photosyst.c
M	showlinux.c
M	showprocs.c
M	showsys.c
M	various.c

commit e3d0e1f03ac0cc48c5add560377933a3abf8ddbe
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jun 8 17:31:58 2015 +0200

    Added statistics per mounted NFS filesystem (label NFM).

M	atop.c
M	atop.h
M	atopsar.c
M	deviate.c
M	man/atop.1
M	man/atoprc.5
M	man/atopsar.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 314a64d9c62b27747d23c6f85011411076482f51
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jun 8 10:01:05 2015 +0200

    Solved various small bugs found by clang-analyzer.

M	atopsar.c
M	parseable.c
M	rawlog.c
M	showlinux.c
M	various.c

commit 9b621bcac274df21012a42a2d131143e5857a47a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri May 29 08:42:05 2015 +0200

    Added buffers for formatting HTTPSTATS-specific output.

M	showlinux.c

commit 66e4b0326d8663b8cc26cde42c9d1232e1742714
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri May 22 09:58:22 2015 +0200

    Accept 'xvd[a-z]' disks with a number behind it (they always seem to
    end with a number).

M	photosyst.c

commit 7d5f789ddbbaea7ae0e4d2c3f78a3f735ca3a36f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon May 18 08:58:41 2015 +0200

    Rebuild of lost spec file for systemd.

M	atop.specsystemd

commit 94f3da8d2740aaa3abfa7974afa900d985b8a9be
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon May 18 08:55:18 2015 +0200

    Maintain current speed (rate) for wireless interfaces.

M	atopsar.c
M	deviate.c
M	ifprop.c
M	ifprop.h
M	man/atop.1
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 4ae902d49e3207c70153db2bbb8a3eed775c7c4a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 9 18:01:12 2015 +0200

    Support systemV and systemd RPMs.

M	atop.specsystemd
M	atop.specsysv
M	mkdistr

commit b7b704f4406c92d9c5cda53a4c72bb37afeea744
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 9 17:58:00 2015 +0200

    Added defined value SPEED_UNKNOWN for older releases.

M	ifprop.c

commit ab95f1a444a5e796641012bf3aa85a70f8056760
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 9 16:27:17 2015 +0200

    Support of systemv and systemd RPMs.

M	mkdistr

commit 0f9e3cfeb31450ced24375631c6130e9fef60ae8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 9 16:21:31 2015 +0200

    Support for OpenVZ containers.

M	atop.c
M	atop.h
D	atop.spec
M	deviate.c
M	man/atop.1
M	man/atoprc.5
M	parseable.c
M	photoproc.c
M	photoproc.h
M	photosyst.c
M	photosyst.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showprocs.c
M	showsys.c

commit b77825747f165a7c3bd76353d8f428676732cedd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 9 16:20:24 2015 +0200

    Separate RPM spec files for SystemV init and systemd.

A	atop.specsystemd
A	atop.specsysv

commit 8f0148d9946344fe9b8a5eeee5a20588e0b149dd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Apr 7 13:02:58 2015 +0200

    Addition of NFS (server/client) statistics on system level.

M	Makefile
M	atopsar.c
M	deviate.c
M	man/atop.1
M	man/atopsar.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 6e133e74acd987e915d7edeb4dab281ed8a055e2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Mar 24 15:52:11 2015 +0100

    Add NFS client and NFS server statistics.

M	atopsar.c
M	deviate.c
M	man/atop.1
M	man/atopacctd.8
M	man/atoprc.5
M	man/atopsar.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 6da40d213f14865356956b196475c080be1c79e6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Mar 24 08:36:51 2015 +0100

    Minor modification related to systemd-based install.

M	Makefile

commit 04276882956a196e872fca17fb1dd73289eb3d1f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Feb 25 15:26:55 2015 +0100

    Prepare atop and atopacct for use on systemd-based systems.

M	Makefile
M	README
A	atop-pm.sh
M	atop.service
M	atopacct.init
A	atopacct.service
M	atopacctd.c
M	atopacctd.h
M	mkdistr

commit 1e2fc1c2275d71114a62fe95ca7363a6d9d1cd8a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Feb 25 15:20:05 2015 +0100

    Avoid negative utilization counters for disks and logical volumes.
    These negative values might cause buffer overflows within atop.

M	showsys.c
M	various.c

commit 2c5327f1a0a6797383785e6893b46f39d3a67c85
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Feb 24 09:34:52 2015 +0100

    Avoid that process accounting is reactivated too frequently
    (and unnecessary).

M	atopacctd.c

commit cfda21540a2a9b6545259ed612f8afc22b2218b8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Feb 24 09:32:41 2015 +0100

    Added creation of the SBINPATH directory for atopacctd.

M	Makefile

commit 688f446ab5fb81dc6c44c065f956913682d1b03f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Feb 2 08:32:57 2015 +0100

    Prepare systemd-based installation.

A	atop.cronsystemd
A	atop.cronsysv

commit ab8db5f44f1b4edff624c4698849e391588e0cbd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Feb 2 08:31:33 2015 +0100

    Prepare systemd-based installation.

M	Makefile
M	atop.c
D	atop.cron
M	atop.daily
M	atop.init
M	atop.service
M	mkdistr
M	psaccs_atop
M	psaccu_atop

commit a5e0d6d0c758ce8ecc3ba6f8df2c30df8af64cc2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Dec 8 09:38:47 2014 +0100

    Define proper line speed for network interfaces faster than 1 Gbit/sec.

M	ifprop.c

commit d18f067446deb39933b21ba7b2874ea63cb47e71
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Oct 17 14:31:27 2014 +0200

    Minor change.

M	mkdistr

commit 52e9c4a0f05f76ab81d46dc1f42ac69f5e123ae5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Oct 17 14:28:10 2014 +0200

    Minor correction in man-page.

M	man/atopacctd.8

commit c18d1354898e8871f75dedc8e8427694606b3832
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Aug 28 13:52:57 2014 +0200

    Correction of typo's in the man pages, including a wrong counter name
    in the output of atop ('udpie' for UDP input errors).

M	Makefile
M	man/atop.1
M	man/atopacctd.8
M	man/atoprc.5
M	man/atopsar.1
M	showsys.c

commit 4e739738da3aa5931cc0f66c7d402dea50ca6f6f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Aug 28 11:51:13 2014 +0200

    OpenVZ support: virtual environment identifier per process (envID).

M	photoproc.c
M	photoproc.h
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 3bd1bab7bd6fb0ec110922afbb169264a335a74f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 25 15:31:42 2014 +0200

    Activate atopacctd before activating the atop daemon.

M	atop.spec

commit 0d02d0565b6d0df1c22be3237d145b7e0b7e68eb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 25 14:58:19 2014 +0200

    Improved help screen handling: use space bar to get next page.

M	showgeneric.c

commit 5cebf4101c11d4680e57250635c6148b104bf4f9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 25 13:48:37 2014 +0200

    Bug solution: when the screen-width is larger than the total number of
    columns to be printed, empty columns are added, however one column too many.

M	showsys.c

commit b25ef4ec59240c58e929c93d17d42c91cf70121e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 25 13:48:09 2014 +0200

    Removed useless empty column for memory statistics.

M	showlinux.c

commit 38163c1230c5e58890e783dd1cb29e14640e6099
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 25 13:47:36 2014 +0200

    Cosmetic change.

M	atopacctd.c

commit 636fa8df11c99b3d6468f4c13c830c29ba79638d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jul 24 16:07:01 2014 +0200

    Detect if process accounting has been switched off by some other
    program and switch it on again.

M	atopacctd.c
M	atopacctd.h

commit 268750adfc4e4a00050501d9c70d56436b4bb0a6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 28 11:15:17 2014 +0200

    Add a warning about the aggregation of disk transfer to the parent process
    for the RDDSK and WRDSK counters.

M	man/atop.1

commit 1396164f8a5c880dc14658cc69a685babf040739
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 20 14:51:53 2014 +0200

    Add automatic start of atopacctd daemon.

M	Makefile

commit 0dcc489d0ded0b2d2241cd9a625fd5206ddb7cd6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 20 14:06:08 2014 +0200

    Add man page of atopacctd.

M	atop.spec
M	mkdistr

commit 5295539f7b7ba1e725d20caf92eb9d28e1dd87ce
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 20 13:52:16 2014 +0200

    Add man page for the atopacct daemon.

A	man/atopacctd.8

commit 027c748ffcb1a4ee926a3c14f2241342a2e6c5bd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 20 13:49:14 2014 +0200

    Modify the man pages and installation procedures for the introduction
    of the atopacctd daemon.

M	Makefile
M	atop.spec
M	atopacctd.c
M	man/atop.1
M	man/atoprc.5
M	man/atopsar.1

commit 366622d86d3716661ad36b86bbe833bc9ce29496
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jun 18 13:24:49 2014 +0200

    Introduce the 'G' key to suppress showing/accumulating exited processes
    in the output.

M	man/atop.1
M	man/atoprc.5
M	showgeneric.c
M	showgeneric.h

commit a7668eb60ebda954dd8223e4a501b21afdea4cec
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 13 07:55:33 2014 +0200

    Support CPU frequencies for systems with Intel P-state driver.
    Credits: Sjon Hortensius

M	photosyst.c

commit 8e269cc3a8df55852490b8b99148b0f973e3d334
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 13 07:51:55 2014 +0200

    Cosmetic change.

M	atopacctd.c

commit f12727d632052e6a82149d6e4804e354f2caae54
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 13 07:50:25 2014 +0200

    Remove rc-scripts with old sequence numbers (if any).

M	Makefile

commit 7cec49a8d095e4d520ffe7f21499a7996137fc78
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 7 12:47:29 2014 +0200

    Doubled the %-signs to get the proper date string.

M	atop.service

commit 9b699e1c0aea4842609f53ba0df061b568aa6d13
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 7 12:11:52 2014 +0200

    Source file netlink.c compiled without -O2 due to a strict-aliasing
    warning.

M	Makefile

commit c1963ca5c51ccc8dba9866238376d49ffece962a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 7 12:09:34 2014 +0200

    Source file netlink.c compiled without -O2 due to a strict-aliasing
    warning.

D	atopacctd

commit f2f369b2c79117aa03ce393e9cb54eab3bc36009
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 7 11:29:36 2014 +0200

    Rename variables to clearly distinghuish between the two
    semaphore groups.

M	acctproc.c

commit 35ded9cabe93b4f6a126711d31dbe3fdfd3d3ebe
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 7 11:28:46 2014 +0200

    Add the -R flag to gather PSIZE info in the background.

M	45atoppm
M	atop.service

commit d2a545c15bf4e3099d4391f24d20b079a5759872
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 6 08:49:35 2014 +0200

    Introduction of new daemon atopacctd. This daemon switches on
    process accounting and transfers every accounting record to an
    accounting shadow file. The source accounting file will regularly
    be truncated, while the shadow files are written with a limited
    size in a queued way. Non-used shadow files are deleted regularly.

A	atopacct.init
A	atopacctd
A	atopacctd.c
A	atopacctd.h
A	netlink.c

commit b3909dd3243a7011ee605ed387692dcb0d8e17de
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 6 08:44:54 2014 +0200

    Introduction of new daemon atopacctd. This daemon switches on
    process accounting and transfers every accounting record to
    an accounting shadow file. The source accounting file will
    regularly be truncated, while the shadow files are written
    with a limited size in a queued way. Non-used shadow files
    are deleted regularly.

M	Makefile
M	acctproc.c
M	acctproc.h
M	atop.c
M	atop.init
M	atop.spec
M	man/atoprc.5
M	showgeneric.c

commit 65abbee8fe9f4ea4ec7c875e897d1aa3a5b2763d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu May 29 13:24:55 2014 +0200

    Add the -R flag for monitoring in the background.

M	atop.service

commit 295585730cbbe322d0dd556c45413e2ab0737099
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 16:59:54 2014 +0200

    Usage message of atop and atopsar extended with reference
    to the man-page.

M	atop.c
M	atopsar.c

commit 7df1f797fa27f5dd53298f7511bb36811dc51e14
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 16:46:00 2014 +0200

    Added a function prototype for priline to verify the calling
    (cause of earlier problems).

M	atopsar.c

commit b495b78b8b120bcf266440f6ed1f0e133573e76b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 14:29:02 2014 +0200

    Bug-solution: segmentation fault when one of the process names
    in the system contains a newline.

M	photoproc.c

commit 216c4ccc9e26d1d195985f8b2c45c4008492a341
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 13:54:36 2014 +0200

    Introduce configurable colors: in the atoprc file, colors can
    be defined for information messages (default green), threads
    (default yellow), almost critical resources (default cyan) and
    critical resources (default red).

M	atop.c
M	man/atop.1
M	man/atoprc.5
M	man/atopsar.1
M	showgeneric.c
M	showgeneric.h
M	showsys.c

commit fd2bb81e07dbb1ac97a559e7099e717e05b80642
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 12:17:08 2014 +0200

    Cosmetic change to message.

M	showgeneric.c

commit dc1ef5d83b72095536cfabd53adcfcfc8ec37a01
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 12:15:56 2014 +0200

    Solve floating point exception in case that the process accouting
    file was not open.

M	acctproc.c

commit a94a6170476406d1ca85aa018ea71eea6d41f5bd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 11:27:05 2014 +0200

    Limit the names of network interfaces to six characters max.

M	atopsar.c

commit 19826d8ae098b21cf733cf4e69bfb1936cddc7dd
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 11:01:13 2014 +0200

    Modified names for RPM files.

M	mkdistr

commit b71978ea7ec610305a239529345e816e1323a02b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 10:19:16 2014 +0200

    Added Requires and BuildRequires.

M	atop.spec

commit f6d0eae38d1e9f093d15fb6fa74d353e59efd05d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed May 28 10:18:35 2014 +0200

    Cosmetic change.

M	Makefile

commit 318890acda8a7cab6bba829fa3276e774f1bd4e0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun May 25 22:01:54 2014 +0200

    Correction for PSIZE calculation:
    regain and drop root privileges.

M	photoproc.c

commit 01be030273991089b6ded31d6a28855bf874d7be
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 24 14:10:55 2014 +0200

    Introduction of proportional memory size (PSIZE) per process.
    For the resident memory parts used by a process that are shared with
    other processes, only a proportional part (shared memory part divided
    by the number of sharers) is accounted to the process. Since the
    gathering of this value is rather time-consuming (reading the
    smaps file of every process), it is optional ('R' key or '-R' flag).

M	atop.c
M	atop.daily
M	atop.h
M	deviate.c
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 899cdbd18447ce29f901d43531a1702416ab22ad
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 24 11:02:18 2014 +0200

    Increased number of LVMs and disks supported.

M	photosyst.h

commit e2f7fb5bc45510b2ec14269e71a0b8ca7ae5a454
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri May 23 23:33:40 2014 +0200

    Resize message shows new dimensions.

M	showgeneric.c

commit 0f54b4c1ebca739cda28ae5793475b06e90e0b88
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri May 23 15:39:46 2014 +0200

    The guest percentage that is shown for CPUs, is not a separate
    category that should be totalized with the other categories. In fact,
    it overlaps with the user mode percentage. So if one of the virtual
    machines executes a looping process, on the KVM hypervisor the
    user percentage and guest percentage should both show 100% instead
    of both 50%.

M	atopsar.c
M	deviate.c
M	man/atop.1
M	man/atopsar.1
M	procdbase.c
M	showlinux.c

commit 3149aa8f4720e615148179ae8cc5146b8c3f5433
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri May 23 13:28:20 2014 +0200

    Useless buffer formatting removed.

M	atopsar.c

commit e96c1fff1c7a7ca292f3aedaaa28b92d2e7b9629
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri May 23 13:19:21 2014 +0200

    Removed double disk entry for 'vd...' disks.

M	photosyst.c

commit 239bd26a925d54d184248f00df35586d4d8d441d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Jan 26 15:42:31 2014 +0100

    Solve segmentation vioalation with atopser (wrong number of
    arguments passed to priline function).

M	atopsar.c

commit 3829e7382f348489f61f01b4e19fb4fb12bc36ef
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Jan 26 15:37:12 2014 +0100

    Solve segmentation violation when making summaries:
    Extra parameter added to priline-function call.

M	atopsar.c
M	man/atop.1
M	rawlog.c

commit fbce79c76ddb6a38a2bc22b44a95edcf9cf78a36
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Dec 7 12:17:07 2013 +0100

    When process accounting is switched on and a child process
    has been created and terminated, it still might occur that
    no process accounting record has been written (kernel failure?).
    This situation resulted in a Floating Point Exception signal.

M	acctproc.c

commit 2c7fe393518d861ff2fac3b38888389dd13c9b67
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 26 13:07:18 2013 +0200

    Add a space between two columns, that were show without white space.

M	parseable.c

commit 948581cce702ffdf93d8e632c6ef12aa3ff6a31b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat May 11 16:58:05 2013 +0200

    Add new counter for memory that is claimed by the vmware balloon
    driver (to be withdrawn from this virtual machine in favour of
    other virtual machines).

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 3a82bbeda1627a8a133f64f4434edaeefe413759
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Apr 24 10:47:39 2013 +0200

    Support for huge pages (total and in use).

M	deviate.c
M	man/atop.1
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 22295853af2f10701f6da3243b75f55fc2eb5f6d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Apr 23 14:42:24 2013 +0200

    Documentation improvements.

M	man/atop.1
M	showgeneric.c

commit 05266573ea93a9866121909b4bd61856103e9a28
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Apr 2 10:59:24 2013 +0200

    Documentation improved concerning top-3 of processes (atopsar)
    and the netatop module (atop).

M	man/atop.1
M	man/atopsar.1

commit 9be21d695f218120e501d459ae1bdf112b4dbba5
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jan 10 13:54:08 2013 +0100

    Cosmetic change: rename some variables to ease future maintenance.

M	atop.c
M	deviate.c
M	photoproc.h

commit ffd892d16dc60950a637db45bf2af692a3d2a91e
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Dec 19 15:45:40 2012 +0100

    Under certain circumstances, the number of exited processes might
    be less than requested, so correct the counter nrexit.

M	acctproc.c
M	atop.c

commit ba35522fbfb1c4fdb90d0dc68b0ac50e95cae73f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Dec 11 23:16:36 2012 +0100

    Solution for the following bug:
    When process accounting type 2 is used by the kernel (i.e.
    no PID is the accounting record), atop crashes when thread
    view is enabled.
    Credits: Alex Samorukov

M	showgeneric.c

commit c34bb60f74c25c3da24ab485ff6d41b8435609b1
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Nov 21 21:50:55 2012 +0100

    Corrected value 'curproc' in -P report.

M	atopsar.c

commit 321e5288151db22e643569f8b71709d1f5da6bf4
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Nov 19 09:26:32 2012 +0100

    Maintain total number of bytes transferred for accumulated
    per-user/per-program view (key 'u'/'p') to show proper
    NET-percentage and get proper sorting order.

M	showgeneric.c

commit cc2824f244ae33c3628dc5bc8a96bf1e64088bb7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Nov 16 22:47:29 2012 +0100

    Extended the number of positions for the RNET/SNET counters
    from 4 to 5, and shrinked SYSCPU/USRCPU from 7 to 6.

M	showprocs.c
M	showsys.c
M	various.c

commit 57fb7e206e36e131093c7d0c4cbffe0f07d4bb20
Merge: 55b51fe 8f5f6cc
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Nov 16 21:42:32 2012 +0100

    Merge branch '2.0.1'
    
    Conflicts:
            mkdistr
            mkversion
            version.h

commit 8f5f6ccc03b9b8ebaf8b2d65a18d3b56cb58c483
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Nov 16 19:27:04 2012 +0100

    Version update

M	version.h

commit 8c17df29c0d6dc82bec807cc2af8c50d69a2fbdb
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Nov 16 19:23:20 2012 +0100

    Release modification.

M	version.h

commit b5f5f9c05343c0b818b2afef291fd27d35aa690c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Nov 7 08:54:04 2012 +0100

    Required modifications for distribution.

M	atop.spec
M	mkdistr
M	mkversion
M	version.h

commit e4f27ff6ba3585b82155af29665c017e146e5c75
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Nov 6 08:19:44 2012 +0100

    Remark about netatop in README and solved rendering problem in atoprc.5

M	README
M	man/atoprc.5

commit 41696c91407d65454769d8c0c94d65b410791963
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Nov 2 11:14:52 2012 +0100

    Sequence regainprivs-fopen-dropprivs-fread-... does not work for
    files under /proc, so the /proc/PID/io files could not be accessed
    when atop is not started by a root-user. Sequence has been changed
    to regainprivs-fopen-fread-...-dropprivs.

M	photoproc.c
M	various.c

commit 55b51feda3e2ffa450adb72203ecd9afc3474d30
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Nov 2 11:08:40 2012 +0100

    Sequence regainprivs-fopen-dropprivs-fread-... does not work for
    files under /proc, so the /proc/PID/io files could not be accessed
    when atop is not started by a root-user. Sequence has been changed
    to regainprivs-fopen-fread-...-dropprivs.

M	photoproc.c
M	various.c

commit 8e75554bb8f98269912ebb85a457df3fab35a54f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 27 11:59:24 2012 +0200

    Adapt to correct month.

M	man/atop.1
M	man/atoprc.5
M	man/atopsar.1

commit 1a256253c472ccca37ee1dd93ac7d6d1f3fd7e48
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 27 11:53:49 2012 +0200

    Bug fixes.

M	mkdistr
M	mkversion
M	version.h

commit 6f61e0e5dbb3f48fd10d52b34eaac6ca49e19b31
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Oct 25 17:22:39 2012 +0200

    Added update-rc.d

M	Makefile

commit 643941fd3ff2055fcdcb979cdeeab62cef5771c8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Oct 24 13:12:21 2012 +0200

    Dynamically switch per sample to show network stats or not. In this
    way a running atop (e.g. the daily atop running in the background)
    immediately reacts on loading or unloading of the netatop module.

M	atop.c
M	atop.h
M	deviate.c
M	man/atop.1
M	netatopif.c
M	photoproc.c
M	rawlog.c
M	showgeneric.c
M	showgeneric.h
M	showlinux.c

commit f36eb4be1d7e26ed233bb101613df1a6363f8891
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Oct 22 09:27:14 2012 +0200

    Consider Shmem value in /proc/meminfo.

M	man/atop.1
M	showlinux.c

commit fc06911932186159fd190f53379462a1a5b05147
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Oct 22 09:22:42 2012 +0200

    Add counter shmem as total shared memory including tmpfs.
    Som miscellaneous cosmetic changes.

M	acctproc.c
M	deviate.c
M	man/atop.1
M	man/atoprc.5
M	man/atopsar.1
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 1e3c18350475135d11c300801647b5ea8aa6b204
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 20 17:06:33 2012 +0200

    Modified formula to determine if memory is critically low:
    the page cache counter implies the resident shared memory (and that
    should not be subtracted).

M	showlinux.c

commit 58c0aae74341a337397859854dfcf826b21ca3ef
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Oct 20 16:59:30 2012 +0200

    Gather and display the value SReclaimable from /proc/meminfo
    to give more adequate coloring of the MEM-line.

M	deviate.c
M	man/atop.1
M	parseable.c
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 213f3e1160046000858edd33c59952be802d5058
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Oct 14 15:07:48 2012 +0200

    Get rid of warnings from ignored return values (with (void))

M	acctproc.c
M	atop.c
M	atop.h
M	atopsar.c
M	photoproc.c
M	photosyst.c
M	rawlog.c
M	various.c

commit a7a17cfc03f6e4b82840bce4d61bbcdd20db52e0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Oct 14 13:29:05 2012 +0200

    Cosmetic change.

M	mkdistr

commit f683dfb6c76ff6df2d68031e19d37532843509f9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Oct 14 13:23:01 2012 +0200

    Various modifications to cooperate properly with the netatop kernel
    module and the netatopd daemon.
    Update of man-page.
    Simplified the generation of the version number.

M	Makefile
A	atopsar
M	deviate.c
M	man/atop.1
M	mkversion
M	netatopif.c
M	photosyst.c
M	showlinux.c
D	version.SKEL
A	version.h

commit 6807de7c036f1f375b7f80a33525b6eff02b03f8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Sep 15 12:15:31 2012 +0200

    Boot time is determined now with a high resolution clock to be able
    to determine the start time of a process more precise (needed to make
    a better match with process accounting/netatop).

M	Makefile
M	atop.c
M	atop.h
M	deviate.c
M	photoproc.c
M	photosyst.c
M	procdbase.c
M	various.c

commit 6526ea3da42807c7c94a055c5d90252899f8b059
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Sep 14 23:18:06 2012 +0200

    Further cooperation implemented between atop and netatop/netatopd.

M	Makefile
M	acctproc.c
M	atop.c
M	atop.h
D	atopnetif.c
M	atopsar.c
M	deviate.c
A	netatopd.h
A	netatopif.c
M	parseable.c
M	photoproc.c
M	photoproc.h
M	showgeneric.c
M	showlinux.c
M	showprocs.c
M	various.c

commit cc8cd6572d7541dfc82d0df09690b5b93bcdcf25
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Sep 14 23:06:54 2012 +0200

    When pid is in the process accounting record, no further check on
    the btime (begin-time) is required.

M	procdbase.c

commit 129895d44071290750f13ce08df7cf80f534136a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Aug 29 09:03:46 2012 +0200

    Remove source code related to the kernel patches.
    Insert new code to support the kernel module 'netatop'.
    Add shared memory figures to MEM line.

M	Makefile
M	atop.c
D	atopnet.h
M	atopnetif.c
M	atopsar.c
M	deviate.c
M	man/atop.1
A	netatop.h
M	parseable.c
M	photoproc.c
M	photosyst.c
M	photosyst.h
M	showgeneric.c
M	showlinux.c
M	showlinux.h
M	showprocs.c
M	showsys.c

commit 73bffb6f37e02d5272fbfeb64ada43773fd585e6
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Aug 8 16:53:07 2012 +0200

    WRDSK is normalized with WCANCEL to determine how much real disk transfer
    is done per process.

M	showgeneric.c
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 361f1d2c877d6316b6339239d81c94aadde62617
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Aug 8 16:01:12 2012 +0200

    Removed unused counters for raw network sends/receives.

M	acctproc.c
M	atopsar.c
M	deviate.c
M	parseable.c
M	photoproc.c
M	photoproc.h
M	showgeneric.c
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit e11e259fd35c7be4fcab96d48a818ca222b7fa51
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Aug 8 15:49:20 2012 +0200

    Remove code for kernel patches and introduce kernel module 'atopnet'.

M	Makefile
M	acctproc.c
M	atop.c
M	atop.h
A	atopnet.h
A	atopnetif.c
M	atopsar.c
M	deviate.c
M	parseable.c
M	photoproc.c
M	showgeneric.c
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 8c9de7a781247b2591d00fc9e5c9a4f3674b0491
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jul 23 11:12:33 2012 +0200

    Removed unused variable 'columnprefix'.

M	Makefile
M	showlinux.c

commit eb5da90ccb0246ba9040c158c82589c9e5fffe39
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Jul 23 11:04:45 2012 +0200

    Minor corrections.

M	Makefile
M	mkdistr

commit 9c0c2287ed60619dc2a688b2e4242c7ded582026
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sun Jul 22 11:30:51 2012 +0200

    Improved RPM handling.

M	Makefile
M	mkdistr

commit b1bb45f1d9a61fcd81cebf417cccadac68ddde67
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 20 15:19:35 2012 +0200

    Add service file for systemd without installing.

A	atop.service
M	mkdistr

commit 409be5867b31d37f138447110d234b2325902cdf
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 20 15:18:10 2012 +0200

    Corrected typo in help messages.

M	showgeneric.c

commit 4ea9f1ab0c500d47ae74544f90353c6190b8e317
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 20 12:09:17 2012 +0200

    Modified description.

M	atop.spec
M	man/atop.1
M	man/atopsar.1

commit a98a0d1ad85aaa082fda535cbb9844a0a4591034
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 20 12:02:17 2012 +0200

    ChangeLog removed (not needed any more when using git).

D	ChangeLog

commit af0f1fad5438374912c167f284653b87c62a3142
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 20 12:01:06 2012 +0200

    Added LSB header.

M	atop.init

commit d5a9b854674ae451636815e539c4c056365708b2
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 20 10:12:31 2012 +0200

    Clarified comments about the use of coloring.

M	showsys.c

commit 1b38444596097776f88415091d27efee4f2dee9f
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 20 10:01:38 2012 +0200

    Solved division-by-zero when maxfreq=0 and
    more precise coloring of concerning CPU-values when CPU overloaded.

M	showsys.c

commit 826caafb1aaf892e0692d4315a324093ece2da32
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jul 20 10:00:53 2012 +0200

    Correct typo's in description of frequency scaling.

M	man/atop.1

commit f266aafb596880c8fe8bcf6f4ae662889803b7c3
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jul 19 08:24:33 2012 +0200

    If setuid-root is set for atop, root-privileges are regained when reading
    /proc/pid/io (nowadays only readable for root) to obtain the disk stats
    per process.

M	photoproc.c

commit 9e77a3bccfa345eb8a4a7b1a417343f80a5ae792
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jul 19 07:51:43 2012 +0200

    Email address updated in README and ChangeLog added to package.

M	README
M	mkdistr

commit 1ee760110035966d444f057cdaf2f0784244b4c8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jul 18 11:37:29 2012 +0200

    Added EMC Power device recognition.

M	photosyst.c

commit 4aa9c986f8bb469ad38e46db46d7bc1766f4cea0
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jul 18 09:25:42 2012 +0200

    Better recognition of version of process accounting file.

M	acctproc.c

commit 9c8dcc365631a38df69ddc98a94b28ca71666679
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jul 18 09:21:36 2012 +0200

    Improved error handling when not enough columns or lines.

M	man/atop.1
M	man/atopsar.1
M	showgeneric.c

commit ab6f072b5b85df575c40fd68583052833c09bd48
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jul 17 14:29:08 2012 +0200

    Suppress sorting of system resources by key F or flag -F (toggle).

M	man/atop.1
M	man/atoprc.5
M	showgeneric.c
M	showgeneric.h

commit 3b0922c3c371ffecab00f6df72bc8b8852ae8e15
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jul 17 13:29:45 2012 +0200

    Give clearer error message if the format of the rawlog is incompatible.

M	rawlog.c

commit 7c17a309ef97a59a8ee1f5a593f48eeac9d46bc8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jul 17 12:57:25 2012 +0200

    Create unique /tmp name for decompressed raw file.

M	man/atop.1
M	rawlog.c

commit 0f693c1f651c02ecbfbedf49bafdc879c2479184
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jul 17 11:28:20 2012 +0200

    Numerous cosmetic changes and man-page updates.

M	acctproc.c
M	deviate.c
M	man/atop.1
M	man/atoprc.5
M	man/atopsar.1
M	photosyst.c
M	photosyst.h
M	showlinux.c
M	showlinux.h
M	showprocs.c
M	showsys.c

commit 2a637eaa2ba734c1ae2cdc2d6caab8bc66bf7782
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Fri Jun 15 10:41:45 2012 +0200

    Improved screen handling.
    Limited maximum file-size for process accounting file (200 MiB).

M	acctproc.h
M	showgeneric.c

commit 86e9448c2cd8e0f3bc1b138dfc98b6701f0afa2c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Thu Jun 14 17:09:15 2012 +0200

    Improved handling of process accounting:
    - Per sample not more than 50 MiB are allowed for process accounting records,
      which means about 72000 processes. This avoids atop to explode in memory
      when a huge amount of processes died within one sample.
    - When only one atop-process is busy and it detects that the process accounting
      file exceeds .5 GiB, it will truncate the accounting file to zero.

M	acctproc.c
M	acctproc.h
M	atop.c
M	atop.h
M	atopsar.c
M	deviate.c
M	mkdistr
M	parseable.c
M	parseable.h
M	photoproc.h
M	rawlog.c
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 0178cdeba8f654816c082118c046978c94869343
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jun 13 15:43:55 2012 +0200

    Cosmetical changes.

M	atop.c
M	showsys.c

commit 428524129548ede14d535a8c2c23ff5e0af2d54c
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jun 13 13:12:39 2012 +0200

    New key 'S' to make selections of system resources like logical volumes,
    disks and network interfaces (regular expression).

M	man/atop.1
M	showgeneric.c
M	showgeneric.h
M	showlinux.c

commit 3fff5cfc8e01fceb1e69ff067e73a5d86ae12c48
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Jun 13 12:16:54 2012 +0200

    Use of arrow-keys and PgUp/PgDown for vertical scroll.
    Use of -> and <- keys for horizontal scroll of command line.
    Increment of maximum number of system resources (e.g. MAXCPU).

M	photoproc.h
M	photosyst.h
M	showgeneric.c
M	showprocs.c

commit 7671b76506743c0a9d82f77674788a045ea0a427
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 12:28:58 2012 +0200

    Improved generation of new version.

A	atop.spec
M	mkdistr

commit 2c87df01b06c588ce205c1dcdf8bd30889e27b1b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 11:07:03 2012 +0200

    Support statistics for virtio disks (vd*).

M	photosyst.c

commit c0c9238f3667d4916cad4eeb16baa861de7e4527
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Sat Jun 9 11:04:22 2012 +0200

    Uniform handling of failing mallocs.

M	atop.c
M	atop.h
M	atopsar.c
M	deviate.c
M	mkdistr
M	photoproc.h
M	procdbase.c
M	rawlog.c
M	showgeneric.c
M	various.c

commit 0682920a7b41e2007dac1470996d945e55b0fc21
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Jun 5 15:44:04 2012 +0200

    Fetching and displaying of individual threads.

M	acctproc.c
M	acctproc.h
M	atop.c
M	atop.h
M	atopsar.c
M	deviate.c
M	man/atop.1
M	parseable.c
M	parseable.h
M	photoproc.c
M	photoproc.h
M	procdbase.c
M	rawlog.c
M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showprocs.c
M	showsys.c

commit 10f54f1caa904b98f270a92d5fdcafe259d88773
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon May 28 11:23:43 2012 +0200

    Increase maximum number of disks, lvm's, interfaces and CPUs.

M	photosyst.c
M	photosyst.h

commit 27fe64e140a62220a0e7fee04431be4756c0047d
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon May 28 11:22:49 2012 +0200

    Show message instead of #exits when process accounting could not
    be switched on.

M	showsys.c

commit 90b7a438c226fd0ce4e8f8680ece4b67ea5a87a8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon May 28 11:21:53 2012 +0200

    Proper handling of lock added.

M	atop.init

commit 30165361059b75acbae534b21eee2465727f05f7
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Mar 5 09:06:57 2012 +0100

    Add various details about the memory usage of processes, like
    stack size, data size, shared library size and size used on swap.

M	acctproc.c
M	deviate.c
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	photosyst.h
M	showgeneric.c
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 5c65b96129124fcdd9105d90d11bc46a46b0ec9a
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Sep 13 10:20:22 2011 +0200

    Show new value about swap space usage per process.

M	acctproc.c
M	deviate.c
M	man/atop.1
M	parseable.c
M	photoproc.c
M	photoproc.h
M	showgeneric.c
M	showlinux.c
M	showlinux.h
M	showprocs.c

commit 25ffd8313a499b480f38e493eb50bf4c5a8bec1b
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Sep 13 07:52:15 2011 +0200

    Color vmlim and vmcom adapted.

M	showsys.c

commit eff004b034980224bff10baf14eee598fdd5f470
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Wed Sep 7 15:34:12 2011 +0200

    Colors are shown now for separate system-level counters instead
    of for the entire line with counters.

M	showgeneric.c
M	showgeneric.h
M	showlinux.c
M	showlinux.h
M	showsys.c

commit 2358e3fe0445973c78226d25aa13da02f1dd61d9
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Sep 6 09:54:42 2011 +0200

    Git-based determination of the version of atop.

A	mkdistr
A	mkversion
A	version.SKEL
D	version.c

commit 87852e1b1b2d87b26c222fe7abec024570465a48
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Tue Sep 6 08:59:36 2011 +0200

    Enhanced security: improved dropping of root privileges.

M	acctproc.c
M	atop.c
M	atop.h
M	atopsar.c
M	deviate.c
M	rawlog.c
M	various.c

commit 1f0c1bb1b9ad52abfc62147465ccf61e25f5a7f8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Sep 5 15:59:44 2011 +0200

    Avoid error messages during startup of atop about not being able to
    activate process accounting (e.g. when starting without root privs).
    The reason of the error will now be displayed instead of the '#exit' counter.

M	acctproc.c
M	atop.c
M	atop.h
M	man/atop.1
M	showsys.c

commit fb9ed3f5079344a93cdc29bd415710ef753fcbf8
Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
Date:   Mon Sep 5 14:04:31 2011 +0200

    Initial version

A	45atoppm
A	AUTHOR
A	COPYING
A	ChangeLog
A	Makefile
A	README
A	acctproc.c
A	acctproc.h
A	atop.c
A	atop.cron
A	atop.daily
A	atop.h
A	atop.init
A	atopsar.c
A	deviate.c
A	ifprop.c
A	ifprop.h
A	man/atop.1
A	man/atoprc.5
A	man/atopsar.1
A	netstats.h
A	parseable.c
A	parseable.h
A	photoproc.c
A	photoproc.h
A	photosyst.c
A	photosyst.h
A	procdbase.c
A	psaccs_atop
A	psaccu_atop
A	rawlog.c
A	showgeneric.c
A	showgeneric.h
A	showlinux.c
A	showlinux.h
A	showprocs.c
A	showsys.c
A	various.c
A	version.c
