Forrest logo
back to context overview

logrotate

List of commands for logrotate:

  • logrotate:tldr:0434e logrotate: Run using a specific command to mail reports.
    $ logrotate ${path-to-logrotate-conf} --mail ${-usr-bin-mail_command}
    try on your machine
    explain this command
  • logrotate:tldr:4471c logrotate: Run without using a state (lock) file.
    $ logrotate ${path-to-logrotate-conf} --state /dev/null
    try on your machine
    explain this command
  • logrotate:tldr:ca861 logrotate: Run and skip the state (lock) file check.
    $ logrotate ${path-to-logrotate-conf} --skip-state-lock
    try on your machine
    explain this command
  • logrotate:tldr:f12ef logrotate: Tell `logrotate` to log verbose output into the log file.
    $ logrotate ${path-to-logrotate-conf} --log ${path-to-log_file}
    try on your machine
    explain this command
  • logrotate:tldr:f2727 logrotate: Trigger a run manually.
    $ logrotate ${path-to-logrotate-conf} --force
    try on your machine
    explain this command
back to context overview