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

Add ability for lctl get_param to get subfield of YAML output

    XMLWordPrintable

Details

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

    Description

      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 ':'.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: