8.3 dcli Examples
This section contains examples of the using the dcli utility.
- Using dcli to Set up SSH User-equivalence for a Current User
This example shows how to set SSH user-equivalence for a current user using the-k
option. - Using dcli with the -n Option
This example shows how to run the CellCLI commandALTER IORMPLAN OBJECTIVE='basic'
, and abbreviates non-error output. - Using dcli with the -r Option
This example shows how to run the CellCLI commandLIST GRIDDISK
, and deletes the lines in the output that containnormal
. - Using dcli with the -v Option
This example shows how to use the verbose (-v
) option with SSH. - Using dcli with the -t Option
This example shows how to use the-t
option to list target cells. - Using dcli with the -f Option
This example shows how to use the-f
option. - Using dcli with the --vmstat Option
This example shows how to use the--vmstat
option of dcli. - Using dcli with the --hidestderr Option
This example shows how to use the--hidestderr
option. - Using dcli with the --showbanner Option
This example shows how to use the--showbanner
option. - Using dcli to Change an IORM Plan
This example shows a CellCLI command that changes the IORMPLAN to active on the target cells in themycells
group file. - Using dcli with a Script
This example shows the CellCLI commands in thereConfig.scl
file on the target cells. - Using dcli to List Grid Disk Status
This example shows how to run a CellCLI command that lists the name and status of grid disks on the target cells. - Using dcli to List Alert History Information
This example shows a CellCLI command that lists alert history name, examined by, severity on the target cells. - Using dcli to List Alert History Where examinedby is Not Set
This example shows a CellCLI command that lists alert history where examined by has not been set on the target cells. - Using dcli to List Current Metric Alert State
This example shows a CellCLI command that retrieves metric current objects for the number of MB read in large blocks on a grid disk for a group of cells. - Using dcli to List Specific Metric Current Objects in a Group
This example shows a CellCLI command that retrieves metric current objects for the number of requests to read or write blocks on a grid disk. - Using dcli to List Specific Metric Current Objects
This example shows a CellCLI command that lists metric current objects with name equal tocl_put
(cell CPU utilization) on the target cells. - Using dcli to List Physical Disks
This example shows a CellCLI command that lists physical disks where status is not equal to normal on the target cells. - Using dcli to List Cell Disks with Free Space
This example shows a CellCLI command that lists cell disks where free space is less than 100 MB on the target cells. - Using dcli to View Alert History
This example shows a CellCLI command to view the alert history from a particular period.
Parent topic: Using the dcli Utility