HWRF  trunk@4391
Public Member Functions | List of all members
produtil.rusage.RLimit Class Reference

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...

Detailed Description

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.

Inheritance diagram for produtil.rusage.RLimit:

Public Member Functions

def __init__
 RLimit constructor. More...
 
def __str__ (self)
 Creates a multi-line string representation of the resource limits. More...
 

Constructor & Destructor Documentation

def produtil.rusage.RLimit.__init__ (   self,
  logger = None 
)

RLimit constructor.

Parameters
loggera logging.Logger for log messages.

Definition at line 102 of file rusage.py.

Member Function Documentation

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: