查看進程對交換分區(swap)的佔用情況

vi  swap.sh #粘貼以下配置內容 #!/bin/bash   # Get current swap usage for all running processes   # Erik Ljungstrom 27/05/2011   SUM=0   OVERALL=0   for DIR in `find /proc/ -maxdepth 1 -type d | egrep "^/proc/
相關文章
相關標籤/搜索