HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

mount point usage

 
himacs
Super Advisor

mount point usage

Hi Admins,

My one of the mountpoint disk usage suddenly increased.How can i find out which are the filesizes suddenly increased through script

please suggets on this


regards
himacs
5 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: mount point usage

we no need use script , we can try using some commands to start checking.


cd /mount_point
du -sk *
Problems are common to all, but attitude makes the difference
himacs
Super Advisor

Re: mount point usage

Hi Johnson,

Thanks for the reply..

Actually i want know which are the files recently updated .Instead of checking each and every folder i thought script will be useful.

Regards
himacs
ani007
Super Advisor

Re: mount point usage

#cd
#find . -xdev -size +1000000 -exec ls -lrt {} \;

you can modify the linit(1000000).
Regards,
Ani
Tingli
Esteemed Contributor

Re: mount point usage

I use this script to find the large file with date attached to it.
James R. Ferguson
Acclaimed Contributor

Re: mount point usage

Hi:

You might begin with:

# find /path -xdev -type f -mtime -3 -exec ls -ld {} +

This will find files which have been modified during the last three days.

You could also look at the largest directories:

# du -xk /path|sort -rnk1,1

Regards!

...JRF...


Regards!

...JRF...