Zlogrotate - HP bh5700 User Manual

Ethernet switch blade atca 14-slot blade server
Table of Contents

Advertisement

zlogrotate

NAME
zlogrotate − Rotates log files.
SYNOPSIS
zlogrotate [-b] [-t time] [-s segment size] [-n # of files] [-f file
to rotate]
DESCRIPTION
zlogrotate rotates the selected file every [time] seconds if the file is larger than [segment
size]. It will keep only the number of files selected. zlogrotate is called from
/etc/init.d/rcS by default with no parameters.
OPTIONS
-b
-t <time> the time between logfile checks in seconds (default
60)
-s <size> the targeted file segment size, in kilobytes
(default 256)
-n <# of files> The number of segments kept on the system
(default 4)
-f
EXAMPLES
To start zlogrotate with the default values,
zlogrotate
Ethernet Switch Blade User's Guide
Downloaded from
www.Manualslib.com
Do not background the process - i.e. run in foreground.
<file> The file to rotate (default /var/log/messages)
manuals search engine
release 3.2.2j
page 230

Advertisement

Table of Contents
loading

Table of Contents