disk/file grow
Hello,
How can I find out which files are growing more than usual? Is there a way to take hourly/daily snapshots of disk space usage? I have a dir which is growing large and cant find the reason why or which file is it...Thanks for tips. |
Hi there,
You can cron a 'du -h' command and mail the result to U or redirect the output to a file. #crontab -e 00 * * * * du -h </path/to/repository> >> </path/to/log> Will do the job, I think. Cheers |
which directory
Is the directory created by U or in the systems area.
Use a find command to sortout big files. |
Thanks Tizzef!
AbrahamJose, The directory is created by me. I was thinking of using some kind of script that would take a snapshot of /my/dir so that i can later compare which files are growing abnormally or more than unusual...thanx |
Any jobs?
Any jobs running, that generates some files in ur area.
find /my/dir size +2000 -print will list out all files above the size 2000k |
Thats what i need to find out, if there is any job doing something in that area. I wrote a little script that will hopefully give me an idea. Thanx
|
All times are GMT -5. The time now is 01:02 PM. |