[Bug translator/6872] module cache cleaner

ksebasti at redhat dot com sourceware-bugzilla@sourceware.org
Fri Sep 19 17:59:00 GMT 2008


------- Additional Comments From ksebasti at redhat dot com  2008-09-19 17:58 -------
Created an attachment (id=2957)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2957&action=view)
Shell script to clean oldest modules when cache folder is above a certain size

This is a small shell script which will remove the folder of the oldest modules
in the cache dir (based on access time) until it is below the max cache size,
which can be an environment variable $SYSTEMTAP_MAX_CACHE_SIZE or defaults to
16MiB (2^24 bytes).

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6872

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list