In the previous article about Performance Troubleshooting we covered few commands which may be useful while troubleshooting the issues on StoreServ systems.
In this article, we will try to explore the remaining commands and its options.
This article will cover following commands,
statcmp
statvv
statpd
The statcmp command displays Cache Memory Page (CMP) statistics. The common options used are -v (specifies that CMP statistics by virtual volume instead of by node are displayed) and -iter (statistics are displayed a specified number of times as indicated)
-both | -ctl | -data when this option is used, both control and data transfers are displayed(-both), or only control transfers are displayed (-ctl), or only data transfers are displayed (-data).If no options are specified only data transfers are displayed.
EXAMPLE
In this article, we will try to explore the remaining commands and its options.
This article will cover following commands,
statcmp
statvv
statpd
The statcmp command displays Cache Memory Page (CMP) statistics. The common options used are -v (specifies that CMP statistics by virtual volume instead of by node are displayed) and -iter (statistics are displayed a specified number of times as indicated)
mylab3par cli% statcmp -iter 1
22:23:00 03/14/2016 ---- Current ----- --------- Total ----------
Node Type Accesses Hits Hit% Accesses Hits Hit% LockBlk
0 Read 936 588 63 936 588 63 115
0 Write 388 63 16 388 63 16 419
1 Read 452 302 67 452 302 67 116
1 Write 189 61 32 189 61 32 644
Queue Statistics
Node Free Clean Write1 WriteN WrtSched Writing DcowPend DcowProc
0 14882 200825 28 4 39 0 0 0
1 16971 199933 16 4 0 9 0 0
Temporary and Page Credits
Node Node0 Node1 Node2 Node3 Node4 Node5 Node6 Node7
0 0 17847 --- --- --- --- --- ---
1 16701 0 --- --- --- --- --- ---
Page Statistics
---------CfcDirty--------- ----------CfcMax---------- ----------DelAck----------
Node FC_10KRPM FC_15KRPM NL SSD FC_10KRPM FC_15KRPM NL SSD FC_10KRPM FC_15KRPM NL SSD
0 0 71 0 0 0 48000 0 0 0 453528 0 0
1 0 29 0 0 0 48000 0 0 0 3885913 0 0
The statvv command displays statistics for virtual volumes in a continuous loop which will continue to run until return key is pressed. The most common OPTIONS used along with the command are,
-rw Specifies that the display includes separate read and write data.
-ni Specifies that statistics for only non-idle devices are displayed.
The commnd runs similar to statvlun and options are also common.
mylab3par cli% statvv -ni -rw
22:23:55 03/14/2016 r/w I/O per second KBytes per sec Svt ms IOSz KB
VVname Cur Avg Max Cur Avg Max Cur Avg Cur Avg Qlen
DATA_NR_CP_CLxx_VMFS001 r 25 25 25 4589 4589 4589 1.88 1.88 184.3 184.3 -
DATA_NR_CP_CLxx_VMFS001 w 87 87 87 2642 2642 2642 0.19 0.19 30.3 30.3 -
DATA_NR_CP_CLxx_VMFS001 t 112 112 112 7231 7231 7231 0.57 0.57 64.5 64.5 0
DATA_NR_CP_CLxx_VMFS002 r 54 54 54 11332 11332 11332 2.29 2.29 208.8 208.8 -
DATA_NR_CP_CLxx_VMFS002 w 79 79 79 1679 1679 1679 0.09 0.09 21.2 21.2 -
DATA_NR_CP_CLxx_VMFS002 t 133 133 133 13010 13010 13010 0.99 0.99 97.5 97.5 0
DATA_NR_CP_CLxx_VMFS003 r 0 0 0 0 0 0 0.00 0.00 0.0 0.0 -
DATA_NR_CP_CLxx_VMFS003 w 4 4 4 48 48 48 0.07 0.07 10.8 10.8 -
DATA_NR_CP_CLxx_VMFS003 t 4 4 4 48 48 48 0.07 0.07 10.8 10.8 0
---------------------------------------------------------------------------------------
3 r 79 79 15921 15921 2.17 2.17 201.1 201.1 -
3 w 171 171 4369 4369 0.14 0.14 25.6 25.6 -
3 t 250 250 20290 20290 0.78 0.78 81.2 81.2 0
Press the enter key to stop...
The statpd command displays the read/write (I/O) statistics for physical disks in a continuous loop.
-w Specifies that statistics for a particular physical disk are displayed.
-rw Specifies that the display includes separate read and write data.
-ni Specifies that statistics for only non-idle devices are displayed.
EXAMPLES
mylab3par cli% statpd -ni -rwIn our previous post, we have discussed about statport command and its option. This is the command which we use for collecting host port details as well as disk ports. The options are also same except the option -disk.
22:26:31 03/14/2016 r/w I/O per second KBytes per sec Svt ms IOSz KB Idle %
ID Port Cur Avg Max Cur Avg Max Cur Avg Cur Avg Qlen Cur Avg
0 1:0:1 r 22 22 22 482 482 482 3.30 3.30 22.1 22.1 - - -
0 1:0:1 w 11 11 11 206 206 206 8.81 8.81 18.9 18.9 - - -
0 1:0:1 t 33 33 33 688 688 688 5.14 5.14 21.0 21.0 0 92 92
1 0:0:1 r 11 11 11 133 133 133 6.94 6.94 12.2 12.2 - - -
1 0:0:1 w 6 6 6 43 43 43 8.74 8.74 7.3 7.3 - - -
1 0:0:1 t 17 17 17 176 176 176 7.57 7.57 10.5 10.5 0 96 96
2 1:0:1 r 19 19 19 470 470 470 5.97 5.97 24.3 24.3 - - -
2 1:0:1 w 6 6 6 50 50 50 6.40 6.40 7.7 7.7 - - -
2 1:0:1 t 26 26 26 520 520 520 6.08 6.08 20.2 20.2 0 93 93
3 0:0:1 r 10 10 10 192 192 192 4.15 4.15 19.3 19.3 - - -
3 0:0:1 w 1 1 1 5 5 5 4.38 4.38 4.9 4.9 - - -
3 0:0:1 t 11 11 11 196 196 196 4.17 4.17 18.0 18.0 1 98 98
4 1:0:1 r 17 17 17 328 328 328 6.35 6.35 18.9 18.9 - - -
4 1:0:1 w 9 9 9 117 117 117 7.74 7.74 12.4 12.4 - - -
4 1:0:1 t 27 27 27 445 445 445 6.84 6.84 16.6 16.6 0 92 92
5 0:0:1 r 6 6 6 162 162 162 2.34 2.34 25.2 25.2 - - -
5 0:0:1 w 0 0 0 0 0 0 0.00 0.00 0.0 0.0 - - -
5 0:0:1 t 6 6 6 162 162 162 2.34 2.34 25.2 25.2 0 99 99
6 1:0:1 r 9 9 9 145 145 145 4.13 4.13 15.4 15.4 - - -
6 1:0:1 w 7 7 7 46 46 46 8.06 8.06 6.6 6.6 - - -
6 1:0:1 t 16 16 16 191 191 191 5.80 5.80 11.7 11.7 0 96 96
7 0:0:1 r 14 14 14 275 275 275 4.69 4.69 19.1 19.1 - - -
7 0:0:1 w 6 6 6 56 56 56 6.09 6.09 9.4 9.4 - - -
7 0:0:1 t 20 20 20 331 331 331 5.10 5.10 16.3 16.3 0 95 95
8 1:0:1 r 24 24 24 504 504 504 3.92 3.92 20.7 20.7 - - -
8 1:0:1 w 7 7 7 65 65 65 7.29 7.29 8.7 8.7 - - -
8 1:0:1 t 32 32 32 569 569 569 4.71 4.71 17.9 17.9 0 93 93
9 0:0:1 r 9 9 9 79 79 79 5.81 5.81 8.8 8.8 - - -
9 0:0:1 w 6 6 6 30 30 30 10.02 10.02 5.0 5.0 - - -
9 0:0:1 t 15 15 15 109 109 109 7.49 7.49 7.3 7.3 0 95 95
10 1:0:1 r 17 17 17 333 333 333 5.56 5.56 19.2 19.2 - - -
----------------------------------------------------------------------------------------
40 r 508 508 9796 9796 4.53 4.53 19.3 19.3 - - -
40 w 226 226 2494 2494 7.24 7.24 11.1 11.1 - - -
40 t 734 734 12290 12290 5.36 5.36 16.7 16.7 1 95 95
Press the enter key to stop...
-both | -ctl | -data when this option is used, both control and data transfers are displayed(-both), or only control transfers are displayed (-ctl), or only data transfers are displayed (-data).If no options are specified only data transfers are displayed.
EXAMPLE
mylab3par cli% statport -diskThat's it for now. Will come with new commands and option in future. Hope this is useful to all!
22:25:31 03/14/2016 r/w I/O per second KBytes per sec Svt ms IOSz KB
Port D/C Cur Avg Max Cur Avg Max Cur Avg Cur Avg Qlen
0:0:1 Data t 196 196 196 3425 3425 3425 5.10 5.10 17.5 17.5 0
0:0:2 Data t 181 181 181 3119 3119 3119 4.85 4.85 17.2 17.2 0
1:0:1 Data t 145 145 145 2469 2469 2469 6.28 6.28 17.1 17.1 1
1:0:2 Data t 130 130 130 2105 2105 2105 7.01 7.01 16.2 16.2 0
--------------------------------------------------------------------------------
4 Data t 652 652 11118 11118 5.67 5.67 17.1 17.1 1
Press the enter key to stop...
22:25:33 03/14/2016 r/w I/O per second KBytes per sec Svt ms IOSz KB
Port D/C Cur Avg Max Cur Avg Max Cur Avg Cur Avg Qlen
0:0:1 Data t 143 169 196 2293 2859 3425 4.99 5.05 16.1 16.9 0
0:0:2 Data t 131 156 181 2082 2601 3119 5.83 5.26 15.9 16.7 0
1:0:1 Data t 113 129 145 1787 2128 2469 5.46 5.92 15.8 16.5 0
1:0:2 Data t 133 131 133 2372 2238 2372 6.34 6.67 17.8 17.0 0
------------------------------------------------------------------------------
4 Data t 520 586 8534 9826 5.65 5.66 16.4 16.8 0
Press the enter key to stop...
No comments :
Post a Comment