Linux 運維必備的40個命令總結

一、刪除0字節文件php find -type f -size 0 -exec rm -rf { } \; 二、查看進程 按內存從大到小排列python ps -e -o "%C : %p : %z : %a"|sort -k5 -nr ps參數 ps的-o選項就是把讓ps格式化輸出ps你想要的信息,好比只想輸出進程的pid、CPU佔用率和進程執行命令這三個信息怎麼辦,你固然能夠ps a
相關文章
相關標籤/搜索