-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
739511c
commit f14d047
Showing
2 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,38 @@ | ||
[defaults] | ||
timeout = 1 | ||
|
||
[hostinfo] | ||
commands = ["dmesg"] | ||
|
||
[[profile]] | ||
name = "default" | ||
commands = ["uptime", "vm_stat", "iostat"] | ||
|
||
[[command]] | ||
name = "dmesg" | ||
title = "Last kernel messages" | ||
command = '/bin/dmesg -T' | ||
timeout = 1 | ||
|
||
[[command]] | ||
name = "uptime" | ||
title = "Current Load" | ||
description = "Current load and uptime" | ||
command = "/usr/bin/uptime" | ||
timeout = 1 | ||
default_run = true | ||
|
||
[[command]] | ||
name = "vm_stat" | ||
name = "vmstat" | ||
title = "Virtual Memory statistics" | ||
description = "Current memory usage and statistics in pages" | ||
command = "vm_stat -c 5 1" | ||
command = "/usr/bin/vmstat 5 1" | ||
timeout = 5 | ||
default_run = true | ||
|
||
[[command]] | ||
name = "iostat" | ||
title = "Kernel I/O statistics" | ||
description = "Current I/O statistics per dev in KB" | ||
command = "/usr/sbin/iostat -c 5 -K" | ||
command = "/usr/bin/iostat -x 1 5" | ||
timeout = 5 | ||
default_run = true | ||
|
||
# vim: set ft=toml: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters