Popular recipes tagged "administration"http://code.activestate.com/recipes/tags/administration/popular/2010-07-18T02:52:18-07:00ActiveState Code RecipesBigDirs - Where's my disk space gone? (Python)
2010-07-18T02:52:18-07:00Jack Trainorhttp://code.activestate.com/recipes/users/4076953/http://code.activestate.com/recipes/577301-bigdirs-wheres-my-disk-space-gone/
<p style="color: grey">
Python
recipe 577301
by <a href="/recipes/users/4076953/">Jack Trainor</a>
(<a href="/recipes/tags/administration/">administration</a>, <a href="/recipes/tags/shortcut/">shortcut</a>).
Revision 2.
</p>
<p>BigDirs locates directories taking up the most disk space in files at that directory level, not in the nested directories below it. In my experience this is the easiest way to find where my disk space got chewed up.</p>
<p>Set DEFAULT_DIR for the root directory you wish to check.
Set DEFAULT_THRESHOLD for the minimum size of the directories you wish to see in the output.</p>
Query a rpm file and return a dict with of various rpm tags (Python)
2004-10-23T12:48:45-07:00Shekhar Tiwatnehttp://code.activestate.com/recipes/users/2071240/http://code.activestate.com/recipes/306705-query-a-rpm-file-and-return-a-dict-with-of-various/
<p style="color: grey">
Python
recipe 306705
by <a href="/recipes/users/2071240/">Shekhar Tiwatne</a>
(<a href="/recipes/tags/administration/">administration</a>, <a href="/recipes/tags/packaging/">packaging</a>, <a href="/recipes/tags/rpm/">rpm</a>).
Revision 4.
</p>
<p>A simple script which queries a rpm package and prints few important rpm tags.</p>