Debian Codegraph @

debian/README

raw
1 atop in Debian
2 ==============
3
4
5 Documentation
6 -------------
7 This document contains background information that you might find
8 helpful to understand some of the design decisions that the atop
9 maintainer took to bring atop to where it is at the moment. For
10 operational reference, you might want to look at the manual pages that
11 come with the package and the excellent upstream docs.
12
13
14 Log rotation
15 ------------
16 atop writes "logs" that can be read back by atop -r. They're written in
17 an unfortunately undocumented binary format, so you need an executable
18 atop to convert them back into a readable form. You can also use atop to
19 play back the files as if they were live data.
20
21 The playback function relies on the log files getting rotated more or
22 less exactly at midnight. atop does not automatically change to a
23 different file when its boundaries are reached during playback. Hence,
24 log rotation is done with a non-randomized systemd timer, and adding
25 randomization would break the playback feature.
26
27 Admittedly, /var/lib would be a better place for the log files as they
28 are not "logs" in the UNIX sense of the word. Migrating this would be a
29 major source of bugs, hence the atop maintainer is reluctant to do this.
30 I would, however, consider a tested, documented patch / merge request
31 with a commitment to help handle resulting bug reports.
32
33
34 Participating in development
35 ----------------------------
36 The atop packaging takes place on
37 [Salsa](https://salsa.debian.org/debian/atop). The main communication
38 channel is the [Debian Tracker Package Mail
39 Address](mailto:[email protected]). You can subscribe to the
40 messages through the [Debian Tracker Package
41 Page](https://tracker.debian.org/pkg/atop). If you want to
42 participate, create an account on Salsa, clone the Debian/atop
43 project and submit a Merge Request. Feel free to use Salsa CI to have
44 your work tested automatically when you push.
45
46 Working with branches and merge requests means rebasing a lot. To make
47 this easier, please don't squash your work into one huge commit.
48 Use small, independent commits that can easily be understood. It is ok
49 to rebase or force-push to your development branch even after opening
50 the merge request. Merges that can be pulled into master as a
51 fast-forward merge are preferred.
52
53
54
55
56 Credits
57 -------
58 This document was compiled by the atop maintainer in September 2022.