Tweak process uptime display format
NB: code as written produces incorrect value for h
Merge request reports
Activity
Filter activity
@ePirat Do we want to have seconds as the largest unit of time for the uptime, or keep hours, minutes, seconds for larger times for better readability?
Updated commit message:
A process may crash at start-up, i.e. within the first 5 seconds. In these cases, it is useful to be able to tell the difference between e.g. 50 ms and 500 ms, or 1.2s and 1.8s. So we show millisecond values for uptimes smaller than 5 seconds. Print the correct value for h (when h > 24) while we're at it.
mentioned in commit 7c8861db
Please register or sign in to reply