[BLU.] logrolling for dummies without root access

David Kramer david at thekramers.net
Fri Aug 3 14:43:25 EDT 2001


On 3 Aug 2001, Seth Gordon wrote:

> On one of our machines at work (running Digital Unix, if that
> matters), there's a daemon process that spits information into a log
> file.  We want to rotate that log file without stopping the daemon.
> My google and freshmeat searches revealed a few application-specific
> log rotaters, references to a "rotate" command that doesn't exist
> on our system, and a lot of noise.
>
> Is there a utility out there that can handle the job (that doesn't
> need to be run by anyone with special privileges)?  Is this simple
> enough for some clever ad hoc shell script to handle?

The Linux package for what you want to do is called "logrotate".  It looks
like it can do what you want.

I found it on AppWatch at http://www.appwatch.com/Linux/App/650/data.html
Written by some no-name guy Eric Troan ;)


-----------------------------------------------------------------
DDDD   David Kramer                           http://thekramers.net
DK KD
DKK D  "There are things that are so serious that you can only
DK KD  joke about them."
DDDD                                                    -Heisenberg

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list