Find out the maximum growing file in a mount


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Find out the maximum growing file in a mount
# 1  
Old 10-01-2007
Error 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  
Old 10-01-2007
Code:
du -h /home/users/ | sort -nr

will give you the file usage sorted, you just have to select the folder to query.
# 3  
Old 10-01-2007
Under HP-UX-11.23:
Code:
du -sk /mnt/* | sort -nr

# 4  
Old 10-01-2007
Quote:
Originally Posted by sysgate
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to find out the maximum cumulative value?

I have a file has thousands of rows and each row has a number and the number can be positive or negative. I want to do the cumulative sum from the first row. How can I find out the maximum cumulative value when I do the sum work row by row. Here is the example: 4 -3 2 -3 -1 1In this case, the... (5 Replies)
Discussion started by: yuejian
5 Replies

2. Shell Programming and Scripting

Find the maximum value and take value from the neigbouring cells

Let say I have this table A B 0.30 C D 0.60 E F 0.80 G H 0.11 I J 0.10 K L 0.23 M N 0.50 O P 0.01 I need to find the maximum value in each row and output the highest value plus the information two columns back. For example: the output should look like this E F 0.80 M N 0.50 Thanks in... (2 Replies)
Discussion started by: seiksoon
2 Replies

3. Shell Programming and Scripting

Find the maximum of a value

0.01 0.6 0.39 0.4 0.3 0.3 1 0 0 0 0 1 I would like to print 2 if the maximum of a row is the first column I would like to print 1 if the maximum of a row is the second colum print 0 if it is the third. so in this case, 0.6 is the max of the first row so i would want to print 1... (5 Replies)
Discussion started by: johnkim0806
5 Replies

4. Homework & Coursework Questions

Find the Maximum value and average of a column

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I am trying to complete a script which will allow me to find: a) reads a value from the keyboard. (ask the... (4 Replies)
Discussion started by: dstewie
4 Replies

5. UNIX for Dummies Questions & Answers

Find the file which is growing at high speed

Hi, A log file which is growing at high speed, don't know the name of it. How to find the respective file? Many thanks. (2 Replies)
Discussion started by: venkatesht
2 Replies

6. Shell Programming and Scripting

find the rate of growing of filesystem

Hi, I need to find out the gigabytes/hour growth in filesystem.:confused: i am using df command for finding the filesystem size and free space every hour. But how can i find the increase in size per hour? :rolleyes: Do i have to store the last hour entries in a file and comapre with... (2 Replies)
Discussion started by: kichu
2 Replies

7. Solaris

Growing a file system-SVM

Hi gurus Im a newbie in solaris..I need to extend file system space in solaris 10 which is using SVM..I have a file system /pin02 which is 93% full n needs to be extended..only 3.6 gb avail space left..the file system is not mirrored...normal ufs file system only..can u please tel me t... (6 Replies)
Discussion started by: madanmeer
6 Replies

8. HP-UX

how to redirect the growing contents of log file to another file in unix

how to redirect the growing contents of log file to another file in unix (2 Replies)
Discussion started by: megh
2 Replies

9. UNIX for Dummies Questions & Answers

.osm file growing

my /etc/.osm file is growing rapidly and logging large amounts of activity. Can anyone tell me what this file is for and what types of information is logged in this file. Thanks in advance for your help!! (1 Reply)
Discussion started by: golfs4us
1 Replies

10. UNIX for Dummies Questions & Answers

How to find the maximum # of PIDs

Is there a command in HP Unix which can be used inside a K shell to find out the maximum number of processes (PIDs) a pc can generate? Any help will be greatly appreciated. Steve (8 Replies)
Discussion started by: stevefox
8 Replies
Login or Register to Ask a Question