来源:自学PHP网 时间:2015-04-14 11:12 作者: 阅读:次
[导读] 服务器磁盘跑到100%,如何清除Java代码 [root@QA_Server81 mapper]# df -l Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-rootvol ......
服务器磁盘跑到100%,如何清除
Java代码
[root@QA_Server81 mapper]# df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-rootvol
29741864 24001000 4205684 86% /
/dev/mapper/VolGroup00-varvol
49580256 35801976 11219100 77% /var
/dev/mapper/VolGroup00-optvol
163087624 129386352 25288892 84% /opt
/dev/mapper/VolGroup00-homevol
19838052 8878840 9935212 48% /home
/dev/sda1 4956284 148336 4552116 4% /boot
tmpfs 4082508 0 4082508 0% /dev/shm
利用命令
[root@QA_Server81 mapper]# du -sh /*|sort -nr
300M /mnt
296K /tmppre_plugin_assign_detail.sql
292M /tmp
144K /dev
135M /lib
124G /opt
116M /etc
92K /hs_err_pid10402.log
48K /1.json
37M /sbin
34G /var
23M /lib64
16K /lost+found
16G /root
12K /t_1.xml
8.5M /bin
8.3G /home
8.0K /srv
8.0K /selinux
8.0K /media
7.1M /boot
7.0G /usr
4.0K /wew.xml
4.0K /wew.tpl
4.0K /test.sh
4.0K /test1.log
4.0K /t_1.tpl
4.0K /fgd.xml
4.0K /fgd.tpl
4.0K /6.tar.gz
4.0K /2012
1.9M /tmp.sql
0 /sys
0 /proc
0 /net
0 /misc
0 /eee
查看占用最大的目录
[root@QA_Server81 opt]# du -sh /opt/*|sort -nr
848K /opt/lehecai_soccer_ftp
269M /opt/dell
136K /opt/lsi
106G /opt/deploy
44M /opt/jprofiler6
38M /opt/syslog-ng
36K /opt/script
16K /opt/lost+found
8.8G /opt/download
4.7G /opt/App
1.9G /opt/sphinx
1.9G /opt/mfs
|
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com