[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-devel-list
Subject: Re: Unwanted RPM dependencies
From: Steve G <linux_4ever () yahoo ! com>
Date: 2007-06-04 14:22:54
Message-ID: 645152.43134.qm () web51511 ! mail ! re2 ! yahoo ! com
[Download RAW message or body]
>I did have a thought on whether there exists a tool that can log/count
>file accesses on disk, and then provide reports on used v not used files
>that were installed by rpm ?
auditctl -a always,exit -S open -F success=1
(You'd want to the rule to /etc/audit/audit.rules for it to take effect after
booting.) Then to get the file usage summary report:
aureport --start this-month --file --summary --success
There are many attempts to open a file that doesn't exist, so you'd only want to
get the successful ones. This will take some disk space to record what is
accessed a lot. I think by default, the audit system will only occupy 32mb. You
may need to increase that.
-Steve
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic