I had my php_errors.log file fill up the system, I deleted the error logs, but when I type
df -h www/folder_name
Filesystem Size Used Avail Use% Mounted on
bindfs 7.8G 7.4G 379M 96% /www/folder_name
How do I clear it up
I had my php_errors.log file fill up the system, I deleted the error logs, but when I type
df -h www/folder_name
Filesystem Size Used Avail Use% Mounted on
bindfs 7.8G 7.4G 379M 96% /www/folder_name
How do I clear it up
Try walking the directory tree using:
du -h --max-depth=1 /www/folder_name
to figure out which directories are using the most space.
[ 473M ./vendor 12K ./nbproject 32K ./bootstrap 12K ./tests 468K ./database 6.1M ./.git 34M ./storage 25M ./public 1.8M ./resources 132K ./config 796K ./app 611M . ]
– Jon Awoyele Feb 26 '17 at 00:14"df -h" only shows you the free space, which is has done. You have 379M free on that filesystem.
You may want to try something like "du -sh /www/folder_name/*" to determine what is using the space in that folder.
cd /www/folder_name; du -sh *to check which files cost such much on your disk. – Shui shengbao Feb 23 '17 at 05:44