免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4617 | 回复: 10
打印 上一主题 下一主题

uname信息 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-13 15:30 |只看该作者 |倒序浏览
5可用积分
[root@XXX root]# uname -a
Linux XXX 2.4.21-27.0.1.ELsmp #1 SMP Fri Dec 24 01:28:09 GMT 2004 i686 i686 i386 GNU/Linux

[root@YYY root]# uname -a
Linux YYY 2.4.21-47.EL #1 Wed Jul 5 20:46:55 EDT 2006 i686 i686 i386 GNU/Linux

这是两台不同redhat 9服务器的uname输出,2.4.21-27.0.1.ELsmp 和2.4.21-47.EL 代表什么意义?有啥不同?
另外如何确定机器是redhat9 or 8 or 7?如何确定系统是普通redhat 还是AS/ES/WS?

论坛徽章:
0
2 [报告]
发表于 2007-07-13 15:42 |只看该作者
smp 标示的内核,会使用在在多 CPU (逻辑)的机器上

cat /proc/cpuinfo

实际 2.4.21-27.0.1.ELsmp 只是一个内核版本的标示,完全是可以自定的

论坛徽章:
0
3 [报告]
发表于 2007-07-13 15:43 |只看该作者
另外如何确定机器是redhat9 or 8 or 7?如何确定系统是普通redhat 还是AS/ES/WS?


  1. [root@mail rc5.d]# cat /etc/redhat-release
  2. Red Hat Enterprise Linux AS release 4 (Nahant)
  3. [root@mail rc5.d]#
复制代码

论坛徽章:
0
4 [报告]
发表于 2007-07-13 15:47 |只看该作者
两位手脚好快

论坛徽章:
0
5 [报告]
发表于 2007-07-13 16:22 |只看该作者
顶,这么快有人答了,想赚点分也不容易啊!!!

论坛徽章:
0
6 [报告]
发表于 2007-07-13 17:33 |只看该作者
用lsb_release -a可以查看所有版本linux的内核详细信息

论坛徽章:
0
7 [报告]
发表于 2007-07-14 00:11 |只看该作者
Linux 8 retail (Gold)      Kernel-2.4.18-14
Linux 9 retail               Kernel-2.4.20-8
Linux AS 2.1  (Gold)    Kernel-2.4.9-e.3
              update2        kernel-2.4.9-e.24
              update3        kernel-2.4.9-e.34
              update4        kernel-2.4.9-e.40
              update5        kernel-2.4.9-e.49
              update6        kernel-2.4.9-e.57

Linux AS 3.0  Gold       kernel-2.4.21-4
              update1        kernel-2.4.21-9
              update2        Kernel-2.4.21-15
              update3        Kernel-2.4.21-20
              update4        Kernel-2.4.21-27
              update5        kernel-2.4.21-32
              update6        kernel-2.4.21-37
              update7        Kernel-2.4.21-40
              update8        Kernel-2.4.21-47
Linux AS 4.0
              (RH4 per gold beta2)            kernel-2.6.9-1.648  
              (RH4 per gold per-rc1)          kernel-2.6.9-1.849  
              (Rh4 per gold per-rc2)          kernel-2.6.9-1.906  
              Gold         Kernel-2.6.9-5
              update1    kernel-2.6.9-11
              update2    Kernel-2.6.9-22
              update3    Kernel-2.6.9-34
              update4    kernel-2.6.9-42
              update5    kernel-2.6.9-51

Redhat AS 5.0            
              Gold       Kernel-2.6.18-8.el5

EL stands for Enterprise Linux,smp stand for symmetrical multi processors
no smp distinction from kernel-2.6.18

论坛徽章:
0
8 [报告]
发表于 2007-07-15 17:17 |只看该作者
大家都很积极哦。。
偶也来参合一下。
smp全称是"对称多处理"(Symmetrical Multi-Processing)技术
简单的说smp内核适用于多个cpu的系统

论坛徽章:
0
9 [报告]
发表于 2007-07-16 19:46 |只看该作者
/etc/redhat-release是很容易更改的不一定正确

cat /proc/cpuinfo是看CPU相关信息的
cat /proc/version试试

论坛徽章:
0
10 [报告]
发表于 2007-07-16 19:53 |只看该作者
PS:理论上来说/proc下的东西都是在系统启动时生成的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP