File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes Finding large files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Finding large files" Watch "Finding large files" New topic
Author

Finding large files

David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I have a machine that appears to have something choking its disk. I know about using 'du', but does anyone have any pointers on ways to fine tune my search for the troublemaker(s)?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Have a look at the 'find' command (try 'man find'). You can use it to find files based on many different criteria, including the size of files.

For example, to find all files in the file system larger than 100 MB, do:

find / -size +100M -print
[ January 02, 2008: Message edited by: Jesper Young ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Diego Freniche
Greenhorn

Joined: Dec 28, 2007
Posts: 8
Install "filelight", a wonderful app that shows you used space graphically.
Just go to a root console and try:

or better, use Synaptic package manager.


SCBCD 1.3, SCWCD 1.5, SCJP 1.5 & 1.6
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding large files
 
Similar Threads
Need IT Job in Canada
Rueben or Clay??
Labels with Name in Javaranch Forum Site
Any chance that you will have a While X'mas?
unable to access jsp pages