Running oss processes with guardian attributes – HP NonStop G-Series User Manual
Page 73

gtacl -c 'fup dup subvolume.filename, newsubvolume.filename'
To get information about a Guardian subvolume, at the OSS prompt enter:
gtacl -p 'fup info \systemname.$volumename.subvolume.*'
The gtacl command, its syntax, and its options are fully documented in the gtacl(1) reference
page either online or in the Open System Services Shell and Utilities Reference Manual.
Running OSS Processes From the Guardian Environment
You can run many OSS commands from the Guardian environment against OSS objects using the
osh
command.
For example, to copy an OSS file from one OSS directory to another, at the TACL prompt enter:
osh cp directory/filename newdirectory/filename
The following command starts a child process running in the shell:
osh -ls
The following command displays the reference page for the grep command:
osh -c "man grep"
For a list of the flags that you can use with the osh command, see the osh(1) reference page
either online or in the Open System Services Shell and Utilities Reference Manual.
Running OSS Processes With Guardian Attributes
The run command lets you assign Guardian attributes to OSS programs.
For example, you can execute OSS programs under control of an HP debugger. You can assign
Guardian execution priorities to OSS programs and specify a Guardian name to the process.
The following command runs the program program on processor 3 and with the HP Inspect
program:
$ run -cpu=3 -debug -inspect=on program
The following command runs the program program with a Guardian priority of 150:
$ run -gpri=150 program
The following flags can be specified with the run command:
Description
Flag
Specifies the processor number of the processor on which the process
is to run.
-cpu n
Causes the process to start in the Debug symbolic debugger.
-debug
Specifies the initial defmode setting for the process being started.
-defmode on | off
Causes the process to start the Guardian Inspect program.
-inspect on | off | saveabend
Specifies the new job ID for the new process.
-jobid jobidnum
Specifies a user library file in /G that is to be searched for external
references required by the program being run.
-lib /G/libfile | unset
Specifies the Guardian execution priority of the new process.
-gpri priority
Specifies the Guardian process name to be assigned to the new
process.
-name /G/processname
Specifies the name of the file in /G that holds the virtual data of the
process.
-swap /G/swapfile
Specifies the home terminal for the new process.
-term /G/termname
Running OSS Processes From the Guardian Environment
73