ATOP-DAILY(1)
π atop-daily(1) β the daily glow-up your PCP archives deserve π
okay bestie, welcome to the General Commands Manual section of the vibes, where atop-daily lives. she's a shell script, she's booked and busy, and she handles the daily maintenance of your pcp-atop(1) PCP archives. no cap. π
β¨ SYNOPSIS β¨
$PCP_BINADM_DIR/atop-daily [--compress-only] [--help] [LOGPATH]
πΈ DESCRIPTION πΈ
so like, atop-daily does the daily maintenance of pcp-atop(1) PCP archives. she's not out here freelancing β she's normally called from systemd(1) via the atop-daily.timer unit, or she gets summoned automatically by pcp-atop(1) itself at startup. she's that girl who shows up when the timer goes off, periodt. β°π
when you run her with no options at all, she:
- creates the archive directory if it's not there yet (manifesting it into existence β¨)
- compresses prior-day archives β
xz(1)for the metadata,zstd(1)for the data volumes (different tools for different jobs, we love a specialist π) - culls archives that are older than
LOGGENERATIONSdays (default28) β old archives, you're done here, thank u next π
and here's the iconic part: compression is non-blocking. files get atomically renamed and then compressed by background processes, so the caller and pcp-atop(1) can just keep it moving immediately. nobody's waiting around in this group chat. π«
π OPTIONS π
--compress-onlyβ compress prior-day archives and that's IT, she will not cull old archives. this is the mode used whenpcp-atop(1)itself calls her at startup. culling? not today. π«ποΈ--helpβ prints a usage message and dips. short, sweet, iconic. π«Ά
π¦ CONFIGURATION π¦
you can set these environment variables in the pcp-atop(1) sysconfig file, which lives at /etc/sysconfig/atop or /etc/default/atop (whichever one your system is serving π):
LOGPATHβ the archive directory. default:/var/log/atop. you can ALSO pass this as a command line argument instead, so flexible of her. πLOGGENERATIONSβ how many days of archives to keep around. default:28. and listen: a value of0disables culling entirely. zero means never let go, i guess ππ
π FILES π
/var/log/atopβ the default directory wherepcp-atop(1)archive files hang out. it's giving home base. π
β SEE ALSO β
pcp-atop(1), pcp-atopsar(1), PCPIntro(1), systemd(1), xz(1), zstd(1), pcp.conf(5) and pcp.env(5).
go read those too, bestie, knowledge is the moment. πβ¨
and that's the whole page, no crumbs left π this little writeup came to you from Performance Co-Pilot (that's the source) over at PCP, and the page itself is ATOP-DAILY(1) β stay compressed, stay culled, stay iconic, mwah ππ
π¦ where this page comes from
- arch rolling: pcp-atop 7.2.2-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- fedora 43: pcp-atop 7.2.1-1.fc43
- fedora 43: pcp-atop 7.2.2-1.fc43
- fedora 43: pcp-atop 7.2.2-2.fc43 Β· GPL-2.0-or-later
- fedora 44: pcp-atop 7.2.1-1.fc44
- fedora 44: pcp-atop 7.2.2-1.fc44
- fedora 44: pcp-atop 7.2.2-2.fc44 Β· GPL-2.0-or-later
- ubuntu stonking: pcp-atop 7.2.1-2build1
- Copyright (c) 2026 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms