On Thu, Nov 10, 2005, Omer Zak wrote about "Re: need a tool to analyze FS": > Assuming that it is not possible or feasible to have an entity which > logs all file open calls in the OS (is there such a mechanism in > Linux?), you would need to run the tool each second, minute or hour or > whatever (depending upon resolution of data which you need), and have it > log all files which were accessed since the previous time the tool was > run.
For statistics, you may be able to do something even simpler - at just one (or very few times) run "find" on your filesystem, printing for each file just its size and its last access time. Then, try to find the correlation or relationship or whatever between these two things. The idea behind what I said is that if a file is accessed every T seconds, then when you look at it at a random time, the expected value of the current time minus the last access time is T/2, so this gives you T without needed to make very frequent measurements. -- Nadav Har'El | Thursday, Nov 10 2005, 8 Heshvan 5766 [EMAIL PROTECTED] |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |Time is the best teacher. Unfortunately http://nadav.harel.org.il |it kills all its students. ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
