Managing SNAplus2 from NetView

Using UCF

Specify spname, which is the name of your service point as defined at NetView. The host NetView personnel can give you this information.

appl=unix

Instruct NetView to send the command to the UCF daemon program on the SNAplus2 computer associated with the service point name spname.

HP-UX_command

Supply the HP-UX operating system command. This command is entered as you would enter it on the HP-UX command line, except for the escape characters to indicate uppercase letters or square bracket characters (as described in “Overview of RCF Command Syntax”).

The escape characters you would normally use on the HP-UX command line, to prevent the HP-UX shell from interpreting special characters, are not required with UCF. For example, do not use escape characters with strings containing the characters * or $, as you would when entering them on the HP-UX command line.

Permitted Commands

The UCF is designed for use with commands that complete (whether or not any output is produced) without any further interaction from the user. For example, you can issue the command cat filename, which completes after displaying the contents of filename, or mv filename1 filename2, which completes with no output unless an error occurs.

Output generated by a UCF command is returned to UCF when the HP-UX operating system command completes. This leads to the following restrictions:

Any output generated after the command completes is not returned to UCF. For example, if you issue a command followed by & to run it in the background, UCF receives the operating system message giving the process ID of the background command, but does not receive any subsequent output that is generated. Similarly, you can use UCF to start a daemon process, but you cannot see any output generated by the process.

244

Chapter 10

Page 244
Image 244
HP UX SNAplus2 manual Permitted Commands, HP-UXcommand