Gets the resource limits set on this process: core, cpu, fsize, data, stack, rss, nproc, nofile, memlock, aspace Each is set to a tuple containing the soft and hard limit.
More...
Gets the resource limits set on this process: core, cpu, fsize, data, stack, rss, nproc, nofile, memlock, aspace Each is set to a tuple containing the soft and hard limit.
Definition at line 98 of file rusage.py.
def produtil.rusage.RLimit.__init__ |
( |
|
self, |
|
|
|
logger = None |
|
) |
| |
RLimit constructor.
- Parameters
-
logger | a logging.Logger for log messages. |
Definition at line 102 of file rusage.py.
def produtil.rusage.RLimit.__str__ |
( |
|
self | ) |
|
Creates a multi-line string representation of the resource limits.
Definition at line 117 of file rusage.py.
The documentation for this class was generated from the following file:
- /mnt/pan2/projects/hwrfv3/Samuel.Trahan/trunk/ush/produtil/rusage.py