반응형
OS별 hostid 조회 | ||
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=") |
반응형