Once in a while, I want to know two things about a filesystem--a rough histogram of the sizes of the files and the fragmentation levels at each of those size levels. fhist will do this for any filesystem that provides block map data via the FIBMAP ioctl; the associated plotting script will turn that data into graphs with gnuplot. Here are some sample graphs.
Download the source here: fhist-20080310.tar.gz (3K).
Copyright ©1996-2024, Darrick Wong. All Rights Reserved. Send feedback.