Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: Virtualization Using the Solaris Operating System
Previous Next

Resource Controls Tab

Resource controls allow you to associate a project with a set of resource constraints. These constraints determine the allowable resource usage of tasks and processes that run in the context of the project.

Figure 15-2 Resource Controls Tab in the Solaris Management Console
Screen capture shows the Resource Controls tab. Resource controls and their values appear on the tab.

How to Access the Resource Controls Tab

The Resource Controls tab is located under System Configuration in the Navigation pane. To access Resource Controls, do the following:

  1. Click the System Configuration control entity in the Navigation pane.
  2. Double-click Projects.
  3. Click on a project in the console main window to select it.
  4. Select Properties from the Action menu.
  5. Click the Resource Controls tab.

    View, add, edit, or delete resource control values for processes, projects, and tasks.

Resource Controls You Can Set

The following table shows the resource controls that can be set in the console. The table describes the resource that is constrained by each control. The table also identifies the default units that are used by the project database for that resource. The default units are of two types:

  • Quantities represent a limited amount.

  • Indexes represent a maximum valid identifier.

Thus, project.cpu-shares specifies the number of shares to which the project is entitled. process.max-file-descriptor specifies the highest file number that can be assigned to a process by the open(2) system call.

Table 15-1 Standard Resource Controls Available in the Solaris Management Console

Control Name

Description

Default Unit

project.cpu-shares

The number of CPU shares that are granted to this project for use with the fair share scheduler (FSS) (see the FSS(7) man page)

Quantity (shares)

task.max-cpu-time

Maximum CPU time that is available to this task's processes

Time (seconds)

task.max-lwps

Maximum number of LWPs simultaneously available to this task's processes

Quantity (LWPs)

process.max-cpu-time

Maximum CPU time that is available to this process

Time (seconds)

process.max-file-descriptor

Maximum file descriptor index that is available to this process

Index (maximum file descriptor)

process.max-file-size

Maximum file offset that is available for writing by this process

Size (bytes)

process.max-core-size

Maximum size of a core file that is created by this process

Size (bytes)

process.max-data-size

Maximum heap memory that is available to this process

Size (bytes)

process.max-stack-size

Maximum stack memory segment that is available to this process

Size (bytes)

process.max-address-space

Maximum amount of address space, as summed over segment sizes, available to this process

Size (bytes)

Setting Values

You can view, add, edit, or delete resource control values for processes, projects, and tasks. These operations are performed through dialog boxes in the console.

Resource controls and values are viewed in tables in the console. The Resource Control column lists the resource controls that can be set. The Value column displays the properties that are associated with each resource control. In the table, these values are enclosed in parentheses, and they appear as plain text separated by commas. The values in parentheses comprise an “action clause.” Each action clause is composed of a threshold, a privilege level, one signal, and one local action that is associated with the particular threshold. Each resource control can have multiple action clauses, which are also separated by commas.


Note - On a running system, values that are altered in the project database through the console only take effect for new tasks that are started in a project.


Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire