得看你的os跟用在什麽地方

來源: 2008-05-12 00:10:40 [舊帖] [給我悄悄話] 本文已被閱讀:

一般來講,a hostid is a unique identifier for a computer. It's not related to where the machine is located. For most systems (*nix, osx and windows), it's the mac address. For Solaris, it's another unique number assigned to each machine other than the mac address. To get it in a Solaris system, type:

#hostid

or

#sysdef -h