Query: cmgetpkgenv
OS: hpux
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cmgetpkgenv(1m) cmgetpkgenv(1m)NAMEcmgetpkgenv - get the configured environment for a high availability packageSYNOPSIScmgetpkgenv package_nameDESCRIPTIONcmgetpkgenv retrieves configured attributes of the high availability Serviceguard package named by package_name and writes them to the standard output in form usable by the POSIX Shell. It is used by the package run and halt script to determine the packages's start and stop actions. The output for a pre-11.18 style non CVM Version 4.1 package does not display any configured attributes. The command will display an infor- mational message and return an error condition occurred. To use cmgetpkgenv, a user must either be a superuser with effective user ID of zero (see id(1) and su(1)), or have an access policy of MONITOR allowed in the cluster or package configuration file. See access policy in cmquerycl(1m) or cmmakepkg(1m)RETURN VALUEcmgetpkgenv returns the following value: 0 Successful completion. >0 Error condition occurred.AUTHORcmgetpkgenv was developed by HP.SEE ALSOcmhaltpkg(1m), cmmakepkg(1m), cmquerycl(1m), cmrunpkg(1m), cmviewcl(1m), sh(1). Requires Optional Serviceguard Software cmgetpkgenv(1m)