HP Process Resource Manager User's Guide

7
Contents
7. Configuring and enabling PRM on the command line
Quick start to using PRM’s command-line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Configuring PRM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
The PRM configuration file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Configuration tips and requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Specifying PRM groups/controlling CPU resource use. . . . . . . . . . . . . . . . . . . . . . . 104
Controlling memory use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Controlling disk bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Controlling applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Specifying PRM users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Assigning secure compartments to PRM groups . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Assigning Unix groups to PRM groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Checking the configuration file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Loading the PRM configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Enabling resource managers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Enabling resource managers with prmconfig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Updating the configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
8. Fine-tuning your PRM configuration
Using prmanalyze to analyze your configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Example: Locating system bottlenecks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Example: High-level views of usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Example: Checking for patterns and configuration accuracy. . . . . . . . . . . . . . . . . . 166
Example: Disk bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Using GlancePlus to analyze your configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Analyzing memory use. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
9. Administering PRM
Moving processes between PRM groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Displaying application filename matches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Displaying netgroup expansions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Displaying accessible PRM groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Displaying state and configuration information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Displaying application and configuration information . . . . . . . . . . . . . . . . . . . . . . . . 179