[sample uptime]
# this help is displayed only when -m MODE or -m MODE -s SUBMODE are specified AND --inihelp is used on the command line
inihelp=<<EOT
MODE=sample, SUBMODE=uptime
============================
Help for a sample check that is similar to checkuptime. This one is somewhat simpler and uses seconds.
EOT
query=Select SystemUpTime,Frequency_Sys100NS,Timestamp_Object from Win32_PerfRawData_PerfOS_System
customfield=_UptimeSec,PERF_ELAPSED_TIME,SystemUpTime,%.1f
test=_UptimeSec
display=_DisplayMsg||~|~| - ||
display=_UptimeSec|sec|System Uptime is |~|.||
perf=_UptimeSec|sec|Uptime Seconds