Path : /proc/2/root/var/lib/zabbix/ |
Current File : //proc/2/root/var/lib/zabbix/rpm_db.py |
#!/usr/bin/python import yum import pprint def get_status_rpm(): yb = yum.YumBase() pprint.pprint(yb.conf.yumvar, width=1) if __name__ == "__main__": print(get_status_rpm())