tuptime icon indicating copy to clipboard operation
tuptime copied to clipboard

Question: What happened to largest/shortest times?

Open weavage opened this issue 2 years ago • 2 comments

I see where the largest and shortest up/down times got removed in version 5, but what was the reasoning? Are there plans to add it back in? I love that metric!

weavage avatar Jun 16 '22 21:06 weavage

Hi Weavage.

The largest and shortest up/down times was on the default output for a long time. But trying to keep a clean and useful output, I realised that both rarely change and their functionality overlap the "order" option. As an examples:

Order by short downtime:

tuptime -t -o d -r

...by large downtime:

tuptime -t -o d

...by short uptime:

tuptime -t -o u -r

... or by large uptime:

tuptime -t -o u

Also, the "order" option provides other facilities to work with: r-runtime, s-sleep time, e-end status, k-kernel. And it's possible to use list output -l instead of table -t.

rfrail3 avatar Jun 27 '22 08:06 rfrail3

Last release 5.2.1 have "Longest uptime" and "Longest downtime" back on the default output, as before.

Also, next 5.2.2 will have "Shortest uptime" and "Shortest downtime" swich if the argument "-r" is used on the default output.

rfrail3 avatar Aug 27 '22 16:08 rfrail3