1753761 Members
5063 Online
108799 Solutions
New Discussion юеВ

Re: 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 5
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...