<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>disk-usage &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/disk-usage/</link>
	<description>Feed of posts on WordPress.com tagged "disk-usage"</description>
	<pubDate>Mon, 07 Dec 2009 16:27:46 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[View disk usage]]></title>
<link>http://iljo.wordpress.com/2009/12/03/view-disk-usage/</link>
<pubDate>Thu, 03 Dec 2009 22:38:19 +0000</pubDate>
<dc:creator>Iljo</dc:creator>
<guid>http://iljo.wordpress.com/2009/12/03/view-disk-usage/</guid>
<description><![CDATA[Here are 3 linux tools that I usualy use for analysing disk space. To see size and usage of any moun]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Here are 3 linux tools that I usualy use for analysing disk space. <!--more--></p>
<ul>
<li>To see size and usage of any mounted partition <strong>df</strong> command can be used:<br />
<code>df -h</code></li>
<li>
To see disk usage of particular directory <strong>du</strong> command can be used:<br />
<code>du -sh directory_name</code></li>
<li>
In graphical enviroment good graphical disk analyser is <a href="http://www.marzocca.net/linux/baobab/"><strong>baobab</strong></a>.</li>
</ul>
<p>Ofcourse there are other options for first two commands, that can be read in their man pages. And there are many other graphical disk analysers.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Find the Largest Files and Folders On Your PC]]></title>
<link>http://whatsonmypc.wordpress.com/2009/11/13/treesize/</link>
<pubDate>Fri, 13 Nov 2009 13:00:43 +0000</pubDate>
<dc:creator>Ramblinrick</dc:creator>
<guid>http://whatsonmypc.wordpress.com/2009/11/13/treesize/</guid>
<description><![CDATA[I have been doing computers for many years and over that many years I have accumulated and collected]]></description>
<content:encoded><![CDATA[I have been doing computers for many years and over that many years I have accumulated and collected]]></content:encoded>
</item>
<item>
<title><![CDATA[Graphical Disk Usage Utility]]></title>
<link>http://bigdtechresource.wordpress.com/2009/11/01/graphical-disk-usage-utility/</link>
<pubDate>Sun, 01 Nov 2009 18:00:00 +0000</pubDate>
<dc:creator>currind06</dc:creator>
<guid>http://bigdtechresource.wordpress.com/2009/11/01/graphical-disk-usage-utility/</guid>
<description><![CDATA[Something that can be quite handy to have is a graphical disk usage utility. This is a great way in ]]></description>
<content:encoded><![CDATA[Something that can be quite handy to have is a graphical disk usage utility. This is a great way in ]]></content:encoded>
</item>
<item>
<title><![CDATA[Mit 'du' den Speicherverbrauch von Verzeichnissen ermitteln]]></title>
<link>http://linuxnetz.wordpress.com/2009/09/16/mit-du-den-speicherverbrauch-von-verzeichnissen-ermitteln/</link>
<pubDate>Wed, 16 Sep 2009 19:23:32 +0000</pubDate>
<dc:creator>linuxnetzer</dc:creator>
<guid>http://linuxnetz.wordpress.com/2009/09/16/mit-du-den-speicherverbrauch-von-verzeichnissen-ermitteln/</guid>
<description><![CDATA[Neulich war die Festplatte eines meiner Systeme voll. Ich suchte deshalb nach einer simplen Methode,]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Neulich war die Festplatte eines meiner Systeme voll. Ich suchte deshalb nach einer simplen Methode, um zu ermitteln, wo sich das Gros der Daten versteckt hielt.</strong></p>
<p>Die Lösung ist der Befehl <em>du</em> (<em>du</em>: disk usage). Als Argument nimmt er ein Verzeichnis und spuckt dann den Gesamtspeicherplatz aller Dateien innerhalb dieses Verzeichnisses als Rückgabewert aus. Um z.B. zu ermitteln, wieviel Speicher die Logdateien im Verzeichnis &#8220;/var/log&#8221; belegen, wird <em>du</em> am Besten so aufgerufen:</p>
<blockquote><p>du -sh /var/log<br />
15M            /var/log</p></blockquote>
<p>Das Verzeichnis inklusive aller Unterdateien belegt also 15 MegaByte. Die Option -h sorgt dafür, dass der Speicherplatz in KB, MB oder GB ausgegeben wird (h: human readable). Die Option -s (s: summarize) sorgt dafür, dass der Speicherverbrauch der jeweiligen Dateien schön kompakt in einer Zahl für den Gesamtverbrauch zusammengefasst wird. Ohne diese Option würde der Befehl für jede einzelne Unterdatei den Verbrauch auflisten.</p>
<p><strong>Die zweite praktische Spielart dieses Befehls ist die Option <em>&#8211;max-depth</em>.</strong> (Das Minus vor dem max-depth muss 2mal gesetzt werden. Oh Mann ich bin es Leid. Wann wird dieser dämliche bug endlich bei WordPress gefixt?) Wird diese Option mit dem Wert 1 versehen, steigt der Befehl eine Verzeichnisebene hinab und zeigt den Verbrauch aller Unterordner an. Im folgenden Beispiel versuche ich herauszufinden, in welchem Verzeichnis direkt unter / der größte Speicherplatz verbraucht wird:</p>
<blockquote><p><strong>du -h &#8211;max-depth=1 /</strong></p>
<p>51M    /boot<br />
0    /sys<br />
<strong>40G    /opensourcevideos</strong><br />
2,6M    /root<br />
6,1M    /bin<br />
1,2G    /home<br />
424M    /lib<br />
68K    /tmp<br />
4,0K    /mnt<br />
16K    /lost+found<br />
8,0K    /media<br />
0    /proc<br />
716K    /dev<br />
4,0K    /opt<br />
8,4M    /sbin<br />
15M    /etc<br />
3,0G    /usr<br />
463M    /var<br />
<strong>45G    /</strong></p></blockquote>
<p>Für das / Verzeichnis sollte der Befehl mit root-Rechten ausgeführt werden, um &#8220;permission denied&#8221; zu unterdrücken. Von den 45 GB, die / insgesamt belegt (siehe letzte Zeile), werden alleine 41 GB durch das Verzeichnis /opensourcevideos belegt. Na also, dann weiß ich auch, wo ich mal wieder aufräumen muss&#8230;</p>
<p>Weiteführende Infos:</p>
<blockquote><p>man du</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[WinDirStat - Disk Usage Statistics Viewer for Microsoft Windows]]></title>
<link>http://linuxandfriends.com/2009/02/22/windirstat-disk-usage-statistics-viewer-for-microsoft-windows/</link>
<pubDate>Sun, 22 Feb 2009 00:44:55 +0000</pubDate>
<dc:creator>linuxandfriends</dc:creator>
<guid>http://linuxandfriends.com/2009/02/22/windirstat-disk-usage-statistics-viewer-for-microsoft-windows/</guid>
<description><![CDATA[WinDirStat is a GNU/GPLed disk usage statistics viewer for Microsoft Windows.  What it does is, it s]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>WinDirStat</strong> is a GNU/GPLed disk usage statistics viewer for Microsoft Windows.  What it does is, it scans your hard disk and other connected storage devices  and displays all the files and directories in it via a directory list and a treemap.<br />
<!--more--><br />
It is a tiny utility (631 Kb) but which packs a punch in terms of its sheer number of useful features. For instance, once WinDirStat finishes scanning your hard disk, it will present the results in a nice display of a treemap. This treemap will give you a birds eye view of which files are taking up the most space.</p>
<div class="wp-caption aligncenter" style="width: 298px"><a href="http://lh5.ggpht.com/_SDd59HFkDQI/SZ-hjzbiYvI/AAAAAAAAAbU/hiZ-pgtxWgQ/s800/windirstat-interface.png" target="_blank"><img title="WinDirStat Interface" src="http://lh5.ggpht.com/_SDd59HFkDQI/SZ-hjzbiYvI/AAAAAAAAAbU/hiZ-pgtxWgQ/s288/windirstat-interface.png" alt="" width="288" height="207" /></a><p class="wp-caption-text">WinDirStat interface is a right mix of beauty and functionality.</p></div>
<div class="wp-caption aligncenter" style="width: 298px"><a href="http://lh5.ggpht.com/_SDd59HFkDQI/SZ-hj6B6vcI/AAAAAAAAAbc/_Wzcz5N_cSA/s800/windirstat-scanning-in-progress.png" target="_blank"><img title="WinDirStat scanning in progress" src="http://lh5.ggpht.com/_SDd59HFkDQI/SZ-hj6B6vcI/AAAAAAAAAbc/_Wzcz5N_cSA/s288/windirstat-scanning-in-progress.png" alt="" width="288" height="197" /></a><p class="wp-caption-text">Each time you start WinDirStat, it does a fresh scan of your hard disk. Scanning doesn&#39;t take much time though.</p></div>
<p>Clicking on a part of the treemap will take you directly to the corresponding file in the directory list and you can execute any one of the tasks namely -</p>
<ol>
<li>Opening the directory corresponding to that particular file in Windows Explorer</li>
<li>Deleting the specific file</li>
<li>Opening the command prompt in the directory holding the file, Or</li>
<li>Copy the path of the file to clipboard.</li>
</ol>
<p>WinDirStat also has a very useful set of inbuilt keyboard shortcuts which can be used to navigate through the directory tree.</p>
<p>I found WinDirStat a very useful tool to identify and clean up my hard disk of useless files which were taking up valuable space. I like this tool all the more because it is free and has been released under a GNU/GPL licence.  You can download WinDirStat from it&#8217;s <a title="windirstat.info" href="http://windirstat.info/" target="_blank">homepage</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[WinDirStat]]></title>
<link>http://bgnrsit.wordpress.com/2009/02/16/windirstat/</link>
<pubDate>Mon, 16 Feb 2009 08:19:35 +0000</pubDate>
<dc:creator>bgnrsit</dc:creator>
<guid>http://bgnrsit.wordpress.com/2009/02/16/windirstat/</guid>
<description><![CDATA[WinDirStat &#8211; Windows Directory Statistics This nifty little tool lets you actually see what]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>WinDirStat &#8211; Windows Directory Statistics<br />
This nifty little tool lets you actually see what&#8217;s taking up those 50Gigs you thought were free.  Fancy graphical interface, easy to use&#8230; Is nice. Select which drives you want to scan, or just folders within them&#8230; <img alt="" src="http://windirstat.info/images/windirstat.jpg" class="alignright"></p>
<p>I&#8217;m a fan of HD Graph which does a similar thing with pie charts, but I tried this out and thought it was easier to use.  Plus it has little pacman animations when searching through your drives&#8230;.</p>
<p>Check it out: <a href="http://windirstat.info/">http://windirstat.info/</a><br />
For Windows.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux: To check disk usage ]]></title>
<link>http://drenganathan.wordpress.com/2009/01/22/linux-to-check-disk-usage/</link>
<pubDate>Thu, 22 Jan 2009 08:29:25 +0000</pubDate>
<dc:creator>Renga</dc:creator>
<guid>http://drenganathan.wordpress.com/2009/01/22/linux-to-check-disk-usage/</guid>
<description><![CDATA[As usual I always try to learn more and more SSH tricks, Today I learned how to check hard disk usag]]></description>
<content:encoded><![CDATA[As usual I always try to learn more and more SSH tricks, Today I learned how to check hard disk usag]]></content:encoded>
</item>
<item>
<title><![CDATA[Free Disk Usage Analyzer...]]></title>
<link>http://whatsonmypc.wordpress.com/2009/01/13/free-disk-usage-analyzer/</link>
<pubDate>Tue, 13 Jan 2009 15:10:51 +0000</pubDate>
<dc:creator>Ramblinrick</dc:creator>
<guid>http://whatsonmypc.wordpress.com/2009/01/13/free-disk-usage-analyzer/</guid>
<description><![CDATA[Over the span of time many computer users download numerous files onto their computer and never take]]></description>
<content:encoded><![CDATA[Over the span of time many computer users download numerous files onto their computer and never take]]></content:encoded>
</item>
<item>
<title><![CDATA[WinDirStat - Visual Disk Usage Statistics]]></title>
<link>http://techtooltip.wordpress.com/2008/10/23/windirstat-visual-disk-usage-statistics/</link>
<pubDate>Thu, 23 Oct 2008 11:43:50 +0000</pubDate>
<dc:creator>excogitator</dc:creator>
<guid>http://techtooltip.wordpress.com/2008/10/23/windirstat-visual-disk-usage-statistics/</guid>
<description><![CDATA[This is continuation of my previous post on the similar tool KDirStat for Linux user. It is highly r]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">This is continuation of my previous post on the similar tool KDirStat for Linux user. It is highly recommended that you go through the post <a title="My post on KDirStat" href="http://techtooltip.wordpress.com/2008/10/23/kdirstat-visual-disk-usage-statistics/" target="_blank">here</a> before going further as I will not discuss the common stuff again.</p>
<p style="text-align:justify;">WinDirStat is windows replacement for KDirStat, as the original concept was taken from KDirStat they are almost same and do the same job. Following picture show the main window for WinDirStat.</p>
<div class="wp-caption aligncenter" style="width: 310px"><a href="http://windirstat.info/images/windirstat.jpg"><img title="WinDirStat Main Window" src="http://windirstat.info/images/windirstat.jpg" alt="WinDirStat Main Window" width="300" height="226" /></a><p class="wp-caption-text">WinDirStat Main Window</p></div>
<p style="text-align:justify;"><em><strong>WinDirStat Features:</strong></em></p>
<ul style="text-align:justify;">
<li>The directory list, which resembles the tree view of the Windows Explorer but       is sorted by file/subtree size,</li>
<li>The treemap, which shows the whole contents of the directory tree straight       away,</li>
<li>The extension list, which serves as a legend and shows statistics about the       file types.</li>
<li>Coupling. Select an item in the directory list: The treemap highlights it; and       vice versa.</li>
<li>Zooming.</li>
<li>Built-in cleanup actions including Open, Show Properties, Delete.</li>
<li>User-defined cleanups (command line based).</li>
<li>Works with network drives and UNC paths.</li>
<li>&#8216;Create disk usage report&#8217; option.</li>
<li>&#8216;Submit bug report/Feedback&#8217; option.</li>
<li>Online help.</li>
<li>setup.exe.</li>
<li>Language can be set to Czech, Dutch, Estonian, Finnish, German, English, Spanish, French, Hungarian, Italian, Polish and Russian.</li>
<li>Free software released under GPL</li>
</ul>
<p style="text-align:justify;">Links Related to This Post:</p>
<ul style="text-align:justify;">
<li><a title="KDirStat on Tech Tool Tip" href="http://techtooltip.wordpress.com/2008/10/23/kdirstat-visual-disk-usage-statistics/" target="_blank">My post on KDirStat for Linux users</a></li>
<li><a title="WinDirStat Homepage" href="http://windirstat.info/" target="_blank">WinDirStat Homepage</a></li>
<li><a title="Download WinDirStat" href="http://windirstat.info/wds_current_setup.exe" target="_blank">WinDirStat Latest Installer</a></li>
<li><a title="KDirStat Homepage" href="http://kdirstat.sourceforge.net/" target="_blank">KDirStat Homepage</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[KDirStat - Visual Disk Usage Statistics]]></title>
<link>http://techtooltip.wordpress.com/2008/10/23/kdirstat-visual-disk-usage-statistics/</link>
<pubDate>Thu, 23 Oct 2008 11:36:58 +0000</pubDate>
<dc:creator>excogitator</dc:creator>
<guid>http://techtooltip.wordpress.com/2008/10/23/kdirstat-visual-disk-usage-statistics/</guid>
<description><![CDATA[Someone has said that &#8220;A Picture is worth thousand words&#8221;. I completely agree with this ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">Someone has said that &#8220;A Picture is worth thousand words&#8221;. I completely agree with this statement when it come to determine hard disk usage. This requirement is even more prominent when you want to clean up your hard disk, if we know which directory occupies more space on hard disk we can concentrate on it for clean up. Similarly if we know which directory contains more number of files we might want to keep it defragmented to speed up the system.</p>
<p style="text-align:justify;">There are many command line utilities that can provide this information du, dir, df etc. The problem with these commands is the results are not usable as it is either we need to sort them or combine them (to the level you want) and they don&#8217;t get the information is not relative to each other or total disk size.</p>
<p style="text-align:justify;"><em><strong>What is KDirStat</strong></em>:</p>
<p style="text-align:justify;">KDirStat is a visual disk usages statistic application for KDE users (Windows users please check out my post on WinDirStat <a title="WinDirStat on Tech Tool Tip" href="http://techtooltip.wordpress.com/2008/10/23/windirstat-visual-disk-usage-statistics/" target="_blank">here</a>). This application scans the whole file system or given directory and displays the statistics both in numerical form as well as graphical form. See the picture below to understand what I am talking about:</p>
<div class="wp-caption aligncenter" style="width: 310px"><a href="http://kdirstat.sourceforge.net/screen-shots/kdirstat-main.png"><img title="KDirStat Main Window" src="http://kdirstat.sourceforge.net/screen-shots/kdirstat-main.png" alt="KDirStat Main Window" width="300" height="232" /></a><p class="wp-caption-text">KDirStat Main Window</p></div>
<p style="text-align:justify;">Numerical view: As shown in above picture, top half of the image shows directory tree along with file size, percentage usage with respect to the total size in numerical as well as bar graph form, and last accessed date. The important part is if you go to the directory entry in this tree it will show the total usage of the directory including all sub-directories and files in them.</p>
<p style="text-align:justify;">Graphical view: The bottom part is graphical view where each file is shown as a block, size of the block is relative to size of the file and space it occupies with respect to total size. Just like tree view all files in the given directory are grouped together.</p>
<p style="text-align:justify;">Both the views are linked to each other, if you want to know space consumed by given directory, select it in tree view and corresponding block will be highlighted in Graphical view, If you see a huge block in graphical view click on it and tree view will point to the corresponding entry, this is very handy when you want to do system cleanup.</p>
<p><em><strong>KDirStat Features:</strong></em></p>
<ul>
<li>Graphical and numeric display of used disk space</li>
<li>Different directory levels are shown in different colors</li>
<li>Individual file in a directory are grouped together in &#60;files&#62; item to improve the readability</li>
<li>Graphical view makes it very easy to find huge files</li>
<li>Basic file opeartions can be done from KDirStat itself</li>
<li>Synchronized graphical and numerical view</li>
<li>Each block in graphical view is colored as per its file type</li>
<li>Different types of graphical view
<ul>
<li><a href="http://kdirstat.sourceforge.net/screen-shots/plain-treemap.png">Plain</a></li>
<li><a href="http://kdirstat.sourceforge.net/screen-shots/squarified-treemap.png">Squarified</a> (no thin elongated rectangles)</li>
<li><a href="http://kdirstat.sourceforge.net/screen-shots/squarified-cushion-treemap.png">Cushion</a></li>
<li><a href="http://kdirstat.sourceforge.net/screen-shots/colored-treemap.png">Colored</a></li>
</ul>
</li>
<li>Both the views can be zoomed to required directory level</li>
<li>Predefined cleanup actions such as delete, archive</li>
<li>User defined cleanup actions</li>
<li>Lot of fun</li>
<li>Free Software released under GPL</li>
</ul>
<p><em><strong>Links Related to This Post:</strong></em></p>
<ul>
<li><a title="WinDirStat on Tech Tool Tip" href="http://techtooltip.wordpress.com/2008/10/23/windirstat-visual-disk-usage-statistics/" target="_blank">My post on WinDirStat for Windows users<br />
</a></li>
<li><a title="KDirStat Homepage" href="http://kdirstat.sourceforge.net/" target="_blank">KDirStat Home Page</a></li>
<li><a title="WinDirStat Homepage" href="http://windirstat.info/" target="_blank">WinDirStat Home Page</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Free Up 10 GigaBytes or more of Disk Space in Windows]]></title>
<link>http://pcwizkid.wordpress.com/2008/06/27/free-up-disk-space-in-windows/</link>
<pubDate>Fri, 27 Jun 2008 14:47:32 +0000</pubDate>
<dc:creator>PCWizKid</dc:creator>
<guid>http://pcwizkid.wordpress.com/2008/06/27/free-up-disk-space-in-windows/</guid>
<description><![CDATA[There are many areas in Windows Vista and XP that you can delete temporary files and decrease disk u]]></description>
<content:encoded><![CDATA[There are many areas in Windows Vista and XP that you can delete temporary files and decrease disk u]]></content:encoded>
</item>
<item>
<title><![CDATA[Print directory tree disk usage on the command line]]></title>
<link>http://pebblesinthesand.wordpress.com/2008/05/20/print-directory-tree-disk-usage-on-the-command-line/</link>
<pubDate>Tue, 20 May 2008 11:27:50 +0000</pubDate>
<dc:creator>kawakamasu</dc:creator>
<guid>http://pebblesinthesand.wordpress.com/2008/05/20/print-directory-tree-disk-usage-on-the-command-line/</guid>
<description><![CDATA[Suppose you have a large tree of directories containing lots of data (such as source code of a big p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Suppose you have a large tree of directories containing lots of data (such as source code of a big project or numerical output of your simulations) and you need to estimate the total size of the whole tree. In graphical user interface this can be done by examining the directory properties. But as usual things can be done faster on the command line, where the suitable command is <code>du</code> (for Disk Usage).</p>
<p>An example (assuming that the root of your directory tree is called <code>data</code>)</p>
<p><code>du -h --max-depth=1 data<br />
1.1G    data/soln<br />
3.0M    data/binary<br />
1.1G    data<br />
</code></p>
<p>The <code>-h</code> option tells <code>du</code> to use human readable format, i.e. MB, GB etc instead of bytes. Option <code>--max-depth=1</code> means that only the first subdirectories are listed. For more info on the options run <code>man du</code>.
<ul>
<p>It is convenient to create an alias for shortening the long command such as<br />
<code>alias disku='du -h --max-depth=1'</code><br />
For the alias to be present in all future sessions, add the line to your shell initialization file (for bash shell <code>~/.bashrc</code> for example).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to detect phantom disk space usage]]></title>
<link>http://gregalbrecht.com/2008/04/14/fstat/</link>
<pubDate>Mon, 14 Apr 2008 20:41:34 +0000</pubDate>
<dc:creator>Greg Albrecht</dc:creator>
<guid>http://gregalbrecht.com/2008/04/14/fstat/</guid>
<description><![CDATA[Sometimes, in UNIX, you&#8217;ll come across this problem: Your disk is full but you can&#8217;t see]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sometimes, in UNIX, you&#8217;ll come across this problem:</p>
<p>Your disk is full but you can&#8217;t seem to find the file (or files) that are taking up the space. <strong><a href="http://www.freebsd.org/cgi/man.cgi?query=df">df</a> -k</strong> shows 100% disk usage for the file system, but when you get down to the directory level and start running <strong><a href="http://www.freebsd.org/cgi/man.cgi?query=du">du</a> -sk</strong> you can&#8217;t seem to account for that 100% usage. What can you do?</p>
<p><a href="http://www.freebsd.org">FreeBSD</a> (and probably other OS&#8217;) have a utility called <strong><a href="http://www.freebsd.org/cgi/man.cgi?query=fstat">fstat</a></strong> which will show active files (aka file descriptors) on each file system on your computer. Each open FD (file descriptor) will show these fields in <em>fstat</em>:</p>
<pre><strong>USER     CMD          PID   FD MOUNT      INUM MODE         SZ&#124;DV R/W</strong></pre>
<p>For more info on what each of these fields mean, see the <em>fstat</em> man page (&#8216;<a href="http://www.freebsd.org/cgi/man.cgi?query=fstat">man fstat</a>&#8216;). Here&#8217;s an example output from <strong>fstat</strong>:</p>
<blockquote>
<pre>USER     CMD          PID   FD MOUNT      INUM MODE         SZ&#124;DV R/W
root     tail         216    3 /var       8389 -rw-------  212254704  r</pre>
</blockquote>
<p>This shows us that the <strong>tail</strong> program has <em>FD3</em> open on <em>/var</em> and is taking up 212MB of storage. Clearly this is a hog. We can <strong><a href="http://www.freebsd.org/cgi/man.cgi?query=kill">kill</a> 216</strong> (the PID &#8211; Process ID &#8211; of <em>tail</em>), instantly freeing up space. Of course, you might not always want to kill the program that&#8217;s using up your space, restarting or HUP&#8217;ing is sometimes sufficient. For example, in <a href="http://www.apache.org">apache</a>&#8217;s <a href="http://httpd.apache.org"><em>httpd</em></a> using <strong>apachectl graceful</strong> is sufficient:</p>
<blockquote><p>Gracefully restarts the Apache httpd daemon. If the daemon is not running, it is started. This differs from a normal restart in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log files are closed before processing them. This command automatically checks the configuration files as in configtest before initiating the restart to make sure Apache doesn&#8217;t die. This is equivalent to apachectl -k graceful.<br />
- From &#8220;<a href="http://httpd.apache.org/docs/2.0/programs/apachectl.html">apachectl &#8211; Apache HTTP Server Control Interface</a>&#8220;</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[du | sort | awk = dusa]]></title>
<link>http://wmanochio.wordpress.com/2008/03/17/du-sort-e-awk/</link>
<pubDate>Mon, 17 Mar 2008 23:18:24 +0000</pubDate>
<dc:creator>wManochio</dc:creator>
<guid>http://wmanochio.wordpress.com/2008/03/17/du-sort-e-awk/</guid>
<description><![CDATA[Por diversos motivos, vira e mexe, preciso saber quanto de espaço os diretórios estão utilizando em ]]></description>
<content:encoded><![CDATA[Por diversos motivos, vira e mexe, preciso saber quanto de espaço os diretórios estão utilizando em ]]></content:encoded>
</item>
<item>
<title><![CDATA[Find disk usage on Linux]]></title>
<link>http://ilearneditonline.wordpress.com/2008/03/03/find-disk-usage-on-linux/</link>
<pubDate>Mon, 03 Mar 2008 14:26:23 +0000</pubDate>
<dc:creator>Joe</dc:creator>
<guid>http://ilearneditonline.wordpress.com/2008/03/03/find-disk-usage-on-linux/</guid>
<description><![CDATA[Ever wanted to know how much free space you have on your linux drives? You can try the df command fr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ever wanted to know how much free space you have on your linux drives? You can try the df command from the shell&#8230;</p>
<p><a href="http://ilearneditonline.wordpress.com/files/2008/07/dfcommand.jpg"><img class="alignnone size-full wp-image-292" src="http://ilearneditonline.wordpress.com/files/2008/07/dfcommand.jpg" alt="" width="336" height="202" /></a></p>
<p>You could add the -h option to get a more human readable output&#8230;</p>
<p><a href="http://ilearneditonline.wordpress.com/files/2008/07/dfhcommand.jpg"><img class="alignnone size-full wp-image-293" src="http://ilearneditonline.wordpress.com/files/2008/07/dfhcommand.jpg" alt="" width="336" height="202" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Filelight makes my day]]></title>
<link>http://handyfloss.wordpress.com/2008/02/07/filelight-makes-my-day/</link>
<pubDate>Thu, 07 Feb 2008 11:52:48 +0000</pubDate>
<dc:creator>isilanes</dc:creator>
<guid>http://handyfloss.wordpress.com/2008/02/07/filelight-makes-my-day/</guid>
<description><![CDATA[First of all: yes, this could have been made with du. Filelight is just more visual. The thing is th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>First of all: yes, this could have been made with <a href="http://en.wikipedia.org/wiki/Du_(Unix)">du</a>. <a href="http://www.methylblue.com/filelight/">Filelight</a> is just more visual.</p>
<p>The thing is that yesterday I noticed that my <a href="http://en.wikipedia.org/wiki/Root_directory">root partition</a> was a bit on the crowded side (90+%). I though it could be because of <tt>/var/cache/apt/archives/</tt>, where all the <a href="http://en.wikipedia.org/wiki/Advanced_Packaging_Tool">installed .deb files</a> reside, and started purging some unneeded installed packages (very few&#8230; I only install what I need). However, I decided to double check, and Filelight has given me the clue:</p>
<div align="center">
<a href='http://handyfloss.wordpress.com/files/2008/02/filelight.png' title='Filelight_root'><img src='http://handyfloss.wordpress.com/files/2008/02/filelight.thumbnail.png' alt='Filelight_root' /></a></p>
<p><i>(click to enlarge)</i></p>
</div>
<p>Some utter disaster in a printing job filled the <tt>/var/spool/cups/tmp/</tt> with 1.5GB of crap! After deleting it, my root partition is back to 69% full, which is normal (I partitioned my disk with 3 roots of 7.5GB (for three simultaneous OS installations, if need be), a <tt>/home</tt> of 55GB, and a secondary disk of 250GB).</p>
<p>Simple problem, simple solution.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[JDiskReport]]></title>
<link>http://bdjnk.wordpress.com/2008/01/06/jdiskreport/</link>
<pubDate>Sun, 06 Jan 2008 07:23:46 +0000</pubDate>
<dc:creator>bdjnk</dc:creator>
<guid>http://bdjnk.wordpress.com/2008/01/06/jdiskreport/</guid>
<description><![CDATA[A great many programs that calculate and display disk usage are avaliable free of charge. However mo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A great many programs that calculate and display disk usage are avaliable free of charge. However most are quite ugly and many are slow or buggy.</p>
<p>This is why JDiskReport is such an amazing find. It is fast, looks nice, and has every feature you need to discover exactly what&#8217;s hogging your disk space.</p>
<p>In addition to the standard file size chat, JDiskReport has distribution charts for files sizes, for modification dates, and for file types, as well as detailed lists of the fifty largest, oldest and newest files.</p>
<p>Every time I need to figure out when and where all my disk space has gone I reach for JDiskReport, and I have yet to be disappointed.</p>
<p>Get <a HREF="http://www.jgoodies.com/freeware/jdiskreport/" TARGET="_blank" TITLE="JDiskReport">JDiskReport</a> Now</p>
<p>JDiskReport &#8211; 78,100</p>
<p>Part of the series, <a HREF="/2007/12/24/the-best-of-free-software/" TITLE="The Best of Free Software">The Best of Free Software</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[App of the week: Filelight]]></title>
<link>http://handyfloss.wordpress.com/2007/11/12/app-of-the-week-filelight/</link>
<pubDate>Mon, 12 Nov 2007 16:56:33 +0000</pubDate>
<dc:creator>isilanes</dc:creator>
<guid>http://handyfloss.wordpress.com/2007/11/12/app-of-the-week-filelight/</guid>
<description><![CDATA[Actually it is two applications I want to highlight: Filelight and Baobab. Both are disk usage analy]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Actually it is two applications I want to highlight: <a href="http://en.wikipedia.org/wiki/Filelight">Filelight</a> and <a href="http://www.marzocca.net/linux/baobab.html">Baobab</a>. Both are <a href="http://en.wikipedia.org/wiki/Du_(Unix)">disk usage</a> analyzers, the former for <a href="http://en.wikipedia.org/wiki/KDE">KDE</a> (see Figure 1), and the latter for <a href="http://en.wikipedia.org/wiki/GNOME">GNOME</a> (see Figure 2).</p>
<p align="center">
<a href="http://www.ehu.es/isilanes/pics/blog/DUAs/filelight.png"><br />
<img src="http://www.ehu.es/isilanes/pics/blog/DUAs/filelight.png" alt="filelight" width="600" /><br />
</a><br />
<br />
<b>Figure 1:</b> Filelight <i>(click to enlarge)</i>
</p>
<p align="center">
<a href="http://www.ehu.es/isilanes/pics/blog/DUAs/baobab.png"><br />
<img src="http://www.ehu.es/isilanes/pics/blog/DUAs/baobab.png" alt="baobab" width="600" /><br />
</a><br />
<br />
<b>Figure 2:</b> Baobab <i>(click to enlarge)</i>
</p>
<p>A disk usage analyzer is a tool to conveniently find out how much hard disk space different directories and files are taking up. It combines the effectiveness of the Unix <a href="http://en.wikipedia.org/wiki/Du_(Unix)">du</a> (if you never used it, stop here and do a <tt>man du</tt> in your command line immediately. If you do not know what that &#8220;command line&#8221; thingie is, whip yourself in the back repeatedly), with the convenience of a visual clue of how large directories are compared to one another.</p>
<p>From the two DUAs I mention, I largely prefer Filelight, for some reasons:</p>
<p>1 &#8211; When I want to open a terminal in a location chosen from the DUA window, with Baobab it&#8217;s two clicks away: &#8220;Open file manager here&#8221;, then &#8220;Open terminal here&#8221; in the file manager. With Filelight, it&#8217;s just one click: &#8220;open terminal here&#8221;. Plus Filelight has a handy <a href="http://en.wikipedia.org/wiki/URL_bar">locator bar</a> at the top, showing the full path to the current location (useful to copy-and-paste with the mouse to an already open terminal).</p>
<p>2 &#8211; Filelight shows directories up to individual files. Baobab just dirs.</p>
<p>3 &#8211; With Filelight, navigation up and down (and back and forward) in the dir tree is a breeze (web browser-style). With Baobab, it&#8217;s a pain.</p>
<p>4 &#8211; The presentation is similar, but the one of Filelight is slightly nicer, with more info when the mouse is hovered over the graph.</p>
<p>Probably Baobab can be easily made to behave like Filelight. I just tried them both, and liked the latter better on first sight. I tried Baobab first, and I found some things lacking. When I tried Filelight, five minutes later, I just thought &#8220;<i>These</i> are the details Baobab was missing!&#8221;</i></p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
