Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BLU.] logrolling for dummies without root access



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




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org