'uptime -p' does not show days when the uptime of the system is 364 days.
Issue
uptime -pcommand failed to show the days information when uptime of the system is 364 days.
$ uptime
7:35:36 up 364 days, 51 min, 1 user, load average: 0.02, 0.11, 0.10
$ uptime -p
up 53 minutes
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
procps-ng
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.