summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-hardware.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-07-07 09:49:34 -0400
committerDaniil Baturin <daniil@vyos.io>2022-07-07 09:49:34 -0400
commitee5f697065eb1e50ea87bb1a6423b7533c03170a (patch)
tree5fe22f08a8f2b735c335d202d4fd811be02acb30 /op-mode-definitions/show-hardware.xml.in
parentdc4b80f1aee3c786889d9e34cf6b54a1a5b83b56 (diff)
downloadvyos-1x-ee5f697065eb1e50ea87bb1a6423b7533c03170a.tar.gz
vyos-1x-ee5f697065eb1e50ea87bb1a6423b7533c03170a.zip
T2719: rework 'show hardware cpu *' commands in the new style
Diffstat (limited to 'op-mode-definitions/show-hardware.xml.in')
-rw-r--r--op-mode-definitions/show-hardware.xml.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/op-mode-definitions/show-hardware.xml.in b/op-mode-definitions/show-hardware.xml.in
index 20fdd753d..ebd806ba5 100644
--- a/op-mode-definitions/show-hardware.xml.in
+++ b/op-mode-definitions/show-hardware.xml.in
@@ -9,21 +9,21 @@
<children>
<node name="cpu">
<properties>
- <help>Show CPU info</help>
+ <help>Show CPU informaion</help>
</properties>
- <command>lscpu</command>
+ <command>${vyos_op_scripts_dir}/cpu.py show</command>
<children>
<node name="detail">
<properties>
- <help> Show system CPU details</help>
+ <help>Show system CPU details</help>
</properties>
<command>cat /proc/cpuinfo</command>
</node>
<node name="summary">
<properties>
- <help>Show system CPUs</help>
+ <help>Show system CPUs summary</help>
</properties>
- <command>${vyos_op_scripts_dir}/cpu_summary.py</command>
+ <command>${vyos_op_scripts_dir}/cpu.py show_summary</command>
</node>
</children>
</node>