HP P2000 G3 MSA System CLI Reference Guide
23
Command completion, editing, and history
The CLI supports command completion, command editing, and command history.
When entering commands interactively you can abbreviate their names and keywords. For example, you
can enter
sho cl
to run the
show cli-parameters
command. If you press
Tab
or
Ctrl+i
after typing
sufficient characters to uniquely identify the command or keyword, the remainder of the command or
keyword is displayed so you can confirm your intent. If you enter too few letters to uniquely identify a
keyword, pressing
Tab
or
Ctrl+i
will list commands or keywords that match the entered string and
redisplays the string so you can complete it.
When scripting commands, type commands in full to aid readability.
The history contains commands entered in the active CLI session. You can recall a command from the
history, edit it, and run it.
Viewing help
To view brief descriptions of all commands that are available to the user level you logged in as, enter:
help
To view help for a command and then return to the command prompt, enter:
help
command-name
To view the information shown in
Command syntax
above, enter:
help syntax
To view the information shown in this topic and in
Command completion, editing, and history
above,
enter:
help help
Size representations
Parameters such as names of users and volumes have a maximum length in bytes. ASCII characters are 1
byte; most Latin (Western European) characters with diacritics are 2 bytes; most Asian characters are 3
bytes.
Operating systems usually show volume size in base 2. Disk drives usually show size in base 10. Memory
(RAM and ROM) size is always shown in base 2.
In the CLI, the base for entry and display of storage-space sizes can be set per user or per session; see
create user
and
set cli-parameters
. When entering storage-space sizes only, either base-2 or base-10 units
can be specified.
Table 4
Keyboard shortcuts for command completion, editing, and history
To
Press
Complete a partially entered keyword
Tab
or
Ctrl+i
Show command history
F6
Get previous command from history
Up Arrow
Get next command from history
Down Arrow
Move cursor left
Left Arrow
Move cursor right
Right Arrow
Delete previous character
Backspace
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...