There has been a long-standing bug in dispus with handling of directories containing thousands of files due to a command-line-too-long problem when passing the list of files to the du command. It’s now fixed by running it through xargs and using the IPC::Open2 library to run it, allowing me to pass the list of filenames…
I’m still alive! Just very quiet. I have just published tgmlify, a tool for syntax highlighting code in Tek-Tips posts.
dispus 2.7 with ‘human-readable’ format
I’ve just released dispus 2.7 after a feature request by gatetek at the Tek-Tips forums. The script can be modified to set $human_readable to 1 if you prefer file and filesystem sizes in units of 1.23 KB, 3.45 MB and 6.78 GB as opposed to 123,456,789 KB.
SamBones simple, incisive solution for analysis of disk space usage effectively renders dispus redundant. Ah well, it was a good exercise in PERL. 🙂 A few people seem to like it, so I will continue to maintain it anyway, should any maintenance be required… Incidentally, the command he suggested for Solaris was: du -kod /export/home…