zfs/man
Umer Saleem aa15b60e58 JSON output support for zfs version and zfs get
This commit adds support for JSON output for zfs version and zfs get
commands. '-j' flag can be used to get output in JSON format.

Information is collected in nvlist objects which is later printed in
JSON format. Existing options that work for zfs get and zfs version
also work with '-j' flag.

man pages for zfs get and zfs version are updated accordingly.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #16217
2024-08-06 12:45:45 -07:00
..
man1 RAID-Z expansion feature 2023-11-08 10:19:41 -08:00
man4 Several improvements to ARC shrinking (#16197) 2024-07-25 10:31:14 -07:00
man5 Consistentify miscellaneous style on remaining manpages 2021-06-09 14:35:53 -07:00
man7 ddt: add support for prefetching tables into the ARC 2024-07-26 09:16:18 -07:00
man8 JSON output support for zfs version and zfs get 2024-08-06 12:45:45 -07:00
Makefile.am ddt: add support for prefetching tables into the ARC 2024-07-26 09:16:18 -07:00