这个虽然是很简单的问题,但是也许有很多FreeBSD入门的人不知道,而且网上没有见到有关的说明。那么我在这里就说明一下吧,也是我在使用中发现的。使用top命令查看系统状态,在右上角有个“up 0+23:22:22”类似于这样的文字,其中的23:22:22表示系统已经连续运行了23小时22分22秒了,而+号前面的那个0是表示天数吧。如图:

点击在新窗口中浏览此图片
Tags:
纯技术分类 » Linux/Unix系统 | 评论(1) | 引用(0) | 阅读(2736)
A.I. Email Homepage
2011/09/14 14:47
试试top -b|awk '/up/ { print $10}'
分页: 1/1 第一页 1 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]