CORBA 2.6 Programmer's Guide for C++

User commands and utilities.
The osh command enters the OSS environment and starts an OSS shell process.
To work with NonStop CORBA, you need to have a basic understanding of the OSS environment and
you need to know how to use some of the OSS commands. A few of the commands most used in
preparing a NonStop CORBA application are described in the following sections. For more complete
information about programming in the OSS environment and OSS commands, consult the Open System
Services Programmer's Guide and the Open System Services Shell and Utilities Reference Manual.
Most OSS commands have direct counterparts in UNIX, although some commands and utilities are
unique to OSS. In some cases, OSS extends a UNIX command to provide access to features of the
NonStop Kernel.
To get online information about OSS commands and utilities, use the man command (an abbreviation for
manual). For example, to get more information about the gtacl command, type:
man gtacl
Using Guardian Commands and Files Through OSS
NonStop CORBA applications can run as OSS processes or as TS/MP server-class processes. The OSS
gtacl command provides access to the Guardian environment from the OSS environment. NonStop
CORBA shell scripts use the gtacl command to access the Guardian environment from the OSS
environment. Interactive users can use TACL in a Guardian window as an alternative to using gtacl.
The following examples show how you would run the Guardian fileinfo and status commands
using gtacl:
gtacl -c fileinfo
gtacl -c 'status $ztc0'
You can also use Guardian files from the OSS environment by following a standard naming convention:
in OSS, the string /G designates the Guardian file system. You can also access OSS files systems on
other Expand nodes by using /E/node. The following example shows how you would use the OSS ls
command to list the contents of the Guardian subvolume $data1.nsdom:
ls /G/data1/nsdom
The OSS run command lets you run a process with specific attributes. For example, you could use the
following syntax to run a named process:
run -name=Guardian-process-name program-name
For example,
run -name=/G/svr Test_DII_SVR -ORBprofile tcp_sample_svr
In this example, svr is an arbitrary process name. tcp_sample_svr is passed when ORB_init() is
called.