Getting Hardware UUID: Difference between revisions
m Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux" |
m formatting |
||
| Line 1: | Line 1: | ||
Every system has a universally unique identifier (UUID) value set onto the system. The UUID is a 128-bit value typically displayed in lowercase hexadecimal digits in 5 groups separated by dashes. | Every system has a universally unique identifier (UUID) value set onto the system. The UUID is a 128-bit value typically displayed in lowercase hexadecimal digits in 5 groups separated by dashes. An example UUID would look like {{code|5178962d-2fcf-df50-536d-000423d9985a}}. | ||
While software packages may make use of pseudo random UUIDs, this article will cover only system hardware UUIDs. | While software packages may make use of pseudo random UUIDs, this article will cover only system hardware UUIDs. | ||
== Windows == | == Windows == | ||
You may get the UUID value from PowerShell. | You may get the UUID value from PowerShell. | ||
{{highlight|lang=terminal|code= | {{highlight|lang=terminal|code= | ||
| Line 12: | Line 10: | ||
== Linux / FreeBSD == | == Linux / FreeBSD == | ||
Use the {{code|dmidecode}} utility to get the UUID | |||
Use the dmidecode utility to get the UUID | |||
{{highlight|lang=terminal|code= | {{highlight|lang=terminal|code= | ||
# dmidecode -s system-uuid | # dmidecode -s system-uuid | ||
}} | }} | ||
You may need to install dmidecode since it usually isn't bundled with the base OS. On FreeBSD, it's available in ports at {{code|/usr/ports/sysutils/dmidecode}}. | You may need to install {{code|dmidecode}} since it usually isn't bundled with the base OS. On FreeBSD, it's available in ports at {{code|/usr/ports/sysutils/dmidecode}}. | ||
== VMWare ESXi == | == VMWare ESXi == | ||
To get the UUID of the physical machine that your ESXi server is running on, login via SSH and run: | To get the UUID of the physical machine that your ESXi server is running on, login via SSH and run: | ||
{{highlight|lang=terminal|code= | {{highlight|lang=terminal|code= | ||
| Line 34: | Line 29: | ||
|----System UUID..............................................5178962d-2fcf-df50-536d-000423d9985a | |----System UUID..............................................5178962d-2fcf-df50-536d-000423d9985a | ||
}} | }} | ||
Revision as of 22:33, 11 September 2019
Every system has a universally unique identifier (UUID) value set onto the system. The UUID is a 128-bit value typically displayed in lowercase hexadecimal digits in 5 groups separated by dashes. An example UUID would look like 5178962d-2fcf-df50-536d-000423d9985a.
While software packages may make use of pseudo random UUIDs, this article will cover only system hardware UUIDs.
Windows
You may get the UUID value from PowerShell.
> get-wmiobject Win32_ComputerSystemProduct
Linux / FreeBSD
Use the dmidecode utility to get the UUID
# dmidecode -s system-uuid
You may need to install dmidecode since it usually isn't bundled with the base OS. On FreeBSD, it's available in ports at /usr/ports/sysutils/dmidecode.
VMWare ESXi
To get the UUID of the physical machine that your ESXi server is running on, login via SSH and run:
# esxcfg-info
You will see a bunch of UUIDs, most of which pertain to disks/volumes. What you are looking for is: