Name
- system.uptime
- seconds
- The amount of time the system has been working and available.
数据来源
import uptime
system.uptime = uptime.uptime()
或者
# cat /proc/uptime
6776631.36 44195866.65
第一列输出的是,系统启动到现在的时间(以秒为单位)
第二列输出的是,系统空闲的时间(以秒为单位)
- seconds
- The amount of time the system has been working and available.
import uptime
system.uptime = uptime.uptime()
或者
# cat /proc/uptime
6776631.36 44195866.65
第一列输出的是,系统启动到现在的时间(以秒为单位)
第二列输出的是,系统空闲的时间(以秒为单位)
本文标题:system.uptime Metrics from DataD
本文链接:https://www.haomeiwen.com/subject/zszkwftx.html
网友评论