The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
free some space in file system fu4d UNIX for Dummies Questions & Answers 6 04-11-2008 01:27 AM
file system space arg !!! and confused Westy564 AIX 2 02-20-2008 06:54 AM
Lost space on file system aribault SUN Solaris 2 03-06-2006 12:43 AM
Root File system Space cgege HP-UX 2 04-13-2005 01:21 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-04-2008
Registered User
 

Join Date: Dec 2007
Posts: 4
How to find a file whick is consuming larger disk space in file system

Hello,

Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it

please help me out
any help would be appreciated
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-04-2008
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Have fun with "du -k path..."
Reply With Quote
  #3 (permalink)  
Old 01-04-2008
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,470
Is it a running process that is consuming more space ?

In such case identify the file; use lsof and kill the process which is dumping information into the file.
Reply With Quote
  #4 (permalink)  
Old 01-04-2008
joeyg's Avatar
premier etoile de match
 

Join Date: Dec 2007
Location: Home of world champion Boston Celtics
Posts: 530
finding 10 largest in current directory

> du -k * | sort -n | tail -10

That would tell you the ten largest files in the directory you are in.
Are you trying to find the largest files across the entire system?
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0