Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12841

Add ability for lctl get_param to get subfield of YAML output

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • 9223372036854775807

      It would be useful to allow "lctl get_param" to extract a subfield from a YAML-formatted output instead of having to use awk/cut/grep to extract these fields.

      I think "lctl get_param PARAM:KEY" and/or "lctl get_param -k KEY PARAM" would work to print only the associated value for "KEY". There are not currently any parameters that contain a ':'.

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: