Skip to content

Instantly share code, notes, and snippets.

@himanshudas
Created November 12, 2015 18:52
Show Gist options
  • Save himanshudas/6532ea45785410a42d9e to your computer and use it in GitHub Desktop.
Save himanshudas/6532ea45785410a42d9e to your computer and use it in GitHub Desktop.
{
"options": {
"host_identifier": "hostname",
"schedule_splay_percent": 10,
"verbose": true
},
"schedule": {
"distinct_users": {
"query": "select distinct user from logged_in_users where user is not '';",
"interval": 60
},
"most_mem_usage_10": {
"query": "select pid, name from processes order by phys_footprint desc limit 10;",
"interval": 60
},
"live_kernel_mod": {
"query": "select name, size, used_by, address from kernel_modules where status='Live';",
"interval": 120
},
"arp_cache": {
"query": "select * from arp_cache;",
"interval": 120
},
"network_interface_details": {
"query": "select * from interface_details;",
"interval": 30,
"removed": false
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment