[HPADM] Strange File

From: Johnson, Craig E (Craig.E.Johnson_at_icn.siemens.com)
Date: 05/22/04

  • Next message: Johnson, Craig E: "[HPADM] Summary: Strange File"
    To: hpux-admin@DutchWorks.nl
    Date: Fri, 21 May 2004 15:46:26 -0700
    
    

    I have a file that is actively open and being written to by a daemon. The
    thing is, if I trim the file like this:

    # cat > wormd_log
    ^D
    #

    The filesystem usage immediately shrinks, the file appears for a moment as
    zero length, then, suddenly, "ls -la" will show the file back to its
    original (huge) size. The output of bdf, however, shows the freed up space.

    What could cause this?

    Craig

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Johnson, Craig E: "[HPADM] Summary: Strange File"

    Relevant Pages

    • Re: why cant write to file after using su in daemon service
      ... Two script, one is daemon, which switches user then calls another ... cat /etc/init.d/myd ... "su" doesn't change to your home directory when it runs the command. ...
      (comp.unix.shell)
    • Re: Claw clipping question
      ... hold each other down while I trim claws. ... My vet, when I told her he was a biter, produced a cloth hood-like thingy ... which she said made the cat quiet, ...
      (rec.pets.cats.anecdotes)
    • Cats tails (Stan Disregard)
      ... she's still black but no longer sleek and trim. ... Another black female cat is named Bobby because I had to bob her tail after ... Emma Peel's tail exploded like a giant lawn shrub; ...
      (misc.writing)
    • Re: Claw clipping question
      ... with his head to your left. ... and then the backs. ... so that the cat can't reach around and bite. ... If the cat remains difficult to trim, ...
      (rec.pets.cats.anecdotes)
    • Re: opening a file
      ... as I don't want die to stop the daemon (I know I ... your problem using your code above, and using "cat" ... But since the Perl daemon never ...
      (comp.lang.perl.misc)