磁盘爆满怎么办
MYSQL日志已经关闭并清理了。感谢回答!# du -h --max-depth=1
8.0K ./.pki
1.7M .
# du -h --max-depth=1 /
704K /tmp
3.2G /usr
16K /lost+found
4.0K /srv
1.7M /root
4.0K /selinux
155M /var
448M /lib
88M /boot
28M /etc
4.0K /www
du: cannot access `/proc/10659/task/10659/fd/4': No such file or directory
du: cannot access `/proc/10659/task/10659/fdinfo/4': No such file or directory
du: cannot access `/proc/10659/fd/4': No such file or directory
du: cannot access `/proc/10659/fdinfo/4': No such file or directory
0 /proc
6.1M /bin
4.0K /opt
0 /sys
22M /lib64
164K /dev
4.0K /mnt
3.7G /home
14M /sbin
4.0K /media
7.6G /
# df -h
Filesystem SizeUsed Avail Use% Mounted on
/dev/vda1 8.4G8.4G 0 100% /
tmpfs 246M 0246M 0% /dev/shm
/dev/vda3 11G3.8G6.5G37% /home
# 查到/usr/local/proftpd/var/log里面
proftpd.log大小有888M,可以直接删除吗? 论坛中有发过linux下各种程序怎么清理日志的帖子,可以搜索:清理 日志
日志文件都不能直接删除
https://bbs.vpser.net/thread-8393-1-1.html
页:
[1]