Authorizing a user to run a specific application on the local resources is often not enough for system administrators. What is needed is a way to impose and enforce limits on the physical resources consumed by the applications. To specify these limits, PRM usesapplication-specific restrictions.
a) CPU load, expressed as maximum percentage of the CPU time that
an application is allowed to use:
| Token Type: cpu_load | ||
| Defining Authority: local_manager | ||
| Value: 20% |
b) memory usage, expressed as maximum size in Kbytes that a process
can occupy in main memory:
| Token Type: mem_usage | ||
| Defining Authority: local_manager | ||
| Value: 1024 |
c) machine idle time, expressed as minimum interval in minutes that
the machine has to be idle before any application managed by PRM is
allowed to run:
| Token Type: idle_time | ||
| Defining Authority: local_manager | ||
| Value: 30 |