summaryrefslogtreecommitdiff
path: root/templates/show/system
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-09-17 14:01:46 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-09-17 14:01:46 -0700
commiteb51e368fa9cc2d1a016b888512aa05b02392667 (patch)
tree6c94da0db0b2dc6d0f56897d14f3b4a2d594c1f9 /templates/show/system
parent42b11e866ee4cfc20059d5a1ad36c8eda3ba1ef9 (diff)
downloadvyatta-op-eb51e368fa9cc2d1a016b888512aa05b02392667.tar.gz
vyatta-op-eb51e368fa9cc2d1a016b888512aa05b02392667.zip
rename op-templates
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