Linux下的hostid
2012-07-31 14:16
1321 查看
Linux下用hostid命令查找到的值与Solaris用hostid命令查找到的不是一个概念
Linux下用hostid命令查找到的值是取hostname对应的ip地址。然后把ip地址转换成hex,然后将位置2143位置颠倒后的结果
这个对应记录在/etc/hosts文件里,比如我的hostname:ITMS-server对应的ip就是127.0.0.1.那我的hostid就是007f0100
.
而Linux下与Solaris用hostid命令查找到的hostid
为同一概念的值应按下表获取
因此IMTS-server上的hostid应该为D485646979EE
请用这个申请license
Ps:最好还是和老外确定下Linux下怎么获取license要用的hostid
The type of host ID returned by lmhostid utility will depend on theplatform. The following table lists the host ID types used for each platformalong with the native OS command that can be used to obtain the host ID value:
Linux下用hostid命令查找到的值是取hostname对应的ip地址。然后把ip地址转换成hex,然后将位置2143位置颠倒后的结果
这个对应记录在/etc/hosts文件里,比如我的hostname:ITMS-server对应的ip就是127.0.0.1.那我的hostid就是007f0100
.
而Linux下与Solaris用hostid命令查找到的hostid
为同一概念的值应按下表获取
因此IMTS-server上的hostid应该为D485646979EE
请用这个申请license
Ps:最好还是和老外确定下Linux下怎么获取license要用的hostid
The type of host ID returned by lmhostid utility will depend on theplatform. The following table lists the host ID types used for each platformalong with the native OS command that can be used to obtain the host ID value:
Platform | Host ID Type | Native OS Command |
Windows(*1) | Ethernet Address | ipconfig /all (use "Physical Address" value) |
Solaris | 32-bit Hostid | hostid |
Linux | Ethernet Address | /sbin/ifconfig eth0 (use "HWaddr" value) |
Mac OS X | Ethernet Address | /sbin/ifconfig eth0 (use "ether" value) |
Tru-UNIX (Digital) | Ethernet Address | netstat -i |
IBM AIX | 32-bit Hostid | uname -m (returns 000276513100), then remove both the first and the last two digits, and use the remaining eight digits |
SGI | 32-bit Hostid | /etc/sysinfo -s (convert to hex, or prefix #) |
HP-UX PA-RISC | 32-bit Hostid | uname -i (convert to hex, or prepend with #) |
HP-UX Itanium | Machine ID | getconf CS_PARTITION_IDENT (prefix with "ID_STRING=") |
相关文章推荐
- 在linux平台上如何修改hostid
- linux下修改hostid
- linux命令之hostid
- linux下修改hostid
- 在linux平台上如何修改hostid
- linux修改hostid
- linux -- 进程的查看、进程id的获取、进程的杀死
- How to Change the Hostname of a Linux System
- linux更改主机名hostname
- linux 实际用户ID、有效用户ID以及保存的设置用户ID
- [转]linux 下设置用户ID 和 设置组ID 学习笔记
- linux运维积累-------修改服务器配置文件 host
- linux下简单的统计指定进程ID(或进程名)CPU、内存脚本
- Linux不能上网ping:unknown host出错该怎么办?
- 启动监听出现 Linux Error: 113: No route to host
- linux下C语言读MP3 的id tag,算出播放时间
- linux 下获取线程ID
- linux的host文件说明
- linux常用c函数 进程操作篇 http://blog.chinaunix.net/uid-25906157-id-3136757.html
- linux网络编程 no route to host 解决方案