| |
- __builtin__.object
-
- struct_rusage
- exceptions.Exception(exceptions.BaseException)
-
- error
class struct_rusage(__builtin__.object) |
|
struct_rusage: Result from getrusage.
This object may be accessed either as a tuple of
(utime,stime,maxrss,ixrss,idrss,isrss,minflt,majflt,
nswap,inblock,oublock,msgsnd,msgrcv,nsignals,nvcsw,nivcsw)
or via the attributes ru_utime, ru_stime, ru_maxrss, and so on. |
|
Methods defined here:
- __add__(...)
- x.__add__(y) <==> x+y
- __contains__(...)
- x.__contains__(y) <==> y in x
- __eq__(...)
- x.__eq__(y) <==> x==y
- __ge__(...)
- x.__ge__(y) <==> x>=y
- __getitem__(...)
- x.__getitem__(y) <==> x[y]
- __getslice__(...)
- x.__getslice__(i, j) <==> x[i:j]
Use of negative indices is not supported.
- __gt__(...)
- x.__gt__(y) <==> x>y
- __hash__(...)
- x.__hash__() <==> hash(x)
- __le__(...)
- x.__le__(y) <==> x<=y
- __len__(...)
- x.__len__() <==> len(x)
- __lt__(...)
- x.__lt__(y) <==> x<y
- __mul__(...)
- x.__mul__(n) <==> x*n
- __ne__(...)
- x.__ne__(y) <==> x!=y
- __reduce__(...)
- __repr__(...)
- x.__repr__() <==> repr(x)
- __rmul__(...)
- x.__rmul__(n) <==> n*x
Data descriptors defined here:
- ru_idrss
- unshared data size
- ru_inblock
- block input operations
- ru_isrss
- unshared stack size
- ru_ixrss
- shared memory size
- ru_majflt
- page faults requiring I/O
- ru_maxrss
- max. resident set size
- ru_minflt
- page faults not requiring I/O
- ru_msgrcv
- IPC messages received
- ru_msgsnd
- IPC messages sent
- ru_nivcsw
- involuntary context switches
- ru_nsignals
- signals received
- ru_nswap
- number of swap outs
- ru_nvcsw
- voluntary context switches
- ru_oublock
- block output operations
- ru_stime
- system time used
- ru_utime
- user time used
Data and other attributes defined here:
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- n_fields = 16
- n_sequence_fields = 16
- n_unnamed_fields = 0
| |