The UPTIME column printed raw seconds, so a server up for three hours
read as 10549s. Format the two largest non-zero units instead, dropping
the smaller one when it is zero: 49s, 12m 4s, 2h 55m, 6d 3h.
Days is the largest unit and the output never exceeds eight characters,
so the ten-wide column still holds and RESTARTS stays put.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9BWMXKKNpid7XM6oFbyYq