On 05/17/10 03:05 PM, eXeC001er wrote:
perfect!

I found info about kstat for Perl.

Where can I find the meaning of each field?

Most of them can be found here under the section "I/O kstat" :

http://docs.sun.com/app/docs/doc/819-2246/kstat-3kstat?a=view


r...@atom:~# kstat stmf:0:stmf_lu_io_ffffff00d1c2a8f8
1274100947
module: stmf                            instance: 0
name:   stmf_lu_io_ffffff00d1c2a8f8     class:    io
         crtime                          2333040.65018394
         nread                           9954962
         nwritten                        5780992
         rcnt                            0
         reads                           599
         rlastupdate                     2334856.48028583
         rlentime                        2.792307252
         rtime                           2.453258966
         snaptime                        2335022.3396771
         wcnt                            0
         wlastupdate                     2334856.43951113
         wlentime                        0.103487047
         writes                          510
         wtime                           0.069508209

2010/5/17 Henrik Johansen <hen...@scannet.dk <mailto:hen...@scannet.dk>>

    Hi,


    On 05/17/10 01:57 PM, eXeC001er wrote:

        good.
        but this utility is used to view statistics for mounted FS.
        How can i view statistics for iSCSI shared FS?


    fsstat(1M) relies on certain kstat counters for it's operation -
    last I checked I/O against zvols does not update those counters.

    It your are using newer builds and COMSTAR you can use the stmf
    kstat counters to get I/O details per target and per LUN.

        Thanks.

        2010/5/17 Darren J Moffat <darr...@opensolaris.org
        <mailto:darr...@opensolaris.org>
        <mailto:darr...@opensolaris.org <mailto:darr...@opensolaris.org>>>


            On 17/05/2010 12:41, eXeC001er wrote:

                I known that i can view statistics for the pool (zpool
        iostat).
                I want to view statistics for each file system on pool.
        Is it
                possible?


            See fsstat(1M)

            --
            Darren J Moffat




    --
    Med venlig hilsen / Best Regards

    Henrik Johansen
    hen...@scannet.dk <mailto:hen...@scannet.dk>
    Tlf. 75 53 35 00

    ScanNet Group
    A/S ScanNet
    _______________________________________________
    zfs-discuss mailing list
    zfs-discuss@opensolaris.org <mailto:zfs-discuss@opensolaris.org>
    http://mail.opensolaris.org/mailman/listinfo/zfs-discuss




--
Med venlig hilsen / Best Regards

Henrik Johansen
hen...@scannet.dk
Tlf. 75 53 35 00

ScanNet Group
A/S ScanNet
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to