> shell编程 >

计算某进程所占用内存的单行命令

计算某进程所占用内存的单行命令
cat /proc/<pid>/statm |awk '{printf "%dm\n",$1/1024}'  (责任编辑:IT)