摘要: 为了测试是否有内存泄露,写了一个监控脚本,统计这个进程的cpu和内存主要用了 ps aux命令,很简单,不多解释了,上脚本#!/bin/bash# while loopCpuMemStat=""datemk=""while truedoCpuMemStat=` ps aux |grep -i ser... 阅读全文
posted @ 2016-01-21 13:12 RobinGreen 阅读(1545) 评论(0) 推荐(0) 编辑