8.3.3 Using dcli with the -r Option
This example shows how to run the CellCLI command LIST GRIDDISK
, and deletes the lines in the output that contain normal
.
The command is run on the target cells listed in the
mycells
group file.
Example 8-3 Using the -r Option
$ ./dcli -l celladmin -r '.*normal' -g mycells "cellcli -e list celldisk"
The output would be similar to the following:
.*normal: ['stsd2s2', 'abcd2x3']
abcd2x3: CD_06_abcd2x3 importRequired
Parent topic: dcli Examples