Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

rcmgr - not supported; use ch_rc (CrUn351)

CMD Impacts

Problem description

The rcmgr command exists on Tru64 UNIX but not on HP-UX. However, a replacement exists in the ch_rc command on HP-UX.

On Tru64 UNIX, the rcmgr command gets, sets, and delete variables in the system configuration files. On HP-UX, the ch_rc command provides similar functionality.

The configuration files are different on the two platforms. Tru64 UNIX uses a hierarchy of three configuration files:


They are shared by all of the subsystems. HP-UX uses a directory of configuration files, /etc/rc.config.d, and each file is for a specific subsystem.


UNIX Commandsrcmgr            

Old behavior

rcmgr get NUM_NFSD
rcmgr set NUM_NFSD 8
rcmgr delete NUM_NFSD

See also

Solution description

To access system configuration files on HP-UX, use the ch_rc command.

The get, set, and delete options of the rcmgr command correspond to the -l, -a, and -r options of the ch_rc command.

If an application has any parameters in the Tru64 UNIX configuration files, then on HP-UX it should put them in its own configuration file in the /etc/rc.config.d directory.

New behavior

# get 
ch_rc -l -p NUM_NFSD

# set 
ch_rc -a -p NUM_NFSD=8 /etc/rc.config.d/nfsconf

# delete 
ch_rc -r -p NUM_NFSD

See also

Problem summary

classifications source types OS release severity type
CMD Make, Script any HP-UX 11i version critical unavailable
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.