diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-24 15:34:23 +1000 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-24 15:34:23 +1000 |
commit | 7afbca72c1dfaf273eb366b2b372855ac1505440 (patch) | |
tree | 30e5474906ec132b250edae9801c408cb3f8c913 /templates/show | |
parent | 3c9d639f65240d1745b6186a16ce0f6eb918e65c (diff) | |
parent | 73dfd3113cfb1226366023ef61cae7c870b6159f (diff) | |
download | vyatta-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')
-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.def | 3 | ||||
-rw-r--r-- | templates/show/system/memory/cache/node.def | 2 | ||||
-rw-r--r-- | templates/show/system/memory/detail/node.def | 2 | ||||
-rw-r--r-- | templates/show/system/memory/node.def | 2 | ||||
-rw-r--r-- | templates/show/system/processes/extensive/node.def | 2 | ||||
-rw-r--r-- | templates/show/system/processes/tree/node.def | 2 |
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 |