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.
Commercial Use
Modify
Distribute
Place Warranty
Sub-License
Hold Liable
Distribute Original
Disclose Source
Include Copyright
State Changes
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.