diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-07 22:49:02 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-07 22:49:04 +0200 |
commit | dec99e036a466fbdba2faa17002707b920933db3 (patch) | |
tree | 0f6d5edf8af6119848360052870d09d66e64e8b4 /op-mode-definitions | |
parent | cfeebf30947f70d92ea24bd5962b3092f7db8341 (diff) | |
download | vyos-1x-dec99e036a466fbdba2faa17002707b920933db3.tar.gz vyos-1x-dec99e036a466fbdba2faa17002707b920933db3.zip |
op-mode: T2558: version: split out CPU info
Instead of using "show version" as catch-all command for information rather
add "show system cpu" op-mode command which is analogous to "show system memory"
which deals with RAM.
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-system.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-system.xml b/op-mode-definitions/show-system.xml index b7f56ae20..a39d9b481 100644 --- a/op-mode-definitions/show-system.xml +++ b/op-mode-definitions/show-system.xml @@ -49,6 +49,12 @@ </node> </children> </node> + <leafNode name="cpu"> + <properties> + <help>Show CPU information</help> + </properties> + <command>${vyos_op_scripts_dir}/show_cpu.py</command> + </leafNode> <leafNode name= "integrity"> <properties> <help>Checks overall system integrity</help> |