debian man page for qsrotate

Query: qsrotate

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

QSROTATE(1)							 qsrotate man page						       QSROTATE(1)

NAME
qsrotate - Log rotation tool (similar to Apache's rotatelogs).
SYNOPSIS
qsrotate -o <file> [-s <sec>] [-f] [-z] [-g <num>] [-u <name>] [-p]
DESCRIPTION
qsrotate reads from stdin (piped log) and writes the data to the provided file rotating the file after the specified time.
OPTIONS
-o <file> Output log file to write the data to. -s <sec> Rotation interval in seconds, default are 86400 seconds. -f Forced log rotation even no data is written. -z Compress (gzip) the rotated file. -g <num> Generations (number of files to keep). -u <name> Become another user, e.g. www-data. -p Writes data also to stdout (for piped logging).
EXAMPLE
TransferLog "|qsrotate -f -z -g 3 -o /dest/file -s 86400" The name of the rotated file will be /dest/filee.YYYYmmddHHMMSS where YYYYmmddHHMMSS is the system time at which the data has been rotated.
NOTE
Each qsrotate instance must use an individual file!
SEE ALSO
qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qslog(1), qslogger(1), qspng(1), qssign(1), qstail(1)
AUTHOR
Pascal Buchbinder, http://opensource.adnovum.ch/mod_qos/ mod_qos utilities 10.8 June 2012 QSROTATE(1)
Related Man Pages
newsyslog.conf(5) - mojave
rotatelogs(8) - redhat
rotatelogs(8) - osx
newsyslog.conf(5) - osx
rotatelogs(8) - debian
Similar Topics in the Unix Linux Community
Concatenate piped output and some var?
Log file rotation
Geek Generations
Mavericks log rotation
Passing resulted string name of a gzipped file as an argument to another piped tool