DEV Community

01kg
01kg

Posted on

Linux | Common Identifiers of Current Machine to Help Building License Mechanism

$ cat /etc/machine-id
1a049d0da8dd779ca112835259421323

$ hostid
0ada8010

$ cat /sys/class/dmi/id/product_uuid
1e161682-d11c-4a93-a45a-75fa3779ef7f

$ sudo dmidecode -t system | grep Serial
    Serial Number: 0000-0006-3388-3315-2267-1135-22
Enter fullscreen mode Exit fullscreen mode

Top comments (0)