zoukankan      html  css  js  c++  java
  • linux系统中如何查看系统版本内核等信息

    1、

    [root@PC3 test]# uname -a
    Linux PC3 3.10.0-123.el7.x86_64 #1 SMP Mon May 5 11:16:57 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

    2、

    [root@PC3 test]# cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 7.0 (Maipo)

    3、

    [root@PC3 test]# cat /proc/version
    Linux version 3.10.0-123.el7.x86_64 (mockbuild@x86-017.build.eng.bos.redhat.com) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Mon May 5 11:16:57 EDT 2014

    4、

    [root@PC3 test]# hostnamectl
       Static hostname: PC3
             Icon name: computer
               Chassis: n/a
            Machine ID: b7fae4ce730a4eb598ae4e92f7ad3683
               Boot ID: 51902f79c0704df787767009b38b34e5
        Virtualization: vmware
      Operating System: Red Hat Enterprise Linux Server 7.0 (Maipo)
           CPE OS Name: cpe:/o:redhat:enterprise_linux:7.0:GA:server
                Kernel: Linux 3.10.0-123.el7.x86_64
          Architecture: x86_64

    5、

    [root@PC3 test]# lsb_release -a
    LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
    Distributor ID: RedHatEnterpriseServer
    Description:    Red Hat Enterprise Linux Server release 7.0 (Maipo)
    Release:        7.0
    Codename:       Maipo
  • 相关阅读:
    JavaScript的兼容小坑和调试小技巧
    前端jQuery实现瀑布流
    angular常用属性大全
    Eclipse易卡死
    工作反思
    半年回忆
    努力做到
    产品经理如何应对技术的「做不了」这样的问题(转)
    优秀的产品经理我还有多远
    简历技巧
  • 原文地址:https://www.cnblogs.com/liujiaxin2018/p/14349083.html
Copyright © 2011-2022 走看看