salt.modules.win_disk

Module for gathering disk information on Windows

depends:
  • win32api Python module
salt.modules.win_disk.usage()

返回这个minion上挂载的磁盘卷的使用情况

CLI 范例:

salt '*' disk.usage