Centos 查看服務器磁盤,內存,端口等命令

du -sh * // 查看磁盤內存使用狀況緩存 df - h // 查看磁盤以及分區狀況索引 free -mh // 查看內存使用狀況內存 lsof -i :端口號 // 查看端口號grep netstat -apn|grep 端口號 // 查看端口號端口   sync磁盤 echo 1 > /proc/sys/vm/drop_caches //釋放網頁緩存sync echo 2 > /proc
相關文章
相關標籤/搜索