EnglishFrenchSpanish

OnWorks favicon

qsrotate - Online in the Cloud

Run qsrotate in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command qsrotate that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


qsrotate - a log rotation tool (similar to Apache's rotatelogs).

SYNOPSIS


qsrotate -o <file> [-s <sec> [-t <hours>]] [-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 (use an absolute path).

-s <sec>
Rotation interval in seconds, default are 86400 seconds.

-t <hours>
Offset to UTC (enables also DST support), default is 0.

-b <bytes>
File size limitation (default are 2147352576 bytes).

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

Use qsrotate online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 5
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 6
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • More »

Linux commands

Ad