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/

  • 相关阅读:
    webstorm
    数据库中的内连接和外连接
    JVM加载class文件的原理机制
    内部类
    getString()方法与getObject()方法的区别
    Class.forName的作用
    JDBC事务处理
    合并两个排序的链表
    链表中倒数第k个结点
    反转链表
  • 原文地址:https://www.cnblogs.com/ngtest/p/9231604.html
Copyright © 2011-2022 走看看