qxprof - query LCFG profile
/usr/bin/qxprof [options] [component[.resource]] | [resource=value] ...
This command queries the DBM file generated by rdxprof for resource values and information. If a component without a resource is specified, all resources with a non-empty value for that component are shown. Variable assignments specified on the command line overide any corresponding resource values.
Show all resources for the given component, even if they have a null value.
Dump resources values to stdout. This is the default if -e and -w are not specified.
The resources are printed in a format which is suitable for direct evaluation by the shell. This creates environment variables for all specified resources, prefixed with LCFG_component_. Note that you probably want to disable globbing (set -f) when evaluating the output form qxprof, otherwise unexpected shell expansions may occur.
Use resources for the specified host, rather than the current host. Note that this is only useful if the a DBM file for the specified host exists on the current machine; this will not normally be the case. rdxprof can however be used to fetch the profile for any machine and create the appropriate DBM file.
Instead of reading resources from the profile, the resources are read from variables in the current environment, as created with the -e option.
Load resources from profile. This is the default if neither -i or -r is specified.
The specified prefixes are used when creating shell variable names from resource names for exporting (or importing) resources into the environment. The first prefix is for variable names representing resource values, the second is for resource types. A %s in the prefix is replaced with the component name. The default values are: LCFG_%s_,LCFGTYPE_%s_.
Read resources from the named file.
Verbose. As well as the value of the resource, print out the derivation and type, if available.
Write resources to the named file.
The DBM file.
Solaris9, Fedora3, Fedora5, Darwin, Fedora6, Scientific5
Paul Anderson <dcspaul@inf.ed.ac.uk>