diff options
Diffstat (limited to 'src/libvmon/defs/sys_stat.def')
-rw-r--r-- | src/libvmon/defs/sys_stat.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libvmon/defs/sys_stat.def b/src/libvmon/defs/sys_stat.def index ef8b9a7..9d252f6 100644 --- a/src/libvmon/defs/sys_stat.def +++ b/src/libvmon/defs/sys_stat.def @@ -1,6 +1,10 @@ #include "_begin.def" /* member name, symbolic constant, human label, human description (think UI/help) */ + + /* clock_gettime(CLOCK_BOOTTIME) */ +vmon_datum_ulonglong( boottime, SYS_STAT_BOOTTIME, "BootTime", "Time since boot (ticks)") + /* /proc/stat */ /* a cpu row, this is shown once for the total prefixed with "cpu ", then again for every cpu prefixed with "cpuN ", newlines terminate rows */ |