Hi. 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? Thank. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100517/75e0402e/attachment.html>
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
good. but this utility is used to view statistics for mounted FS. How can i view statistics for iSCSI shared FS? Thanks. 2010/5/17 Darren J Moffat <darrenm at 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100517/fa979baa/attachment.html>
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 <darrenm at opensolaris.org > <mailto:darrenm at 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 henrik at scannet.dk Tlf. 75 53 35 00 ScanNet Group A/S ScanNet
perfect!
I found info about kstat for Perl.
Where can I find the meaning of each field?
root at 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 <henrik at 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 <darrenm at opensolaris.org
>> <mailto:darrenm at 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
> henrik at scannet.dk
> Tlf. 75 53 35 00
>
> ScanNet Group
> A/S ScanNet
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100517/b7aa9c01/attachment.html>
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> root at 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 <henrik at scannet.dk <mailto:henrik at 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 <darrenm at opensolaris.org > <mailto:darrenm at opensolaris.org> > <mailto:darrenm at opensolaris.org <mailto:darrenm at 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 > henrik at scannet.dk <mailto:henrik at scannet.dk> > Tlf. 75 53 35 00 > > ScanNet Group > A/S ScanNet > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org <mailto:zfs-discuss at opensolaris.org> > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > >-- Med venlig hilsen / Best Regards Henrik Johansen henrik at scannet.dk Tlf. 75 53 35 00 ScanNet Group A/S ScanNet
Good! I found all the necessary information. Thanks. 2010/5/17 Henrik Johansen <henrik at scannet.dk>> 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 > > > root at 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 <henrik at scannet.dk <mailto:henrik at 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 <darrenm at opensolaris.org >> <mailto:darrenm at opensolaris.org> >> <mailto:darrenm at opensolaris.org <mailto:darrenm at 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 >> henrik at scannet.dk <mailto:henrik at scannet.dk> >> >> Tlf. 75 53 35 00 >> >> ScanNet Group >> A/S ScanNet >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org <mailto:zfs-discuss at opensolaris.org> >> >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> >> >> > > -- > Med venlig hilsen / Best Regards > > Henrik Johansen > henrik at scannet.dk > Tlf. 75 53 35 00 > > ScanNet Group > A/S ScanNet >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100517/e1fc958a/attachment.html>