Closed
Description
I would like to access ZFS related information (pool, dataset configuration information, etc.) programatically from a python (or C) script in order to do some other monitoring/configuration. I tried to install libzfs-python (https://github.com/Xaroth/libzfs-python) on Centos but I cannot seem to find libzfs-dev. I tried installing zfs-devel but I setup of libzfs-python still fails as it cannot resolve a lot of symbols.
What is the best way in which to access pool, dataset and other configuration information programatically without parsing the text output of command line commands?