/* check disk space */
cat /proc/diskinfo
df [-a][-i][-t]
du -sh
/* check the process of the file deleted */
lsof|grep delete
kill pids
/* cleanup content of a file*/
cat /dev/null > filename
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24123206/viewspace-702973/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/24123206/viewspace-702973/
本文介绍了几种实用的Linux命令来检查磁盘空间使用情况,包括查看文件系统的总容量、已用空间等信息的方法。此外,还提供了如何查找已删除文件被哪些进程占用并释放相应资源的具体步骤。
33万+

被折叠的 条评论
为什么被折叠?



