Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

run(1) OSS Shell and Utilities Reference Manual
-jobid=jobid_number
Species the new job ID for the new process. If this ag is not specied, the job ID for
the new process is 0.
-lib={/G/volume/subvolume/swapfile
| unset}
Species a user library le in the /G directory that is to be searched for external refer-
ences required by the program being run. The user library le is searched before the
OSS library le. The name of the library le in /G is linked to the program le being
run and remains in use until the program is run with the -lib=unset option.
-mem=num_pages
Species the maximum number of virtual data pages to be allocated for the new pro-
cess. num_pages is an integer in the range 1 through 64. If this ag is not specied, the
default value for the maximum number of virtual data pages allocated for the new pro-
cess is 64. If the value specied for num_pages is less than the compilation-time
value, the compilation-time value is used. If the actual compilation-time value is less
than the value specied for num_pages (or its default value), the compilation-time
value is used.
The -mem ag does not apply to native processes, which use the kernel-managed swap
facility.
-name=/G/process_name
Species the Guardian process name to be assigned to the new process. process_name
is an alphanumeric string whose rst character must be alphabetic. If this ag is not
specied, the new process is not named.
-swap=/G/volume[/subvolume[/swapfile]]
Species either the name of a le in directory /G that holds the virtual data of a TNS
process or the name of a volume to contain temporary les.
When a TNS process is running, by default the operating system allocates swap space
from the kernel-managed swap facility for the purpose of swapping the data stack.
However, if the -swap ag species a valid unstructured permanent le, that le is
used as the swap le and is not purged when the process terminates. The volume that is
specied with the -swap ag must exist in the /G directory on the local node. If not,
the run command displays the usage message and exits in error.
For a TNS process, if the le specied with the -swap ag does not exist, it will be
created. If you specify a swap volume (omitting the subvolume and swaple names)
for a TNS process, the operating system creates a temporary swap le for the TNS data
segment and deletes it when the process completes.
For a native process, any volume specied in a -swap ag can be used for temporary
le creation by appropriately coded processes. The process can inquire (through
PROCESS_GETINFOLIST_ or PROCESS_GETINFO_) about its swap le and get
back the name of a nonexistent temporary le, for example, $VOL.#0. (The volume
name is as specied in the command; the #0 is syntactically valid but does not
correspond to a real le [a temporary le would have seven digits after the #].) Some
utilities use this feature to determine the volume on which to place temporary les of
their own creation. By default, the swap volume of a native process is reported as the
program location.
760 Hewlett-Packard Company 527188-007