summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-03-01 11:20:31 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-03-01 11:20:31 -0800
commit770b0375a2ca8c14009c2f23eec4a78595fff2e3 (patch)
treeb62c9dfca8587cdd1f690dea382ef597871fb9af /templates
parent4de0fbab63796705974d2c213fb6e17c92cd807a (diff)
downloadvyatta-op-770b0375a2ca8c14009c2f23eec4a78595fff2e3.tar.gz
vyatta-op-770b0375a2ca8c14009c2f23eec4a78595fff2e3.zip
Add simplified 'show hardware cpu'
Full information is now in 'show hardware cpu detail'
Diffstat (limited to 'templates')
-rw-r--r--templates/show/hardware/cpu/detail/node.def4
-rw-r--r--templates/show/hardware/cpu/node.def6
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/show/hardware/cpu/detail/node.def b/templates/show/hardware/cpu/detail/node.def
new file mode 100644
index 0000000..2e3c616
--- /dev/null
+++ b/templates/show/hardware/cpu/detail/node.def
@@ -0,0 +1,4 @@
+help: Show system CPU details
+run: less $_vyatta_less_options \
+ --prompt=".cpu info" \
+ -- /proc/cpuinfo
diff --git a/templates/show/hardware/cpu/node.def b/templates/show/hardware/cpu/node.def
index 2e3c616..653b558 100644
--- a/templates/show/hardware/cpu/node.def
+++ b/templates/show/hardware/cpu/node.def
@@ -1,4 +1,2 @@
-help: Show system CPU details
-run: less $_vyatta_less_options \
- --prompt=".cpu info" \
- -- /proc/cpuinfo
+help: Show CPU info
+run: lscpu