!
也想出现在这里? 联系我们
广告位
当前位置:首页>教程分享>服务器教程>Centos7提示no space left on device时如何清理空间

Centos7提示no space left on device时如何清理空间

Centos7提示no space left on device时如何清理空间Centos7提示no space left on device时如何清理空间

1.可以通过清除系统日志来清理空间,输入以下命令即可清理对应文件

cat /dev/null > /var/log/syslog

cat /dev/null > /var/adm/sylog

cat /dev/null > /var/log/wtmp

cat /dev/null > /var/log/maillog

cat /dev/null > /var/log/messages

cat /dev/null > /var/log/openwebmail.log

cat /dev/null > /var/log/maillog

cat /dev/null > /var/log/secure

cat /dev/null > /var/log/httpd/error_log

cat /dev/null > /var/log/httpd/ssl_error_log

cat /dev/null > /var/log/httpd/ssl_request_log

cat /dev/null > /var/log/httpd/ssl_access_log

给TA打赏
共{{data.count}}人
人已打赏
服务器教程

香港云服务器Debian9更换可用软件源

2021-4-17 17:53:29

服务器教程

Centos系统查看CPU的个数、核心数以及线程数

2021-4-17 17:54:00

声明 本站上的部份代码及教程来源于互联网,仅供网友学习交流,若您喜欢本文可附上原文链接随意转载。无意侵害您的权益,请发送邮件至 [email protected] 或点击右侧 私信:吉吉国王 反馈,我们将尽快处理。
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索
OneEase