03 2024 档案

摘要:文件按照大小排序 OS:Red Hat Enterprise Linux Server release 7.9 (Maipo) 用的时候,经常盘就满了,得找最大的那个表,到数据库里面去查还得写sql ,就干脆查文件就得了,以下是用了个空库的查询结果 通过 ll 排序,对文件夹不够友好 desc 排序 阅读全文
posted @ 2024-03-26 19:36 Coye 阅读(20) 评论(0) 推荐(0) 编辑
摘要:too many files open in system 查看哪个用户或进程占用的文件多 #查看进程打开文件数最多的前5个进程 lsof | awk '{print $2}' | sort | uniq -c | sort -rn | head -n 5 lsof -n| awk '{print 阅读全文
posted @ 2024-03-12 10:12 Coye 阅读(9) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示