免费注册 查看新帖 |

Chinaunix

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

高手帮忙看一下,关于uname。(急) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-12 13:43 |只看该作者 |倒序浏览
[root@preside:/etc]# uname -i
2004101508

以下为参数-i的说明
           -i             Display the machine identification number (or the
                          node name, if the machine identification number
                          cannot be determined).  This option cannot display
                          the unique machine identification number.  For
                          getting the unique machine identification number
                          refer to the getconf command or confstr call.  See
                          getconf(1)) and confstr(3C).

uname -i 显示的machine identification number是从哪里得到的?
这个标识是不是可以像更改MAC地址一样通知什么命令或者系统调用更改它。
只知道setuname可以更改node name。

论坛徽章:
0
2 [报告]
发表于 2005-08-12 13:53 |只看该作者

高手帮忙看一下,关于uname。(急)

补充一下:
[root@preside:/etc]# getconf CS_MACHINE_IDENT
2004101508
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP