View Full Version : Files Quotas
compbrat75
11-18-2004, 06:44 PM
Hello all,
My files quota is getting very high and yet, I can't find all of these files.
We send out email newsletters and the file quota goes up after I do this. My memory is fine, but it looks like I'm creating files, maybe temp files. I can't find them. Anyone have any suggestions?
Desperately seeking files.
~compbrat75
Chris
11-19-2004, 02:37 PM
Hey compbrat75,
I will show you how to find out what files are yours and how big they are.
Here is a little command we created to do so. It creates a csv file that you can import into Excel or similar application and sort to find the largest files or sort by name of file.
Login via SSH to the root(/) of your account and run this command:
echo $UID
Then, replace <UID> in the code below, with the above result, and execute the command.
find / -not \( -path '/proc' -prune -o -path '/etc/depend' -prune \) -uid <UID> -ls |awk '{print $7","$11}' > files_list.csv
I hope this works for you :)
compbrat75
11-19-2004, 05:58 PM
Hi Chris,
Thanks a bunch! That helped me find some queued files that were prime for the round file.
I even put your command into a little executable linux script to reuse.
Speaking of files to delete, when we add a PERL module, many files are created in a build directory. After the module has been built, do we need to keep these build files? That would free up a lot of file usage on our VDS. :D
Thanks!
~compbrat75
Chris
11-20-2004, 12:03 AM
Speaking of files to delete, when we add a PERL module, many files are created in a build directory. After the module has been built, do we need to keep these build files? That would free up a lot of file usage on our VDS.I am pretty sure those are safe to remove. As always, I would back them up to be sure. Have a good weekend :cool:
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.