zoukankan      html  css  js  c++  java
  • 查看linux内核版本信息

    uname -a

    more/proc/version

    cat/etc/issue

     

    Forexample:

    Ubantu:

    root@onyorch:~#cat /etc/issue

    Ubuntu14.04.2 LTS l

    root@onyorch:~#more /proc/version

    Linuxversion3.13.0-46-generic (buildd@tipua) (gcc version 4.8.2 (Ubuntu4.8.2-19ubuntu1) )#77-Ubuntu

    SMP MonMar 218:23:39 UTC 2015

     

    root@onyorch:~#uname-a

    Linuxonyorch3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:23:39 UTC 2015 x86_64x86_64x86_64 GNU/Linux

     

     

    CentOS:

     

    [110-CTS-user1@recovery-vm~]$uname -a

    Linuxrecovery-vm2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014x86_64 x86_64x86_64 GNU/Linux

    [110-CTS-user1@recovery-vm~]$more /proc/version

    Linuxversion2.6.32-431.23.3.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gccversion4.4.7 2012031

    3 (RedHat 4.4.7-4)(GCC) ) #1 SMP Thu Jul 31 17:20:51 UTC 2014

    [110-CTS-user1@recovery-vm~]$cat /etc/issue

    CentOSrelease 6.5(Final)

    Kernel on an m

     

    Redhat:

    <cts02-M0001:lss>/export/home/lss/logs/xlsRead/reqdir:

    # uname-a

    Linuxcts02-M00012.6.32-573.8.1.el6.x86_64 #1 SMP Fri Sep 25 19:24:22 EDT 2015x86_64 x86_64x86_64 GNU/Linux

     

    <cts02-M0001:lss>/export/home/lss/logs/xlsRead/reqdir:

    # more/proc/version

    Linuxversion2.6.32-573.8.1.el6.x86_64 (mockbuild@x86-033.build.eng.bos.redhat.com)(gccversion 4.4.7

    20120313(Red Hat4.4.7-16) (GCC) ) #1 SMP Fri Sep 25 19:24:22 EDT 2015

     

    <cts02-M0001:root>/root:

    #  cat/etc/issue

     

    Unauthorizeduse ofthis system is prohibited and may be prosecuted

    to thefullest extentof the law. By using this system, you implicitly

    agree tomonitoringby system management and law enforcement authorities.

    If you donot agreewith these terms, DISCONNECT NOW.

  • 相关阅读:
    两角和的正切
    积化和差与和差化积
    require.js的简单使用
    HTML、css、javascript、DOM编程
    SignalR长连接的简单用法
    【ESP8266】发送HTTP请求
    记录自己的第一篇博客
    1 为什么搭建.Net core下的云开发框架
    C#线程中LOCK的意义
    ping命令执行过程详解
  • 原文地址:https://www.cnblogs.com/double12gzh/p/10166166.html
Copyright © 2011-2022 走看看