linux小知识

查看命令 top -b -n1
然后查看RES值,把你想查看的进程相加,就得到进程所占的实际内存了

查看apache并发请求和连接数

netstat -ano | grep 80 | awk '{print $6}' | sort | uniq -c | sort -rn

你可能感兴趣的:(linux,命令,内存,职场,休闲)