Flow monitor examples, Monitoring lun level statistics, Device and a destination device – Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 52

Advertising
background image

Flow Monitor examples

The following examples display how to use the Flow Monitor feature.

Monitoring LUN level statistics

A common use of flow monitors is to monitor traffic flowing from a particular ingress port to a specified
LUN.

The following example creates a flow named “lunFlow11” that monitors traffic ingressing on port 5
between device 010502 and device 030700 using LUN 4, and then displays the results of that flow.
The figure provides an illustration of what is happening in the example.

FIGURE 9 A LUN monitoring flow

switch128:admin> flow --create lunFlow11 -feature monitor -ingrport 5 -srcdev 0x010502 -dstdev

0x030700 -lun 4

switch128:admin> flow --show lunFlow11 -feature monitor

Name : lunflow1 Features: mon(Activated) noConfig: off

Definition: IngrPort(5),SrcDev(010502),DstDev(030700),Lun(4)

Flow Monitor (Activated):

Monitor time: | Thu Jun 06 15:15:39 UTC 2013 |

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

| I/O Count | I/O Per Sec.(IOPS) | I/O bytes Transferred | I/O bytes Per Sec. |

| Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total |

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

| 44.92k/ 44.94k/ 89.85k| 2.00k/ 2.00k/ 4.01k| 5.88M/ 5.89M/ 11.77M| 2.62M/ 2.62M/ 5.25M|

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

Viewing summary flow data for a specific device pair

The following example creates a Flow Monitor flow gathering statistics for frames ingressing through
port 30 between device 010000 and device 010100, and then displays the results. The point of interest
in this example is port 30; it can be an E_Port, EX_Port, or F_Port.

switch:admin> flow --create sumflow1 -feature monitor -ingrport 30 -srcdev 010000 -dstdev 010100

switch:admin> flow --show

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

Flow Name | Feature | SrcDev | DstDev |IngrPt|EgrPt |BiDir| LUN | FrameType|

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

sumflow1 |mon+ |010000 |010100 |30 |- |no |- |- |

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

+ Denotes feature is currently activated for the flow

Flow Monitor examples

52

Flow Vision Administrators Guide

53-1003168-01

Advertising