reducing disk space - issues - Unix

This is a discussion on reducing disk space - issues - Unix ; Hi All, I have a file which gets continuosly written. It is growing big time and causing me disk space issues. I want to gzip this file but at the same time the data needs to get written to this ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: reducing disk space - issues

  1. reducing disk space - issues

    Hi All,
    I have a file which gets continuosly written.
    It is growing big time and causing me disk space issues.
    I want to gzip this file but at the same time the data needs to get
    written to this file.

    how can i do this? I think the tail command would be handy here
    but I am not positive on what exact steps i should take.

    any other suggestions.
    please help.
    Thanks.


  2. Re: reducing disk space - issues

    2006-08-21 <1156198072.327593.148160@m73g2000cwd.googlegroups. com>,
    hanu wrote:
    > Hi All,
    > I have a file which gets continuosly written.
    > It is growing big time and causing me disk space issues.


    Get a bigger disk.

    > I want to gzip this file but at the same time the data needs to get
    > written to this file.


    What's writing to it? How "continuously" is it being written - are we
    talking about separate processes appending little pieces to it or
    a single process keeping it open and writing again and again?

    > how can i do this? I think the tail command would be handy here


    I think it probably wouldn't be, but can't be sure unless I know more

    > but I am not positive on what exact steps i should take.


  3. Re: reducing disk space - issues

    On Mon, 21 Aug 2006 15:07:52 -0700, hanu wrote:

    > Hi All,
    > I have a file which gets continuosly written.
    > It is growing big time and causing me disk space issues.
    > I want to gzip this file but at the same time the data needs to get
    > written to this file.


    If its a logfile you can use cyclic logs. See my cyclic log project on
    sourceforge at http://sourceforge.net/projects/cycliclogs

    Regards,

    Andrew Marlow


+ Reply to Thread