Debian Codegraph @

README

raw
1 COPYRIGHT NOTICE
2 ----------------
3 For all files that are not marked differently:
4
5 Copyright Gerlof Langeveld 2007-2024 and licensed under the GPL v2 (or any later version).
6
7
8 DEPENDENCIES
9 ------------
10
11 Install the following packages to be able to build atop (package name
12 can be different depending on the Linux distro):
13
14 * zlib-devel or libz-dev or zlib1g-dev
15 * ncurses-devel or libncurses5-dev/libncursesw5-dev
16 * glib2-devel or libglib2.0-dev
17
18
19 Install the following packages to be able to execute atop (package name
20 can be different depending on the Linux distro):
21
22 * zlib or zlib1g
23 * ncurses or libncurses5/libncursesw5
24 * glib2 or libglib2.0
25
26
27 INSTALLING AND USING ATOP FROM TARBALL
28 --------------------------------------
29
30 For interactive use, it is sufficient to install ATOP with the command
31 (as root):
32
33 make install (systemd based)
34
35 or
36
37 make sysvinstall (System V init based)
38
39 For automatic logging in compressed binary format, see the
40 description in the manual-page.
41
42
43 NETWORK-RELATED COUNTERS PER PROCESS/THREAD
44 -------------------------------------------
45
46 The kernel module 'netatop' can be downloaded and installed separately
47 from www.atoptool.nl/downloadnetatop.php
48 This module is optional and can be used to gather network statistics
49 per process/thread as described in www.atoptool.nl/netatop.php
50
51 Alternatively, the BPF implementation 'netatop-bpf' can be downloaded
52 and installed from https://github.com/bytedance/netatop-bpf
53
54
55 PROCESS ACCOUNTING WITH PSACCT/ACCT PACKAGE
56 -------------------------------------------
57
58 Preferably, process accounting should be handled by the atopacctd daemon
59 which is implicitly installed when installing atop. This daemon takes
60 care that process accounting is only active when at least one atop
61 process is running. Besides, when process accounting is activated,
62 atopacctd takes care that the disk utilization is minimal.
63 See the man page of atopacctd for further details.
64
65 When the psacct or acct package is installed in parallel with the
66 atop package and you want to enable/start the (ps)acct service for
67 permanent process accounting, the atopacct.service refuses to activate
68 the atopacctd daemon to avoid clashes.
69 When the (ps)acct service is enabled, atop automatically uses the
70 process accounting file that is used by this package.
71 See also the section PROCESS ACCOUNTING in the man page of atop.
72
73
74 OVERVIEW OF RELATED PROGRAMS
75 ----------------------------
76
77 When installing atop the following programs are provided:
78
79 atop - System and process monitor (live and from raw log)
80 atopacctd - Daemon: handles process accounting records to be used by atop
81 atopgpud - Daemon: gathers metrics from Nvidia GPUs to be used by atop
82 atopsar - System activity reports (live and from raw log)
83 atopcat - Concatenate raw log files and provide raw log information
84 atophide - Make extractions from raw logs and/or anonymize raw logs
85 atopconvert - Convert raw log to newer version
86
87
88 SERVICE ACTIVATION AFTER INSTALLATING PACKAGE
89 ---------------------------------------------
90
91 After the package has been installed, be sure that the related services
92 are activated.
93 To support handling of terminated processes using process accounting,
94 enable the atopacct service:
95
96 systemctl enable --now atopacct
97
98 Notice that this service should not be enabled when the package
99 psacct or acct (depends on the Linux distribution) has been installed
100 and enabled. In that case atop uses the daily process accounting file
101 created via that package.
102
103 To support maintaining daily log files to keep track of long-term analysis
104 information, enable the atop service and the related timer:
105
106 systemctl enable --now atop
107 systemctl enable --now atop-rotate.timer
108
109
110
111
112 Gerlof Langeveld
113 [email protected]