Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

User Commands (m - o) osh(1)
NAME
osh - Runs a process in the OSS environment from the Guardian environment
SYNOPSIS
osh [ option ... ][redirection ... ][operands ]
FLAGS
Operands used with the osh command must follow osh option specications. Redirection can
appear anywhere on the command line.
Options
All lename and pathname arguments used with osh options must be specied using OSS path-
name syntax. In the current release, lenames and pathnames within the /E directory are not sup-
ported by the OSS le system. However, osh supports specication of the /E directory for
lenames and pathnames in options such as -prog pathname. These specications allow the user
to identify Guardian environment objects on other HP NonStop server nodes.
The specication of osh options ends when osh nds one of the following:
The end of the input line
Any operand; that is, any specication that does not start with a minus (-) or plus (+) and
is not a redirection specication
The -- option
The -p option
The osh options cannot be grouped after a single minus (-) or plus (+). That is, -debuginspect on
is not a valid option specication.
The osh options can be specied in any order; osh processes options from left to right. When you
specify an osh option more than once, the rightmost specication on the command line determines
the value used.
-? | -help Displays usage information for the osh command. If this option is specied, all
remaining osh options and operands on the command line are ignored.
-c command Submits command to the OSS child process as a single argument, prexed by -c.
If the command string contains more than one item, the entire string must be
enclosed in quotation marks ("). The command string can be any valid OSS shell
command, OSS utility name, or script le pathname and can include parameters to
be processed by the named command, utility, or script.
-cpu n Species the processor (0-15) in which the child process is to run. The default
processor is the processor in which osh is running.
-debug Starts a Guardian environment debugging tool at the rst executable instruction of
the child process. The default action is to start the child process without a debug-
ging tool active.
Refer to the appropriate debugger manual for additional information.
-defmode on | -defmode off
Species the Guardian DEFINE mode for the child process.
If you use -defmode on, all Guardian DEFINE values of the process executing
osh are inherited by the child process.
If you use -defmode off, only Guardian =_DEFAULTS DEFINE values are inher-
ited by the child process.
527188-003 Hewlett-Packard Company 693