This is no specific issue of procps, it just returns the value from the
kernel. The kernel documents (in the source) that the value includes the
time spent in suspend.
/proc/uptime gets the value from here:
https://elixir.bootlin.com/linux/v4.20.3/source/include/linux/timekeeping.h#L93
/**
* kt
Note: bug is present in Ubuntu 14.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/647472
Title:
uptime counts time spend in suspend
To manage notifications about this bug go to:
https://bugs.launc
Should we just update the documentation to reflect the program? Maybe
something like "How long since the system booted" ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/647472
Title:
uptime counts ti
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: procps (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/647472
Title:
upti
** Attachment added: "Dependencies.txt"
https://bugs.launchpad.net/bugs/647472/+attachment/1634649/+files/Dependencies.txt
** Attachment added: "ProcEnviron.txt"
https://bugs.launchpad.net/bugs/647472/+attachment/1634650/+files/ProcEnviron.txt
--
uptime counts time spend in suspend
http