23

磁盘空间不足的故障处理和系统中增加swap(继续分享实战经验)-老男孩之永不止步

 4 years ago
source link: https://blog.51cto.com/xiyuxingxia/2394076
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1、du命令的学习du使用方法,磁盘block满了,使用这个命令找出哪些文件或目录占用的空间大dudu-h--人类可以读的方式du-sh显示目录的大小三者的区别2、du与sort的搭配使用-h不能与n搭配使用,会报错倒序排列,使文件或者目录由大到小显示3、inode满了模拟并解决--案例第1个里程碑:创建1个100k文件:ddif=/dev/zeroof=/tmp/100kbs=1kcount=1

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK