05.08.2013 Views

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Package prlsdkapi Class VmStat<br />

get iface stat(self, index)<br />

Obtain and return network interface statistics.<br />

Parameters<br />

index: A numeric instance identifying a network interface. To<br />

obtain the net interface count, use<br />

VmStat.ifaces stats count.<br />

Return Value<br />

An instance of VmIFaceStat.<br />

get user stat(self, index)<br />

Obtain and return the user session statistics.<br />

Parameters<br />

index: A numeric index identifying a user session. To obtain the<br />

user session count, use VmStat.users stats count.<br />

Return Value<br />

An instance of VmUserStat.<br />

get disk stat(self, index)<br />

Obtain and return disk drive statistics.<br />

Parameters<br />

index: A numeric index identifying a disk. To obtain the disk<br />

count, use VmStat.disks stats count.<br />

Return Value<br />

An instance of VmDiskStat.<br />

get proc stat(self, index)<br />

Obtain and return system process statistics.<br />

Parameters<br />

index: A numeric index identifying a process. To obtain the process<br />

count, use VmStat.procs stats count.<br />

Return Value<br />

An instance of VmProcStat.<br />

Inherited from prlsdkapi.prlsdk.BaseAsync(Section 2.5)<br />

cmp (), init (), new (), repr (), cancel(), wait()<br />

Inherited from object<br />

delattr (), getattribute (), hash (), reduce (), reduce ex (), setattr (),<br />

str ()<br />

83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!