Created
November 28, 2012 06:51
-
-
Save orimanabu/4159486 to your computer and use it in GitHub Desktop.
SMcli examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
SMCLI=/opt/IBM_DS/client/SMcli | |
contA="IP address of Controller A" | |
contB="IP address of Controller B" | |
${SMCLI} ${contA} ${contB} -c "show storagesubsystem profile;" | |
${SMCLI} ${contA} ${contB} -c "show allControllers;" | |
${SMCLI} ${contA} ${contB} -c "show allHostPorts;" | |
${SMCLI} ${contA} ${contB} -c "show allDrives;" | |
${SMCLI} ${contA} ${contB} -c "show allDriveChannels stats;" | |
${SMCLI} ${contA} ${contB} -c "show allLogicalDrives summary;" | |
# every 3 seconds, 20 times | |
${SMCLI} ${contA} ${contB} -c "set session performanceMonitorInterval=3 performanceMonitorIterations=20; save storageSubsystem performanceStats file=\"perf.csv\";" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment