Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
You can use lsof (install the rpm if you don't already have it on your system) to positively confirm which process is writing to that file. Example: Code: [hector@troy ~]$ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692

    You can use lsof (install the rpm if you don't already have it on your system) to positively confirm which process is writing to that file.

    Example:
    Code:
    [hector@troy ~]$ /usr/sbin/lsof /home/hector/dummy
    COMMAND  PID USER   FD   TYPE DEVICE     SIZE    NODE NAME
    cat     3488 hector  1w   REG    3,7 81145852 4538374 dummy
    You're given both the command and the PID.

    I don't know if you'll be able to delete that file without killing the process (and even if you can, the process might get confused and die anyway). Also, once you delete it, won't it just fill up again?

    Seems like you might need to review the logging policies.

  2. #12
    Just Joined!
    Join Date
    Feb 2007
    Posts
    6
    Just thought I would close out this help topic as it all seems to be good now. That rrd tool had manage to chew up 15 gigs worth of space. System seems to be stable now and i'd just like to thank both Wizrd and anomie for the help.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •