Linux上一切皆文件,无论什么程序,读取文件就能获取一个UUID.bash
Linux内核提供有UUID生成接口:dom
cat /proc/sys/kernel/random/uuid
获取系统uuidide
dmidecode -s system-uuid | tr 'A-Z' 'a-z'