mirror of https://github.com/shirou/gopsutil
On Linux, attempt to read from /sys/class/dmi/id/product_uuid first
before falling back to kernel.random.boot_id. `/sys/class/dmi/id/product_uuid` is still managed by permissions, so for root-run processes where `/sys/class/dmi/id/product_uuid` is available, the host's UUID will be used instead, otherwise the UUID from kernel.random.boot_id will be used instead.pull/237/head
parent
59094cd5b7
commit
d490d634ca
Loading…
Reference in New Issue