LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3322|回复: 6

怎样查看电脑开了多长时间?

[复制链接]
发表于 2004-8-20 14:55:42 | 显示全部楼层 |阅读模式
我想查下台电脑一共开机开了几久,怎样才能查到啊
发表于 2004-8-20 15:35:25 | 显示全部楼层
试一下top
发表于 2004-8-20 17:37:45 | 显示全部楼层
$ uptime
发表于 2004-8-20 17:41:04 | 显示全部楼层
$ uptime

能说说每一列的意思吗?
谢谢
发表于 2004-8-20 18:14:55 | 显示全部楼层
uptime gives a one line display of the following information.  The cur-
       rent time, how long the system has been running,  how  many  users  are
       currently  logged  on,  and the system load averages for the past 1, 5,
       and 15 minutes.
  1. $ uptime
  2. 18:11:13  up 1d 6:12,  3 users,  load average: 0.59,  0.85,  1.10
  3. 当前时间    系统运行时间    用户      cpu负载:       1分钟 5分钟  15分钟
复制代码
 楼主| 发表于 2004-8-20 19:21:18 | 显示全部楼层
how long the system has been running???
如果重启后以前的开机时间就看不到啦??只能看到当前系统的运行时间??我想看的是开机的时间(就是一开着电脑就开始计算的)
发表于 2004-8-20 19:47:24 | 显示全部楼层
自己写个程序去统计
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表