Tuesday, July 24, 2012

Get unique id for a Linux host.

Sometimes we found hostid for two hosts are same. In this case, following command should help us to get unique id for a linux host.

[root@host ~]dmidecode|grep UUID|cut -d: -f2|tr -d ' '
420DE5AC-31FE-5A1A-DDA3-C971902A228D

No comments:

Post a Comment