Ubuntu 有没有办法计算服务器';休眠的正常运行时间是多少?

Ubuntu 有没有办法计算服务器';休眠的正常运行时间是多少?,ubuntu,command-line,server,uptime,Ubuntu,Command Line,Server,Uptime,我在ubuntu服务器上,当我运行正常运行时间-p时,我看到以下内容: up 1 week, 5 days, 11 hours, 37 minutes 但这并不准确,因为有一段时间机器处于休眠状态。 如何计算从休眠唤醒到现在的正常运行时间

我在ubuntu服务器上,当我运行
正常运行时间-p
时,我看到以下内容:

up 1 week, 5 days, 11 hours, 37 minutes
但这并不准确,因为有一段时间机器处于休眠状态。
如何计算从休眠唤醒到现在的正常运行时间