Most users interact with the in-core Resource Manager database using the Device Configuration Utility (see dcu(ADM)). The resmgr command is used primarily in shell scripts and for debugging.
Some of the display functions and behavior of resmgr are specific to the autoconfiguration system for AT architecture systems. Specifically, certain autoconfiguration parameter names (for example, IRQ and IOADDR) and associated types are known to resmgr. This affects what resmgr displays by default and allows use of these parameters without specifying their types.
For the -p and -v options, one or more parameters can be specified; multiple entries must be entered as a delimiter-separated list enclosed in double quotes. The default delimiter is space; the -d option overrides the default.
Only a privileged user can use the resmgr command.
When invoked with no options, resmgr displays the Resource Manager database. The parameters displayed are those of interest to the autoconfiguration system for AT architecture systems. When the -p flag is specified, the value for each of the selected parameters is displayed.
Adds a new Resource Manager database entry and creates a new Resource Manager key. The list of parameters specified is assigned the list of values specified.
Converts file to readable format and displays it. file is the file output by idconfupdate and, by default, that is /stand/resmgr.
Removes the Resource Manager database entry that contains the specified key.
Adds one or more new parameters to an existing Resource Manager database entry that contains the specified key. Any values previously in that entry are deleted; the values specified are assigned. If a database parameter is to be assigned multiple values, its values are separated by the delimiter specified with the -d option. When the board instance (brdinst) is specified with the -i option, the additions are made to the brdinst-th entry. A brdinst of 0 selects the first board instance, the default.
Displays the Resource Manager database entries that contain a MODNAME database parameter with the value modname. When parameters are specified using the -p option, only the values for those parameters are displayed.
Adds one or more new parameters to an existing Resource Manager database entry that contain a MODNAME database parameter with the value modname. Any values previously in that entry are deleted; the values specified are assigned. If a database parameter is to be assigned multiple values, its values are separated by the delimiter specified with the -d option. When the board instance (brdinst) is specified with the -i option, the additions are made to the brdinst'th entry. A brdinst of 0, the default, selects the first board instance.
Removes the Resource Manager database entry that contains a MODNAME database parameter with value modname. When the board instance (brdinst) is specified with the -i option, the brdinst-th entry is removed. A brdinst of 0, the default, removes the first board instance.
To remove the resource Manager database entry for the first
asyc (asynchronous port driver) board instance:
resmgr -r -m asyc
To remove the Resource Manager database entry for the second
asyc (asynchronous port driver) board instance:
resmgr -r -m asyc -i 1
To add a new parameter and value for the asyc entry:
resmgr -m asyc -p speed,s -v V32bis
To create a new Resource Manager database entry with multiple parameters:
resmgr -a -p "MODNAME IPL ITYPE IRQ" -v "lp 5 4 7"