Categories: Data Management, Software
Print this article
Lustredu was written to give the user the ability to view that last ‘recorded’ size of a directory. The advantages of lustredu is the query does not hit the lustre metadata at all as a normal du would. Instead, the query goes to a seperate database to give the last known size of directory.
This should be useful when using htar to archive directories to HPSS. This can help ensure the total size written to HPSS is a reasonable size. It should also be useful if there is a curiousity about the number of files or size used in a directory (you want to know how much data a job generated).
Summarize disk usage of each DIRECTORY recursively. Mandatory arguments to long options are mandatory for short options too. -B, print sizes in bytes instead of human readable format (e.g., 1KB 234MB 2GB) -n, do not print headings on listing -v, display version information and exit --help display help information and exit SIZE may be (or may be an integer optionally followed by) one of following: KB 1024, MB 1024*1024, and so on for G, T, P, E.
> lustredu $MEMBERWORK/proj_id/username Last Collected Date Size File Count Directory 2016-05-10 11:36:25 7.32 MB 34 /lustre/atlas1/proj_id/scratch/username