1. top命令 可以安装htop更好的界面
shift+m可以根据内存使用情况 降序排序
Shift+p cpu排序
2. 用ps aux | grep nginx 这种方式查看,如果想实时查看请用top