cli-settings

Specifies certain CLI settings.

Format

cli-settings show|parameter

Parameters   

confirmation on|off

Turns on (default) or off the confirmation for all commands.

Note: Turning off confirmation can be dangerous. Some critical commands prompt for a response before starting the operation, such as: delete, logout, passwd, restart, and shutdown.

Changes to this settings take effect immediately for the user who changed it and for users who subsequently log in as grpadmin. Any other current grpadmin CLI sessions are not affected by the change.

displayinMB on|off

Turns on or off (default) displaying group, volume, and member sizes in megabytes. This enables you to get more accurate space information.

events on|off

Turns on (default) or off displaying events on the console.

formatoutput on|off

Turns on (default) or off formatting for the output for show commands.

paging on|off

Turns on (default) or off paging when the output is more than one screen size.

Examples

> cli-settings show

__________________________ Cli Settings ______________________

Confirmation: on                     Paging: on

DisplayinMB: off                     FormatOutput: on

Events: on

The following commands show the effect of turning displayinMB off and on.

> cli-settings displayinMB off

> volume show

Name        Size  SnapShots Status   Permission  Connections

----------- ----- --------- -------- ----------  -----------

test-access 1GB    0        online   read-write   1

dbvol       10GB   0        online   read-write   0

> cli-settings displayinMB on

> volume show

Name        Size    SnapShots   Status   Permission  Connections

----------- -----   ---------   -------- ----------  -----------

test-access 1024MB   0          online   read-write   1

dbvol       10240MB  0          online   read-write   0