HP UX Internet and Networking Software manual Using snapadmin, Command Line Options

Models: UX Internet and Networking Software

1 651
Download 651 pages 11.83 Kb
Page 31
Image 31

Introduction to SNAplus2 Administration Commands

Using snapadmin

1.1 Using snapadmin

Before you can use the snapadmin program, SNAplus2 must be started. If SNAplus2 has not been started, enter the following command on the HP-UX command line:

sna start

You can use snapadmin to configure and manage SNAplus2. Use snapadmin as an alternative to the Motif administration program when any of the following is true:

You want to configure resource parameters that are not frequently used.

You do not have X display capabilities.

When you issue a command or use the Motif administration program, SNAplus2 changes the configuration file. For more information about configuration files, see Appendix B, Configuration Files.

For more information about using the Motif administration program, refer to HP-UX SNAplus2 Administration Guide.

Use the following syntax for snapadmin:

snapadmin [-n node] [-d][-a][-h]

<-iinfile>

<command, parameter1=value1, parameter2=value2, …>

For information about the options you can use on the command line, see Section 1.1.1, Command Line Options. For information about parameter syntax, see Section 1.1.2, Parameter Syntax Used for Administration Commands.

Administrative commands are listed alphabetically in Chapter 2, Administration Commands, and include descriptions containing the following:

Purpose of the command

Whether the command can be issued to an active node or an inactive node or to the domain configuration file

Other commands that must precede it

Details about the parameters for the command, including parameter types and default values

Returned information

1.1.1 Command Line Options

You can use one or more of the following options when you use the snapadmin program:

-nnode

Sends the command to the named node. By default, node commands are sent to the local node.

Some administration commands defined in Chapter 2, Administration Commands, which are used to control Client-Server tracing, explicitly say that they can be issued on a HP-UX client. For all other commands, you can only issue command-line administration commands from a client if you specify -nwith a server name.

The node name is a string of 1–128 characters. If it includes a . (period) character, SNAplus2 assumes that it is a fully-qualified name; otherwise it performs a DNS lookup to determine the node name.

-d

List detailed information.

-a

List all items (query_* commands only).

31

Page 31
Image 31
HP UX Internet and Networking Software manual Using snapadmin, Command Line Options