查看内存

ps aux | sort -k 4 -n | awk '{print $4" "$11$12$13}'

# watch -n 1 "ps aux | sort -k 4 -n | awk '{print $4" "$11$12$13}' | grep a.py"

查看cpu

ps aux | sort -k 4 -n | awk '{print $4" "$2" "$9" "$10" "$11$12$13}' | grep xxx
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""