Class struct_rusage
object --+
|
struct_rusage
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.
|
n_fields = 16
|
|
n_sequence_fields = 16
|
|
n_unnamed_fields = 0
|
|
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.
|
|
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
|
Inherited from object :
__class__
|
__getslice__(x,
i,
j)
(Slicling operator)
|
|
x[i:j]
Use of negative indices is not supported.
|
__hash__(x)
(Hashing function)
|
|
hash(x)
- Overrides:
object.__hash__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|
helper for pickle
- Overrides:
object.__reduce__
- (inherited documentation)
|
__repr__(x)
(Representation operator)
|
|
repr(x)
- Overrides:
object.__repr__
|
ru_maxrss
max. resident set size
|