File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Linux / UNIX
Finding large files
Joined: Mar 06, 2001
Jan 01, 2008 19:07:00
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
Joined: Aug 16, 2005
Jan 02, 2008 01:51:00
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 8 API documentation
Joined: Dec 28, 2007
Jan 02, 2008 05:29:00
Install "filelight", a wonderful app that shows you used space graphically.
Just go to a root console and try:
apt-get install filelight
or better, use Synaptic package manager.
SCBCD 1.3, SCWCD 1.5, SCJP 1.5 & 1.6
I agree. Here's the link:
subject: Finding large files
Rueben or Clay??
Any chance that you will have a While X'mas?
Labels with Name in Javaranch Forum Site
Need IT Job in Canada
unable to access jsp pages
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015