summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/configuration/commands/node.def (renamed from templates/show/configuration/cmds/node.def)0
-rw-r--r--templates/show/log/all/node.def3
-rw-r--r--templates/show/system/memory/cache/node.def2
-rw-r--r--templates/show/system/memory/detail/node.def2
-rw-r--r--templates/show/system/memory/node.def2
-rw-r--r--templates/show/system/processes/extensive/node.def2
-rw-r--r--templates/show/system/processes/tree/node.def2
7 files changed, 11 insertions, 2 deletions
diff --git a/templates/show/configuration/cmds/node.def b/templates/show/configuration/commands/node.def
index a2d55cf..a2d55cf 100644
--- a/templates/show/configuration/cmds/node.def
+++ b/templates/show/configuration/commands/node.def
diff --git a/templates/show/log/all/node.def b/templates/show/log/all/node.def
index 069d1d4..243cf1b 100644
--- a/templates/show/log/all/node.def
+++ b/templates/show/log/all/node.def
@@ -1,4 +1,5 @@
help: Show contents of all master log files
-run: less $_vyatta_less_options \
+run: eval $(lesspipe)
+ less $_vyatta_less_options \
--prompt=".log?m, file %i of %m., page %dt of %D" \
-- `printf "%s\n" /var/log/messages* | sort -nr`
diff --git a/templates/show/system/memory/cache/node.def b/templates/show/system/memory/cache/node.def
new file mode 100644
index 0000000..5583a54
--- /dev/null
+++ b/templates/show/system/memory/cache/node.def
@@ -0,0 +1,2 @@
+help: Show kernel cache information
+run: slabtop -o
diff --git a/templates/show/system/memory/detail/node.def b/templates/show/system/memory/detail/node.def
new file mode 100644
index 0000000..04e98c5
--- /dev/null
+++ b/templates/show/system/memory/detail/node.def
@@ -0,0 +1,2 @@
+help: Report detailed system memory usage
+run: cat /proc/meminfo
diff --git a/templates/show/system/memory/node.def b/templates/show/system/memory/node.def
index f66ce62..cee2320 100644
--- a/templates/show/system/memory/node.def
+++ b/templates/show/system/memory/node.def
@@ -1,2 +1,2 @@
-help: Show system memory usage
+help: Display system memory usage
run: free -ot
diff --git a/templates/show/system/processes/extensive/node.def b/templates/show/system/processes/extensive/node.def
new file mode 100644
index 0000000..d737c21
--- /dev/null
+++ b/templates/show/system/processes/extensive/node.def
@@ -0,0 +1,2 @@
+help: Show extensive process info
+run: top -b -n1
diff --git a/templates/show/system/processes/tree/node.def b/templates/show/system/processes/tree/node.def
new file mode 100644
index 0000000..b3044fc
--- /dev/null
+++ b/templates/show/system/processes/tree/node.def
@@ -0,0 +1,2 @@
+help: Show process tree
+run: ps -ejH