This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# defragfs.pl -- Measurement and Report and Defrag fs/file fragmentation | |
# CanHao Xu <[email protected]>, 2007 | |
# John Robson <[email protected]>, 2011 | |
# Using: $ s_defrag / -f | |
# Using: $ sudo /home/john/Documents/Linux/Scripts/defragfs /srv -af | |
# Help: $ ./defragfs / -h | |
# Also check: $ sudo e4defrag -c /tmp/ # $ sudo e4defrag -v /tmp/ |