[LU-12841] Add ability for lctl get_param to get subfield of YAML output Created: 09/Oct/19  Updated: 13/Apr/21

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: James A Simmons
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11850 Relocating /proc/fs/lustre/ost to /sy... In Progress
Rank (Obsolete): 9223372036854775807

 Description   

It would be useful to allow "lctl get_param" to extract a subfield from a YAML-formatted output, such as "osc.*.import:max_brw_size" instead of having to use awk. I think "lctl get_param <param>:<key>" would work to print only the associated value for "<key>". There are not currently any parameters that contain a ':'.


Generated at Sat Feb 10 02:56:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.