Co robi LOGROTATE użycie. Konsola System administration command. Manipulate logfiles according to.

Czy przydatne?

Polecenie logrotate

Wykonanie, użycie: System administration command. Manipulate logfiles according to commands given in config_files

Opcje wykonania logrotate w konsoli

-d, --debug

Debug mode. No changes will be made to logfiles.

-f, --force

Force rotation of logfiles.

-h, --help

Describe options.

-m command, --mail command

Use the specified command to mail logfiles. The default command is /bin/mail -s.

-s file, --state file

Save state information in file. The default is /var/lib/logrotate.status.

--usage

Show syntax and options.

-v, --verbose

Describe what is being done and what logfiles are affected.

Przykłady logrotate działanie w Słownik polecenie L