sys-info-rs
sys-info-rs copied to clipboard
boottime() behavior is different in different platforms
From the name, boottime()
seems to return the timestamp of the system was booted.
On Linux and Windows, it returns the uptime, the duration since system was booted.
However, on MacOS, it returns the actual boot time.