<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="2.0" xml:base="http://www.kai-mai.com">
<channel>
 <title>Kai Mai&#039;s Blog - Take Back the Web - Nodes for disk</title>
 <link>http://www.kai-mai.com/tags/disk</link>
 <description>Nodes containing the tag disk</description>
 <language>en</language>
<item>
 <title>How to Check Disk Space and Directory Space in Linux</title>
 <link>http://www.kai-mai.com/node/168</link>
 <description>&lt;p&gt;
Surprisingly, I often run into the problem of running out of disk space in Linux.
&lt;/p&gt;
&lt;p&gt;
Here are some simple commands to check what consumes the most space:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt; &amp;quot;df -k&amp;quot; shows the percentage of disk consumption for each partition 
&lt;li&gt; &amp;quot;du --max-depth 1 -h /&amp;quot; shows how much space each directory under &amp;quot;/&amp;quot; consumes in megabytes 
&lt;li&gt; &amp;quot;du -sm * | sort -n&amp;quot; does the same thing as the previous command
&lt;/ul&gt;
&lt;p&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/32230/tracking-down-where-disk-space-has-gone-on-linux&quot;&gt;stackoverflow&lt;/a&gt; has a good discussion as well.
&lt;/p&gt;
&lt;p class=&quot;awTags_TagLinks&quot;&gt;Tags: &lt;a href=&quot;tags/2&quot;&gt;linux&lt;/a&gt; &lt;a href=&quot;tags/259&quot;&gt;utility&lt;/a&gt; &lt;a href=&quot;tags/348&quot;&gt;disk&lt;/a&gt; &lt;/p&gt;</description>
 <category domain="http://www.technorati.com/tag">linux</category>
 <category domain="http://www.technorati.com/tag">utility</category>
 <category domain="http://www.technorati.com/tag">disk</category>
 <pubDate>Thu, 26 Mar 2009 10:21:50 -0700</pubDate>
</item>
</channel>
</rss>
