清空:
>/var/mail/xxtdev
>/var/mail/root
var/log /tmp 目录下的文件都可以删除 然后使用一下命令[root@www /]# du --max-depth=1
0 ./sys
24 ./mnt
16 ./lost+found
16 ./home
8 ./initrd
36 ./tmp
311944 ./var
96552 ./lib
2168./root
0 ./selinux
263012 ./proc
6314./boot
6124./bin
100 ./tftpboot
36276 ./etc
8 ./srv
8 ./misc
17704 ./sbin
216 ./dev
1434828 ./opt
24 ./media
3154664 ./usr
5330086 .
8.0K/var/log/quagga
8.0K/var/log/radius/radacct
52K /var/log/radius
24K /var/log/gdm
8.0K/var/log/ppp
44K /var/log/cups
8.0K/var/log/squid
16K /var/log/mail
8.0K/var/log/audit
88M /var/log
[root@www /]# du -h /tmp
12K /tmp/.font-unix
8.0K/tmp/.ICE-unix
28K /tmp
[root@www /]#
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)