I/O count for multipath device on each path

Hi,
I am using MPxIO (Bundled multipath) in my Solaris 10 (SPARC) setup for LDEVs from a Hitachi storage (USP-V), each LDEV is being accessed using two paths from the server. I want to verify the I/O count on each of the paths for LDEVs any idea what OS command I may use to verify this.
Thanks in advance.
Solomon.

Hi Nik,
iostat -Y <device Name> - does show the I/O count for all available paths. E.g.:
iostat -Y ssd30 3 6 extended device statistics
device r/s w/s kr/s kw/s wait actv svc_t %w %b
ssd30 2.7 0.6 25.7 211.8 0.0 0.0 0.6 0 0
ssd30.t2 1.3 0.2 12.6 70.0 0.0 0.0 0.0 0 0
ssd30.t2.fp4 1.3 0.2 12.6 70.0 0.0 0.0 0.0 0 0
ssd30.t3 1.3 0.2 13.1 141.8 0.0 0.0 0.0 0 0
ssd30.t3.fp0 1.3 0.2 13.1 141.8 0.0 0.0 0.0 0 0
extended device statistics
device r/s w/s kr/s kw/s wait actv svc_t %w %b
ssd30 0.3 10.3 2.7 9230.8 0.0 0.0 4.2 0 4
ssd30.t2 0.0 5.3 0.0 4591.4 0.0 0.0 0.0 0 0
ssd30.t2.fp4 0.0 5.3 0.0 4591.4 0.0 0.0 0.0 0 0
ssd30.t3 0.3 5.0 2.7 4639.5 0.0 0.0 0.0 0 0
ssd30.t3.fp0 0.3 5.0 2.7 4639.5 0.0 0.0 0.0 0 0
extended device statistics
device r/s w/s kr/s kw/s wait actv svc_t %w %b
ssd30 0.7 11.3 5.3 9357.6 0.0 0.1 5.8 0 7
ssd30.t2 0.0 6.0 0.0 5244.3 0.0 0.0 0.0 0 0
ssd30.t2.fp4 0.0 6.0 0.0 5244.3 0.0 0.0 0.0 0 0
ssd30.t3 0.7 5.3 5.3 4113.3 0.0 0.0 0.0 0 0
ssd30.t3.fp0 0.7 5.3 5.3 4113.3 0.0 0.0 0.0 0
It seems iostat -Y <Dev Name> detects only WRITE I/O and doesn't detect READ I/O for my case not sure if that works for others.
You are correct I can see the traffic in Hitachi storage but I wanted to check from the OS, thank you for your help.
Thanks all for your replies.

Similar Messages

  • Luxadm probe / Could not find the loop address for  the device at physical path

    Using EMC FibreChannel Disks on a Solaris 10
    # luxadm probe
    No Network Array enclosures found in /dev/es
    Error: Could not find the loop address for the device at physical path.
    # echo $?
    255
    Any ideas how to fix?
    Thank,
    Marcel

    Hi Marcel,
    Which Solaris 10 release is this?
    I found a very old bug that says this problem is already fixed in Solaris 10 although the bug description says
    its mostly seen on Solaris 8 and 9.
    https://bug.oraclecorp.com/pls/bug/webbug_print.showbug?c_rptno=15123550
    The bug says that these errors are displayed when StorADE 2.1 is running its rasagent cron job, which executes a luxadm display. 
    This process runs in the background so the user is not aware that another luxadm display process is running.
    Work-around: Do not run Storade rasagent cron job at same time as another luxadm display process.
    I hope this might help to debug this problem but I puzzled why this might be happening if its already fixed.
    Let me know if the workaround helps or so I can follow-up with the right support team.
    Thanks, Cindy

  • I have just moved from MobileMe, where I had a 'Family account' (with unique email addresses for my wife and myself) to iCloud. We share the Cal and Contacts on our iMac. How do we sync to multiple devices - we each have iPads and iPhones? Mine sync OK...

    We have just moved from MobileMe, where we had a 'Family account' (and we each have our own @me.com email addresses) to iCloud. We share the Cal and Contacts on our iMac. How do we sync to multiple devices - we each have an iPad and an iPhone, but with different accounts set up for mail. Mine syncs OK to Cal and Contacts, but hers doesn't. There must be a way! Please help.

    According the this: http://www.apple.com/mobileme/transition.html, "After moving to iCloud, family member accounts are no longer linked to the master account."  You can share an iCloud calendar (see http://support.apple.com/kb/PH2690), but I don't think you will be able to share iCloud contacts unless you are signed into the same iCloud account on both phones.

  • Please help!! I have iPhone 4 so does my wife, we each have our own apple id's for these devices. We have just got an ipad to share for at home use. Is there a way to have both our id's on the ipad to share our music photos etc?

    Please help!! I have iPhone 4 so does my wife, we each have our own apple id's for these devices. We have just got an ipad to share for at home use. Is there a way to have both our id's on the ipad to share our music photos etc?

    For the purposes of 'refreshing' your question so that others more expert can comment here is a link you should read-
    http://apple.stackexchange.com/questions/27070/how-many-apple-ids-should-one-hou sehold-have

  • I have 2 iphones4! Do I have to create one apple id for each device or I can have both in one apple id? I'm asking cause I'm trying to run findmyiphone app for both devices!

    I have 2 iphones4! Do I have to create one apple id for each device or I can have both in one apple id? I'm asking cause I'm trying to run findmyiphone app for both devices!

    Here's what I do. My wife and  I each have an iPhone. We each have our own Apple ID. I also have another totally separate Apple ID. The ONLY thing that one has been used for was to set up Find my iPhone for our phones and my iPad. There is no reason the MobileMe setting for find my iphone can't be something completely different from your regular Apple ID UNLESS you already use MobileMe, in which case the 2 conflict in ways I don't understand as I don't subscribe to it.

  • I see people from different ages at my work and every month I need to count how many people from each age I've seen that month. How can I do to give the entries to numbers in a single cell and make numbers count them for me?

    I see people from different ages at my work and every month I need to count how many people from each age I've seen that month. How can I do to give the entries to numbers in a single cell and make numbers count them for me? The final result would be a spreadsheet telling there were 8 people from 20 to 39 years old, 14 peolple from 40 to 59 and so on...

    jpqcampos wrote:
    This appears to be an 'input form' using 'Radio Buttons' to select the category. Neither of these features are supported in Numbers '09.
    You can input the data on one table and summarize it on a second table, but the input table will continue to hold data for each event.
    And by using the Reorganize button, you can hide all but two rows of that table to approximate the appearance and performance of an input form.
    Here are the two tables, Data on the left and Summary on the right. Notes below.
    The grey-filled columns in both tables are 'working' columns, and may be hidden (as shown in the image below).
    Data table:
    D1 contains the word "TRUE" (in capital letters). (This row is always shown.)
    D2 is empty, or may contain any value except "TRUE" (This row is always hidden under the Reorganize rule.)The rest of Row 2 of this table requires the data shown: a number outside the range to be counted (999), and two checkboxes, both checked.
    D3 (and filled down the rest of column D):   =AND(OR(B2,C2),NOT(OR(B3,C3)))
    The formula returns TRUE only for the first unused row in the table (ie. the first row for which neither checkbox has been checked)
    Summary table:
    Column A contains labels for the age ranges to be counted.
    Column B contains the same information in the form necessary for the formulas in columns C and D. They need a numeric value, and that value must be the largest acceptable value in the range to be counted.
    C2 (and filled right to column D, then both filled down to row 5):
        =COUNTIFS(Data :: $A,"<="&$B,Data :: B,TRUE)-SUM(C$1:C1)
    Two changes from the previous example:
    COUNTIFS is used to separate the Native and Foreign counts as well as the age range to be counted.
    The amount subtracted from each result is the SUM of the earlier results, and includes the text value in the first cell of the column (which is interpreted by SUM as a zero).
    See note below regarding my earlier formula.
    When the greyed columns are hidden and the checkbox in the Reorganize pane is checked, the two tables will appear as shown below:
    Close the reorganize pane, and the 'data entry form' is ready to use.
    To use, enter the age first, then check one of the boxes.
    As soon as one box is checked, the row will be hidden, and the next (unused) row will be shown.
    Regards,
    Barry
    Note regarding formula in my earlier post:
    The earlier formula will give erroneous results as it subtracts only the count directly above it from its count of persons in the age range 0-n.
    In E2 of that table, replace "-E1" with "-SUM(E1:E$1)
    Fill down to E8.
    Ignore the instructions (in that post) following "Fill down to E8."
    B

  • Get the Count for each row

    I'm trying to get the count for each row to total count for each month
    Something like this
    Hardware     |      Jan
    Monitors       |       5
    Processors   |      137
    Printers        |      57
    etc........
    How can I write a query for this. I can get the Hardware column but don't know how to get the next column.

    If you can provide more data like sample input DML statements it would have been wonderful..
    Assuming is , you need a pivot. Here is an article on basic Pivot..
    http://sqlsaga.com/sql-server/how-to-use-pivot-to-transform-rows-into-columns-in-sql-server/
    something like this may be..
    DECLARE @Input TABLE
    Hardware VARCHAR(20),
    [Date] VARCHAR(20)
    INSERT INTO @Input VALUES('Monitor', '01/01/2014'), ('CPU', '01/01/2014'), ('Monitor', '01/03/2014')
    , ('ABC', '01/01/2014'),('Monitor', '02/01/2014')
    ;WITH CTE AS
    SELECT Hardware, LEFT(DATENAME(M, [Date]),3) AS [MonthName] FROM @Input
    SELECT *
    FROM
    SELECT Hardware, [MonthName], COUNT(Hardware) AS Count FROM CTE GROUP BY Hardware, [MonthName]) a
    PIVOT (MAX([Count]) FOR [MonthName] IN ([Jan], [Feb])) pvt
    Please mark as answer, if this has helped you solve the issue.
    Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • How do I program a NI 6602 card to send trigger pulses, one at each output port, triggered by an input trigger signal, using only one counter for each output port?

    Hello,
    I have managed to program a NI 6602 card in LabView to send pulses on three different output ports, one pulse on each output port (with individually chosen delays) for each input trigger pulse coming on a separate input port. It is the DAQmx Create Channel (CO-Pulse Generation-Time)-VI that I have used for this, see attached code. However, this VI controls both pulse delay and pulse width, and therefore uses two counters for each output port (although you only specify one counter in the VI input signals), as I understand.
    In my application though, I only need to have the delay chosen, the pulse width can be arbitrarily short, and thus I should only need one counter for each output port. How do I accomplish to program this in LabView?
    Best regards,
    Claes
    Attachments:
    Configure Side Camera Flash 1 Triggering.vi ‏47 KB

    Well you're welcome to do that--it will work just fine as long as you are configuring a start trigger.
    <rant>
    However, personally I really don't like putting multiple counter outputs in the same task.  I have seen so many people assume that the counter outputs would be synchronized due to having them in the same task when this is not the case (you need to configure a start trigger in order to synchronize the counter outputs even if they are in the same task).  This is the only case I can think of where multiple channels in a DAQmx task are not automatically synchronized.
    As an example:
    Running this on my PCIe X Series gives a measured 2 edge separation of 1 ms + {7.78 us - 10.11 us}.  This would likely be much worse on a bus with more latency (e.g. USB).
    The resulting output is close enough to what you might expect that it might go unnoticed, but really these counter outputs are not synchronized and it would be easy to glance at the code and not even think twice about it.  For the small amount of extra work on my end to create a separate task for each counter, it really clears up some ambiguity about what the counters are actually doing.  For me it's worth it.
    So again, for your case there really isn't a problem with having the counters in the same task since you are using an external start trigger anyway.  I have just gotten in the habit of avoiding doing this.
    </rant>
    Best Regards,
    John Passiak

  • Regarding count for each type Trace entry

    Hi Friends,
    I am using ALV grid Display to display the Result.
    my requirement is to display report with sorting & Count for each entry on a particular field.
    Can anybody give me the idea or smalll code on this Plz...
    Thanks in advance.
    Regards,
    Ravish

    Hi,
    For sorting you can use standard ALV sorting functionality. (Pass the parameter it_sort by filling the sort field name and sort order like up or down(Either one).
    For count you need to keep explicit logic.
    Sample code.
    SORT i_final BY field1. "Your count field criteria.
    LOOP AT i_final INTO wa_final.
    ADD 1 TO l_count.
    AT END OF field1.
    MOVE l_count TO wa_final-count.
    MODIFY i_final FROM wa_final WHERE field1 = wa_final-field1 TRANSPORTING count.
    CLEAR l_count.
    ENDON.
    ENDLOOP.
    Make sure that your count based field is the first field in itab. For displaying the output you can adjust the fieldcat.
    Thanks,
    Vinod.

  • Count for each day

    Hi
    I have a query ,it gives total count of month
    select count(*) from w_srvreq_d where status='Closed' and trunc(close_dt)>'01-may-2003' AND trunc(close_dt)<='31-may-2003'
    COUNT(*)
    82
    I want count for each day
    ex
    date count
    1/5/03 1
    2/5/03 2
    31/5/03 12
    Regards
    Mohan

    Hi
    select count(*) from w_srvreq_d where status='Closed' and trunc(close_dt)>'01-may-2003' AND trunc(close_dt)<='31-may-2003'
    COUNT(*)
    82
    My scnerio is want to join w_day_d and w_srvreq_d dimension and populate in to fact table .This below query populate the data in bt_fault_snapshot_f table,But i want count for each day
    date count sr_cat_type_cd x_bt_current_queue
    1/5/03 1 complaint unspecifie
    2/5/03 2 Fault unspecified
    SELECT dlr.sr_cat_type_cd,
    dlr.x_bt_current_queue,dlr.x_bt_line_of_business ,
    day.snapshot_date AS snapshot_date FROM
    ( SELECT w_day_d.day_dt AS snapshot_date
    FROM (SELECT to_date(nvl(max(date_wid),'20030531'),'yyyymmdd')+1
    AS snapshot_date
         FROM bt_fault_snapshot_f) f ,
         w_day_d , (SELECT CASE WHEN to_number(to_char(sysdate,'hh24')) <18 THEN trunc(sysdate - 1)
                        ELSE trunc(sysdate)
                                       END AS lastdate FROM dual) currdate
                                            WHERE w_day_d.day_dt >= f.snapshot_date
                                            AND w_day_d.day_dt <= currdate.lastdate) day
                                                 , ( SELECT DISTINCT sr_cat_type_cd,x_bt_current_queue,x_bt_line_of_business
                                                      FROM w_srvreq_d) dlr
    Regards
    Mrao

  • Count() for each group, but only groups having 1+ element like... AND all elements like...

    There are tables(and columns) like:
    'Clients'(clientID)
    'Houses' (houseID)
    'Visits' (clientID, houseID, visit_date)
    'Contracts'(contractID, houseID, clientID, rentDate_from, rentDate_end)
    I have problem with writing MS SQL query of this kind:
    how many visits to houses did each client, before renting one of them?
    Its easy to count total number of Visits for each client, listing all visits + group by clientID and selecting count(*) for each group.
    Lets say this is select_1, and select_2 is listing all Contracts for all clients.
    Select_1 is not answer, because count must be performed only on groups, which:
    -have at least 1 row "like" row in select_2 (it means that at least one of visited houses was rented, because it can happen that client visited few houses, but rented other, not visited house). my idea for this is comparing select_1 and select_2 with:
    "where s1.clientID=s2.clientID and s1.houseID=s2.houseID"
    -each group must have all rows(visits) with date of same day or earlier than contract date
     maybe: "datediff(day, s1.visit_date, s2.rentDate_from) >= 0"

    In future, please provide proper DML, DDL and example data, like I have for you below.
    DECLARE @clients TABLE (clientID INT, name VARCHAR(20))
    INSERT INTO @clients (clientID, name)
    VALUES (1, 'Jonathan'),(2, 'Christopher'),(3, 'James'),(4, 'Jean-Luc'),(5, 'William')
    DECLARE @houses TABLE (houseID INT, address VARCHAR(20))
    INSERT INTO @houses (houseID, address)
    VALUES (1, 'NX01'),(2, 'NCC 1701'),(3, 'NCC 1071A'),(4, 'NCC 1701D'),(5, 'NCC 1701E')
    DECLARE @visits TABLE (clientID INT, houseID INT, visitDateTime DATETIME)
    INSERT INTO @visits (clientID, houseID, visitDateTime)
    VALUES (1,1,'2001-01-01 12:13:14'),
    (2,2,'2001-01-02 12:13:14'),
    (3,2,'2001-01-01 12:13:14'),(3,3,'2001-01-01 12:13:14'),
    (4,4,'2001-01-01 12:13:14'),(4,5,'2001-01-01 12:13:14'),
    (5,4,'2001-01-01 12:13:14'),(5,5,'2001-01-01 12:13:14')
    DECLARE @contracts TABLE (contractID INT IDENTITY, houseID INT, clientID INT, rentStartDate date, rentEndDate date)
    INSERT INTO @contracts (houseID, clientID, rentStartDate, rentEndDate)
    VALUES (1,1,'2001-01-02',NULL),(2,2,'2001-01-02',NULL),(3,3,'2001-01-02',NULL),(4,4,'2001-01-02',NULL),(5,5,'2001-01-02',NULL)
    SELECT contractID, c.houseID, c.clientID, rentStartDate, rentEndDate, cl.clientID, name, h.houseID, address, COUNT(v.clientID) AS visits
    FROM @contracts c
    LEFT OUTER JOIN @clients cl
    ON c.clientID = cl.clientID
    LEFT OUTER JOIN @houses h
    ON c.houseID = h.houseID
    LEFT OUTER JOIN @visits v
    ON c.clientID = v.clientID
    AND c.rentStartDate >= v.visitDateTime
    GROUP BY contractID, c.houseID, c.clientID, rentStartDate, rentEndDate, cl.clientID, name, h.houseID, address

  • Display count for each category in sharePoint 2013 blog site

    Hi,
    I have added category list in the left side as web part in SharePoint 2013 blog site.
    Here i want to show the count for each category. And on clicking on the category, it should show the blog posts related to that category.
    Is there any way to do this.
    Please help.
    Thank you.

    Hi Aditi,
    To show item counts on a list, you might need to query the list by title in the navigation menu and retrieve item count in the list, then use CSS to add the number to navigation menu. You need to use Client Object Model and JQuery.
    Here are similar issues:
    http://sharepoint.stackexchange.com/questions/5477/getting-a-count-of-list-items-in-a-list-via-ecmascript
    http://sharepoint.stackexchange.com/questions/18050/how-do-i-get-the-number-of-items-in-a-list
    Regards,
    Rebecca Tu
    TechNet Community Support

  • GETTING COUNTS FOR EACH SSN

    I am doing a report in ORACLE REPORT WRITER. How can I get counts for each SSN. I want to check the last 7 SSNS
    and if the competence codes are different get a count for them. If the fitness codes are different get a count for them. This is for each SSN. Sometimes SSNS may have different competence codes but the fitness codes are the same. I still need counts for the competence codes. Other times the SSNS have different fitness codes but the competence codes are the same and I need counts for the fitness codes. Other times the fitness codes are different and the competence codes are different and I need counts for the fitness codes and counts for the competence codes. Here is a sample of what the report should look like:
    SSN TOTAL TOTAL
    Competence Fitness
    000000111 13 6
    000000222 6 0
    000000333 0 7
    I have everything wrapped up under one count. I don't know to change the query to display 2 separate counts.
    I have used Summary Columns but that does not work.
    I could use 2 separate querys and get counts for competence and fitness respectively but the SSNS would be out of order. The SSNS must be in order.
    Here is the query.
    SELECT DISTINCT T2.IND_SSN, COUNT(*)cnt1
    FROM (SELECT distinct(t.ind_ssn), t.ind_competence_rtg_old, t.ind_competence_rtg_new, ROW_NUMBER()
    OVER (PARTITION BY t.ind_ssn ORDER BY t.IND_SSN ASC, t.ind_er_per_end_dt DESC) rn
    FROM NCOER_JRNL T) t2
    WHERE t2.rn <= 7
    and (t2.ind_competence_rtg_old <> t2.ind_competence_rtg_new)
    GROUP BY T2.IND_SSN
    UNION
    SELECT DISTINCT T2.IND_SSN, COUNT(*)cnt2
    FROM (SELECT distinct(t.ind_ssn), t.ind_FIT_rtg_old, t.ind_FIT_rtg_new, ROW_NUMBER()
    OVER (PARTITION BY t.ind_ssn ORDER BY t.IND_SSN ASC, t.ind_er_per_end_dt DESC) rn
    FROM NCOER_JRNL T) t2
    WHERE t2.rn <= 7
    and (t2.ind_FIT_rtg_old <> t2.ind_FIT_rtg_new)
    GROUP BY T2.IND_SSN
    ORDER BY 1

    Thanks for you reply Ricardo. It does work (but only if select 1 ticket).
    My bad I only posted one Ticket Number. Actually there are lots of them ( as below). Your code take all the tickets as one tickets.
    TicketNumber
    OwningTeam
    Status
    Date
    Team Number
    123
    TEAM 1
    Pick Up
    11/12/2014
    1
    123
    TEAM 1
    Complete
    11/12/2014
    1
    123
    TEAM 2
    Pick Up
    11/12/2014
    2
    123
    TEAM 2
    Complete
    11/12/2014
    2
    123
    TEAM 2
    Resolve
    11/17/2014
    2
    123
    TEAM 2
    Complete
    11/24/2014
    2
    123
    TEAM 2
    Pick Up
    12/8/2014
    2
    123
    TEAM 2
    Complete
    12/9/2014
    2
    123
    TEAM 2
    Provide Info
    12/17/2014
    2
    123
    TEAM 1
    Pick Up
    1/8/2015
    3
    123
    TEAM 1
    Resoved
    1/8/2015
    3
    456
    TEAM 1
    Pick Up
    11/12/2014
    1
    456
    TEAM 1
    Complete
    11/12/2014
    1
    456
    TEAM 2
    Complete
    11/24/2014
    2
    456
    TEAM 2
    Pick Up
    12/8/2014
    2
    456
    TEAM 2
    Complete
    12/9/2014
    2
    456
    TEAM 3
    Pick Up
    12/17/2014
    3
    456
    TEAM 3
    Working
    12/18/2014
    3
    456
    TEAM 1
    Pick Up
    1/8/2015
    4
    456
    TEAM 1
    Resoved
    1/8/2015
    4
    789
    TEAM 1
    Pick Up
    11/12/2014
    1
    789
    TEAM 1
    Complete
    11/12/2014
    1
    789
    TEAM 2
    Complete
    11/24/2014
    2
    789
    TEAM 2
    Pick Up
    12/8/2014
    2
    789
    TEAM 2
    Complete
    12/9/2014
    2
    789
    TEAM 1
    Complete
    12/12/2014
    3
    Any work around is really appreciated.
    Thanks,
    Rajneet

  • Help in finding the total count for each month

    Hello everyone,
    Sometime back I had posted about the date function. I have that problem solved now my problem is that after finding all records which against each record I need to find the total count for that month if no records than I have to set it to a 0.
    Here is how my program has been written.
    PROCEDURE extract_materials
    IS
    CURSOR xyz
    BEGIN
    FOR xyz1 IN xyz LOOP
    -- once inside the loop for each of the record from
    the cursor I need to find a total count for that record for everymonth in the year.
    All these records will be instered in to a staging table
    Can you please help me out with this. I really appreciate this.
    Thanks in advance.
    -Vani

    Andrew - you missed the tricky bit of the spec - include missing months with a zero.
    You need to do an outer join to a select from any big table with a function involving rownum and add_months to generate all the possible months. However, its time to go home and I can't be bothered to work out the finer details.

  • Incorrect Deployed To count for device licensing

    My Deployed To count for device licensing says 22, but I've only deployed it to 6 machines.  Is there a way to see what computers Adobe thinks are using licenses?

    Did you ever get a reply or find an answer to this? I'm “missing” some licenses myself, and there is no information about this. Technical details for sysadmins are sorely lacking.

Maybe you are looking for