summaryrefslogtreecommitdiff
path: root/templates/show/system
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/system')
-rw-r--r--templates/show/system/boot-messages/node.def2
-rw-r--r--templates/show/system/connections/node.def2
-rw-r--r--templates/show/system/kernel-messages/node.def2
-rw-r--r--templates/show/system/memory/node.def2
-rw-r--r--templates/show/system/node.def1
-rw-r--r--templates/show/system/processes/node.def2
-rw-r--r--templates/show/system/processes/summary/node.def2
-rw-r--r--templates/show/system/storage/node.def2
8 files changed, 15 insertions, 0 deletions
diff --git a/templates/show/system/boot-messages/node.def b/templates/show/system/boot-messages/node.def
new file mode 100644
index 0000000..7180083
--- /dev/null
+++ b/templates/show/system/boot-messages/node.def
@@ -0,0 +1,2 @@
+help: "Show kernel boot messages"
+run: ${OFR_PAGER:-cat -s} /var/log/dmes? /dev/null
diff --git a/templates/show/system/connections/node.def b/templates/show/system/connections/node.def
new file mode 100644
index 0000000..2341c5f
--- /dev/null
+++ b/templates/show/system/connections/node.def
@@ -0,0 +1,2 @@
+help: "Show active network connections on the system"
+run: netstat -an
diff --git a/templates/show/system/kernel-messages/node.def b/templates/show/system/kernel-messages/node.def
new file mode 100644
index 0000000..6d82b77
--- /dev/null
+++ b/templates/show/system/kernel-messages/node.def
@@ -0,0 +1,2 @@
+help: "Show messages in kernel ring buffer"
+run: dmesg | ${OFR_PAGER:-cat -s}
diff --git a/templates/show/system/memory/node.def b/templates/show/system/memory/node.def
new file mode 100644
index 0000000..af15820
--- /dev/null
+++ b/templates/show/system/memory/node.def
@@ -0,0 +1,2 @@
+help: "Show system memory usage"
+run: "free -ot"
diff --git a/templates/show/system/node.def b/templates/show/system/node.def
new file mode 100644
index 0000000..73e140d
--- /dev/null
+++ b/templates/show/system/node.def
@@ -0,0 +1 @@
+help: "Show system information"
diff --git a/templates/show/system/processes/node.def b/templates/show/system/processes/node.def
new file mode 100644
index 0000000..507ee60
--- /dev/null
+++ b/templates/show/system/processes/node.def
@@ -0,0 +1,2 @@
+help: "Show system processes"
+run: ps ax
diff --git a/templates/show/system/processes/summary/node.def b/templates/show/system/processes/summary/node.def
new file mode 100644
index 0000000..6cf3e55
--- /dev/null
+++ b/templates/show/system/processes/summary/node.def
@@ -0,0 +1,2 @@
+help: "Show summary of system processes"
+run: uptime
diff --git a/templates/show/system/storage/node.def b/templates/show/system/storage/node.def
new file mode 100644
index 0000000..7178454
--- /dev/null
+++ b/templates/show/system/storage/node.def
@@ -0,0 +1,2 @@
+help: "Show filesystem usage"
+run: df -h -x squashfs