mirror_zfs/lib/libspl/include
Umer Saleem 959e963c81 JSON output support for zpool status
This commit adds support for zpool status command to displpay status
of ZFS pools in JSON format using '-j' option. Status information is
collected in nvlist which is later dumped on stdout in JSON format.
Existing options for zpool status work with '-j' flag. man page for
zpool status is 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:47:10 -07:00
..
os Replace P2ALIGN with P2ALIGN_TYPED and delete P2ALIGN. 2024-05-10 08:47:21 -07:00
rpc Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
sys backtrace: rework for signal safety 2024-05-14 09:48:51 -07:00
assert.h libspl: lift backtrace into a separate file 2024-05-14 09:48:45 -07:00
atomic.h Add membar_sync 2022-09-20 15:32:44 -07:00
libgen.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
libshare.h Make zfs-share service resilient to stale exports 2022-09-09 10:54:16 -07:00
Makefile.am libspl: lift backtrace into a separate file 2024-05-14 09:48:45 -07:00
statcommon.h JSON output support for zpool status 2024-08-06 12:47:10 -07:00
stdlib.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
string.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
umem.h Use __attribute__((malloc)) on memory allocation functions 2023-05-26 15:47:52 -07:00
unistd.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zone.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00