zoukankan      html  css  js  c++  java
  • 进程查看

    #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/

  • 相关阅读:
    Intern Day42
    Intern Day42
    Intern Day42
    Intern Day40
    腾讯PC客户端二面
    面试
    面试
    面试
    计算机网络
    计算机网络
  • 原文地址:https://www.cnblogs.com/ngtest/p/9231604.html
Copyright © 2011-2022 走看看