summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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