solaris 获取信息_在Solaris上获取系统正常运行时间信息
solaris 获取信息
It’s really easy to figure out how long a system has been up and running on solaris. Absurdly easy.
弄清楚系统在Solaris上已启动并运行了多长时间确实很容易。 太容易了。
uptime
正常运行时间
The uptime command shows how long a system has been running.
uptime命令显示系统已运行多长时间。
Example:
例:
# uptime 11:57pm up 44 mins(s), 2 users, load average: 0.08, 0.13, 0.14
#正常运行时间11:57 pm最多44分钟,2个用户,平均负载:0.08,0.13,0.14
who -b
谁-b
The who -b command will tell you exactly when the system was last started up, as opposed to telling you how long it’s been up. Saves you some math.
who -b命令将告诉您确切的系统上次启动时间,而不是告诉您系统已启动多长时间。 节省一些数学。
Example:
例:
# uptime -b system boot Nov 30 23:13
#uptime -b system boot 11月30日23:13
翻译自: https://www.howtogeek.com/howto/solaris/get-system-uptime-information-on-solaris/
solaris 获取信息