perfcli

You can use this utility to start the administrative command-line interface (CLI), or perfcli session, to run commands in interactive mode. This utility also runs a single command or runs a set of commands from a script without starting a perfcli session.

Syntax

Read syntax diagramSkip visual syntax diagram>>-perfcli-- --+-------+-- --+--------------+-- ---------------->
               +--?----+     '-command_name-'
               +--h----+
               '--help-'

>--+-------------------+---------------------------------------><
   +--ver--------------+
   +--overview---------+
   +--script file_name-+
   '-command_string----'

Parameters

-? | -h | -help command_name
Displays help for the specified command (for example, -h setthresh displays help for the setthresh command). If a command name is not specified, this parameter displays a list of available commands in the Administrative CLI.
Note:Note: Although the perfcli utility is listed as a possible command in the help facility, you receive an error if you attempt to run the perfcli utility from within perfcli (for example, perfcli> perfcli help). To get help for the perfcli utility, enter -help perfcli .
-ver
Displays the current version and licensing information for this utility.
-overview
Displays the overview information about the perfcli utility, including command modes, standard command and listing parameters, syntax diagram conventions, and user assistance.
-script file_name
Runs the set of command strings in the specified file outside of a perfcli session. If you specify this parameter, you must specify a file name.

The format options specified using the setoutput command apply to all commands in the script. Output from successful commands routes to stdout.

Output from unsuccessful commands route to stderr. If an error occurs while one of the commands in the script is running, the script will exit at the point of failure and return to the system prompt.

command_string
Runs the specified command string outside of a perfcli session.

Description

You can use the perfcli command with no parameters to start the administrative CLI. When you are in the administrative CLI, the perfcli> prompt is displayed. If you run this utility with any of the valid parameters, the administrative CLI is not started in interactive mode.

Related topics

(C) Copyright International Business Machines Corporation 2004