Disk Usage Report Generator


durep was designed for monitoring disk usage in a more visual way than du. The du program works fine but doesn’t allow a lot of control over how the results are displayed. This perl script is designed to produce output more useful for reports. Although durep can produce text output similar to du, its real advantage is that it allows you to navigate through the directory structure as web pages. Each page shows bar graphs for entries so it is easy to see immediately which directory is using the most storage space. The report generated can be configured in several ways (hiding directories, collapsing directory entries, hiding entries below certain sizes, etc) all of which are described below. The text report that durep generates is also configurable. You may limit the depth to which it displays entries, allowing a quick non-detailed view. This is generally meant to compliment the web views.

[ http://www.hibernaculum.net/durep/index.php ]

To show report of a specific directory in text format in terminal: durep /etc

2008-01-29-093948_1280x800_scrot.png

To get it in html format just use -w <dir location to save html file>. The html report is browsable by clicking on the folders links. The report itself is extensively customizable with loads of other info, check out the MAN page.

2008-01-29-094211_1280x800_scrot.png


Trackbacks

  1. Comando durep « Keep Walking

Subscribe without commenting


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.