资 源 简 介
This snippet gathers cpu, paging, run queue, and memory data and submits to GotStatus. This snippet uses the sar command to gather the data, and assumes that sysstat is installed and configured. This snippet does not get data from the sysstat cron job, instead this snippet executes sar and gathers data over a 10 minute interval from 20 different samples. All data submitted to GotStatus has a 10 minute interval. Monitored data
includes cpu, paging, run queue, and memory information.