I like <br>du -k / |sort -nr |more<br><br><br><br><div><span class="gmail_quote">On 8/9/06, <b class="gmail_sendername">JJ Neff</b> <<a href="mailto:jjneff@yahoo.com">jjneff@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just some variants<br><br>I like du -skh (make Human readable) Then I grep G or M to ignore all K files, dirs..<br><br>JJN<br><br>----- Original Message ----<br>From: Mark Musone <<a href="mailto:mmusone@shatterit.com">
mmusone@shatterit.com</a>><br>To: <a href="mailto:nflug@nflug.org">nflug@nflug.org</a><br>Sent: Wednesday, August 9, 2006 9:22:10 AM<br>Subject: RE: [nflug] uhoh<br><br>Go into the / directory and type:<br><br><br>/# du -sk *
<br><br>This should give you a list of all directories and their sizes<br><br>Find the ones that are the biggest (not including /var,/usr,/tmp,/home) and<br>go into those directories, issuing du -sk * in that sub directory..etc..
<br><br>Another option is the find command:<br><br>"find / -mtime +1" (shows all files that have been modified in the past<br>day)<br><br>"find / -size +100K" (shows all files that are bigger than 100K"
<br><br><br>-Mark<br><br><br>-----Original Message-----<br>From: <a href="mailto:nflug-bounces@nflug.org">nflug-bounces@nflug.org</a> [mailto:<a href="mailto:nflug-bounces@nflug.org">nflug-bounces@nflug.org</a>] On Behalf Of
<br>eric<br>Sent: Wednesday, August 09, 2006 10:17 AM<br>To: <a href="mailto:nflug@nflug.org">nflug@nflug.org</a><br>Subject: [nflug] uhoh<br><br>File system Size Used Avail Use% Mounted on<br>/dev/hdc3 251M 251M 0 100% /
<br>tmpfs 758M 4.0K 758M 1% /dev/shm<br>/dev/hdc8 101G 12G 85G 12% /home<br>/dev/hdc7 358M 8.1M 331M 3% /tmp<br>/dev/hdc4 4.6G 516M 3.9G 12% /usr<br>/dev/hdc5
2.8G 1.6G 1.2G 58% /var<br><br>My / directory is stuffed, I already have /var/logs linked into a /home dir<br>how do I take out the trash sort of speak, I guess I should really know what<br>the culprit file or files that caused the fill up as well
<br><br>Thanks again,<br>eric<br><br>_______________________________________________<br>nflug mailing list<br><a href="mailto:nflug@nflug.org">nflug@nflug.org</a><br><a href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug
</a><br><br>_______________________________________________<br>nflug mailing list<br><a href="mailto:nflug@nflug.org">nflug@nflug.org</a><br><a href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug
</a><br><br><br><br>_______________________________________________<br>nflug mailing list<br><a href="mailto:nflug@nflug.org">nflug@nflug.org</a><br><a href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug
</a><br></blockquote></div><br>