The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
TO find the word which occurs maximum number of times aajan Shell Programming and Scripting 5 01-11-2008 04:11 AM
.osm file growing golfs4us UNIX for Dummies Questions & Answers 1 07-23-2007 10:40 AM
How to find the maximum # of PIDs stevefox UNIX for Dummies Questions & Answers 8 08-04-2006 04:22 AM
How to check a file in UNIX is closed or growing? kslakshm UNIX for Advanced & Expert Users 6 01-06-2005 11:48 AM
Maximum size of sed file... peter.herlihy UNIX for Dummies Questions & Answers 14 03-25-2002 05:31 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-01-2007
raman1605 raman1605 is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 41
Exclamation Find out the maximum growing file in a mount

I need to find the file that is growing in the mount. Say yesterday the utilised space was 95% but today that is 96%. How do i find the file that is growing in size. Have checked the same with du/df options but was not able to find much.

Please suggest the best possible option.
  #2 (permalink)  
Old 10-01-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
Code:
du -h /home/users/ | sort -nr
will give you the file usage sorted, you just have to select the folder to query.
  #3 (permalink)  
Old 10-01-2007
Cameron's Avatar
Cameron Cameron is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 499
Under HP-UX-11.23:
Code:
du -sk /mnt/* | sort -nr
  #4 (permalink)  
Old 10-01-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
Quote:
Originally Posted by sysgate View Post
Code:
du -h /home/users/ | sort -nr
will give you the file usage sorted, you just have to select the folder to query.
I wouldn't use -h in this case. The units will change depending on the size, so a 20MB file will be listed as being bigger than a 2GB one.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0