得看你的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