Description
As with "df", it would be useful to allow specifying "lfs df --output=FIELD_LIST" to print only specific fields from the output:
FIELD_LIST is a comma-separated list of columns to be included. Valid
field names are: 'source', 'itotal', 'iused', 'iavail',
'ipcent', 'size', 'used', 'avail', 'pcent', 'file' and 'target'
This allows printing only specific fields, and would avoid a lot of "lfs df | awk '/OST0000/ { print $4 }'" kind of usage in test scripts, and is likely similarly useful for end users.
Attachments
Issue Links
- is related to
-
LU-18242 allow 'lfs df -m/-o' to specify one MDT/OST
- Open