进程查看

#ps                 #process status

#ps -le            # process status with priority 

#pstree          #displays the number of process

#pstree -p      #display each user's PID

#pstree -pu

#top               #check system health, dynamic information

#w                 #check current login user

#jobs -l          #check backend running process

#vmstat         #monitor system resource

#dmesg | grep cup #check hardware status

#cat /proc/cupinfo

#time

#uname 

              -a      all infor

             -r          knele

             -s        check name

#lsb_release -a                     

#lsof lsof -c  service_name  # check which files are used by this service 

#lsof -u user_name             #check which  files are used by this user

Top:

#top  

在结果出来后,hit "1" , 就可以使每个cpu如下图显示出来:

https://www.booleanworld.com/guide-linux-top-command/

原文地址:https://www.cnblogs.com/ngtest/p/9231604.html