Module e.c.u.resources

Part of elisa.core.utils

Unix specific resource informations
Line # Kind Name Docs
27 Function memory Return memory status for the current process.
62 Function file_descriptors Return the list of file descriptors opened by the current process.
84 Function threads Return the number of threads of the current process.
def memory(key='total', unit='pages'):
Return memory status for the current process. Figures are returned in number of pages.
Parameterskeywhich memory type to ask for; possible values are 'total', 'resident', 'share', 'text', 'lib' and 'data'. (type: string )
Returns (type: int )
def file_descriptors():
Return the list of file descriptors opened by the current process.
Returns (type: list of string )
def threads():
Return the number of threads of the current process.
Returns (type: int )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.