System CapacityΒΆ

InfiniSDK allows inspecting the capacity parameters of the system.

system.capacities is a container for the different system capacity attributes

>>> print('System has {0} total physical capacity'.format(system.capacities.get_total_physical_capacity()))
System has 0.92 PiB total physical capacity

>>> print('System has {0} free physical capacity'.format(system.capacities.get_free_physical_capacity()))
System has 0.92 PiB free physical capacity

>>> print('System has {0} total virtual capacity'.format(system.capacities.get_total_virtual_capacity()))
System has 0.92 PiB total virtual capacity

>>> print('System has {0} free virtual capacity'.format(system.capacities.get_free_virtual_capacity()))
System has 0.92 PiB free virtual capacity