DOKK / manpages / debian 12 / recap / recap.8.en
RECAP(8) System Manager's Manual RECAP(8)

recap - dumps periodic information about running applications and resource usage

recap [OPTION]

recap is a user-configurable script that can be run once, or run periodically out of cron or systemd.timers to dump information about running processes and resource usage. It's useful on servers that have periodic, mysterious performance anomalies for tracking down what may be going on at the time of any particular incident.

The values for which reports are generated and how many reports are stored can be overridden in /etc/recap.conf. The output files from the script are written to BASEDIR.

This will perform a "backup". It will copy the latest log files from the last execution to the "backups" directory inside BASEDIR. The files will be identified by a timestamp in the name.
This will perform a "snapshot" report. It will generate a set of output files in the "snapshot" directory inside BASEDIR outside of the standard rotation. The files will be identified by a timestamp in the name.
Print version and exit.

/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.

Bugs and issues to be submitted via github <https://github.com/rackerlabs/recap/issues>.

The recap scripts are maintained by Rackspace, the list of contributors is available at https://github.com/rackerlabs/recap/blob/master/CHANGELOG.md#contributors.

recap.conf(5), recaplog(8), crontab(5), systemd.timer(5)

August 18, 2017