solaris 获取信息_在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 获取信息

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值