RECAP(8)
πΈ RECAP π
okay bestie, so this is recap(8) from the System Manager's Manual, and it's genuinely one of the most useful little gremlins you'll ever keep in your system. sit down, grab a strawberry, we're doing this π
β¨ NAME β¨
recap β dumps periodic information about running applications and resource usage. yes girl, it's a lil snitch that tells you what your box was doing. and honestly? iconic behavior.
π SYNOPSIS π
recap [OPTION]
that's it. one binary, a couple flags, no drama. periodt.
π DESCRIPTION π
so recap is a user-configurable script that you can run once, OR run periodically out of cron or systemd.timers, and what it does is dump info about running processes and resource usage. literally what it says on the tin π«Ά
and like, why do you care? because it is so useful on servers that have periodic, mysterious performance anomalies β you know the vibe, everything's fine, everything's fine, and then at 3:47am the load spikes and nobody knows why. recap is your bestie who was taking notes the whole time so you can track down what may be going on at the time of any particular incident. main character energy tbh π
the values for which reports get generated and how many reports are stored can be overridden in /etc/recap.conf. and the output files from the script get written to BASEDIR. no cap, that's the whole system.
now for the flags, bestie, there are three and you're gonna know all of them π
-B,--backupβ this performs a "backup". it copies the latest log files from the last execution into the"backups"directory insideBASEDIR. the files get identified by a timestamp in the name. so it's giving "save the receipts" β¨-S,--snapshotβ this performs a "snapshot" report. it generates a set of output files in the"snapshot"directory insideBASEDIR, outside of the standard rotation. the files are identified by a timestamp in the name. so like a lil bonus pic that doesn't get deleted in the rotation π-V,--versionβ print version and exit. short, sweet, to the point. ate.
π FILES π
here's where everything lives, bestie, memorize or don't, but here they are:
/etc/recap.conf/etc/cron.d/recap/usr/lib/systemd/system/recap.{service,timer}β Unit files for running recap periodically./usr/lib/systemd/system/recap-onboot.{service,timer}β Unit files for running recap on boot.
π REPORTING BUGS π
found a bug? π bugs and issues get submitted via github at <https://github.com/rackerlabs/recap/issues>. don't suffer in silence, tell the maintainers, they're nice fr fr.
π AUTHOR π
The recap scripts are maintained by Rackspace, and the list of contributors is available at <https://github.com/rackerlabs/recap/blob/master/CHANGELOG.md#contributors>. shoutout to everyone who touched this thing π
π SEE ALSO π
go read these too, iykyk:
and that's the whole page, bestie!! π this one's from the System Manager's Manual, dated Aug 18, 2017 β so yes it's been out here being iconic since 2017 and it still slays. go dump some reports, go find your anomalies, go be the sysadmin the server deserves π«Άβ¨π
π¦ where this page comes from
- debian bookworm: recap 2.1.0-1 Β· GPL-2.0-or-later
- debian trixie: recap 2.1.0-1 Β· GPL-2.0-or-later
- epel 9: recap 2.1.0-13.el9 Β· GPLv2
- fedora 43: recap 2.1.0-17.fc41 Β· GPLv2
- fedora 43: recap 2.1.0-21.fc43 Β· GPL-2.0-only
- fedora 44: recap 2.1.0-22.fc44 Β· GPL-2.0-only
- ubuntu jammy: recap 2.1.0-1 Β· GPL-2.0-or-later
- ubuntu noble: recap 2.1.0-1 Β· GPL-2.0-or-later
- ubuntu resolute: recap 2.1.0-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: recap 2.1.0-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms