summaryrefslogtreecommitdiff
path: root/templates/show/system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-24 15:34:23 +1000
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-24 15:34:23 +1000
commit7afbca72c1dfaf273eb366b2b372855ac1505440 (patch)
tree30e5474906ec132b250edae9801c408cb3f8c913 /templates/show/system
parent3c9d639f65240d1745b6186a16ce0f6eb918e65c (diff)
parent73dfd3113cfb1226366023ef61cae7c870b6159f (diff)
downloadvyatta-op-mendocino.tar.gz
vyatta-op-mendocino.zip
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-op into mendocinomendocino
Diffstat (limited to 'templates/show/system')
-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
5 files changed, 9 insertions, 1 deletions
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