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.

  • 相关阅读:
    设计模式——装饰模式(Decorator Pattern)
    设计模式——策略模式(Strategy Pattern)
    设计模式——简单工厂模式(SimpleFactory Pattern)
    入博客园三周年记
    android+Service
    surfaceView+canvas+paint+bitmap
    Enable Sublime text 2 to support GBK in Mac
    androidstudio+opencv
    mac下的环境变量PATH
    Curl命令
  • 原文地址:https://www.cnblogs.com/double12gzh/p/10166166.html
Copyright © 2011-2022 走看看