diff options
author | Tom Grennan <tgrennan@vyatta.com> | 2008-03-21 12:16:11 -0700 |
---|---|---|
committer | Tom Grennan <tgrennan@vyatta.com> | 2008-03-21 12:16:11 -0700 |
commit | 7612557a0ad1ae9c965c1d836038f2a5a18ddb41 (patch) | |
tree | 998946f6b651eb7f98b2102ad2140d614703f405 /templates/show/hardware | |
parent | 81368cafa73984d475f4c59fc522ad3a1d7fb610 (diff) | |
download | vyatta-op-7612557a0ad1ae9c965c1d836038f2a5a18ddb41.tar.gz vyatta-op-7612557a0ad1ae9c965c1d836038f2a5a18ddb41.zip |
use less prompt to display the "show" content
Diffstat (limited to 'templates/show/hardware')
-rw-r--r-- | templates/show/hardware/cpu/node.def | 4 | ||||
-rw-r--r-- | templates/show/hardware/mem/node.def | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/templates/show/hardware/cpu/node.def b/templates/show/hardware/cpu/node.def index 4339af2..2e3c616 100644 --- a/templates/show/hardware/cpu/node.def +++ b/templates/show/hardware/cpu/node.def @@ -1,2 +1,4 @@ help: Show system CPU details -run: cat /proc/cpuinfo +run: less $_vyatta_less_options \ + --prompt=".cpu info" \ + -- /proc/cpuinfo diff --git a/templates/show/hardware/mem/node.def b/templates/show/hardware/mem/node.def index 7a54e52..acf1109 100644 --- a/templates/show/hardware/mem/node.def +++ b/templates/show/hardware/mem/node.def @@ -1,2 +1,4 @@ help: Show system RAM details -run: cat /proc/meminfo +run: less $_vyatta_less_options \ + --prompt=".mem info" \ + -- /proc/meminfo |