diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-03-01 11:20:31 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-03-01 11:20:31 -0800 |
commit | 770b0375a2ca8c14009c2f23eec4a78595fff2e3 (patch) | |
tree | b62c9dfca8587cdd1f690dea382ef597871fb9af /templates | |
parent | 4de0fbab63796705974d2c213fb6e17c92cd807a (diff) | |
download | vyatta-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.def | 4 | ||||
-rw-r--r-- | templates/show/hardware/cpu/node.def | 6 |
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 |