Skip to content

Commit

Permalink
JSON output support for zpool status
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
  • Loading branch information
usaleem-ix committed May 22, 2024
1 parent f8fa1fc commit 5df47e0
Show file tree
Hide file tree
Showing 7 changed files with 1,207 additions and 59 deletions.

0 comments on commit 5df47e0

Please sign in to comment.