步骤一_查看内核相关

相关命令:

                        uname -a        查看系统内核全部信息

                        或者 cat /proc/version

关联知识: proc目录其实是系统内核在文件系统中的一个映像,是一个方便我们访问内核数据的一个接口

解析输出结果:

          Linux   ---    kernel-name       

          ccid-s  ---     nodename,网络主机名称

          2.6.9-55.Elsmp     ---  内核release

          #1 SMP Fri Apr 20 17:03:35 EDT 2007  ---  内核版本

          GNU/Linux  ----  操作系统

 附件:        uname 命令参数

  -a, --all                print all information, in the following order:
  -s, --kernel-name        print the kernel name
  -n, --nodename           print the network node hostname
  -r, --kernel-release     print the kernel release
  -v, --kernel-version     print the kernel version
  -m, --machine            print the machine hardware name
  -p, --processor          print the processor type
  -i, --hardware-platform  print the hardware platform
  -o, --operating-system   print the operating system
       --help    
       --version

 

posted on 2009-09-04 11:38  gapcloud  阅读(191)  评论(0编辑  收藏  举报

导航