Package prlsdkapi :: Class StatDiskPart
[ hide private ]
[ frames ] | no frames ]

Class StatDiskPart

object --+    
         |    
   _Handle --+
             |
            StatDiskPart

Provides methods for obtaining disk partition statistics for the host computer or a virtual machine. To obtain the object, use the StatDisk.get_part_stat method.

Instance Methods [ hide private ]
get_system_name ( self )
Return the disk partition device name.
get_usage_disk_space ( self )
Return the size of the used space on the disk partition, in bytes.
get_free_disk_space ( self )
Return the size of the free space on the disk partition, in bytes.

Inherited from _Handle : __del__ , __init__ , add_ref , free , from_string , get_handle_type , get_package_id , get_type

Inherited from object : __delattr__ , __format__ , __getattribute__ , __hash__ , __new__ , __reduce__ , __reduce_ex__ , __repr__ , __setattr__ , __sizeof__ , __str__ , __subclasshook__

Properties [ hide private ]

Inherited from object : __class__

Method Details [ hide private ]

get_system_name ( self )

Return the disk partition device name.

Returns:
A string containing the disk partition device name.

get_usage_disk_space ( self )

Return the size of the used space on the disk partition, in bytes.

Returns:
An integer containing the used space in bytes.

get_free_disk_space ( self )

Return the size of the free space on the disk partition, in bytes.

Returns:
An integer containing the free space size in bytes.