Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 12:20:52 +0400
From:      Andrey Zonov <zont@FreeBSD.org>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers@freebsd.org, Andy Young <ayoung@mosaicarchive.com>
Subject:   Re: Question on io monitoring tools such as gstat and iostat
Message-ID:  <503DD0E4.90000@FreeBSD.org>
In-Reply-To: <E1T6dJJ-000Ljx-F7@kabab.cs.huji.ac.il>
References:  <CAHMRaQcmY_oEvMGKXYtkEU%2Bt7LrSogFT3AbakrRxHakKabNhwg@mail.gmail.com> <503D0308.70109@FreeBSD.org> <E1T6dJJ-000Ljx-F7@kabab.cs.huji.ac.il>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 8/29/12 12:07 PM, Daniel Braniss wrote:
>> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
>> --------------enigCDF012FCB4FC78B4732FDA45
>> Content-Type: text/plain; charset=ISO-8859-1
>> Content-Transfer-Encoding: quoted-printable
>>
>> On 8/28/12 3:14 PM, Andy Young wrote:
>>> I am relatively new to using IO monitoring tools and wanted to confirm =
>> I
>>> understand them correctly. If I specify an interval of 5 seconds, my
>>> assumption is that the data displayed is an average over that 5 second
>>> interval. Is that correct or am I misunderstanding how intervals work?
>>> =20
>>
>> Yes, you are right.  For more information you can read devstat(3) or
>> sources in src/lib/libdevstat/devstat.c.
> 
> netstat does not!
> 

And you are right, but the question was about gstat(8) and iostat(8).
They print units per second, unlike netstat(1), it prints only units
without "per".

-- 
Andrey Zonov


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJQPdDkAAoJEBWLemxX/CvTsccH/R8obeXeDpc2/aP8m1peVlBQ
S+3Rp9Ej4stqbrnAZzlqlzchVvBXnXZgZpkt5aeTM7pyazHOmujOOX1U1Qw+8n/U
SJ4iNrko4jk/C5VHGgWAxDQVMtv0FTeKRETlnBX346NAM40KxelsZhN0BKv+m1tk
7e93urvpBBL9WarLF+0+dfaeB8i19kyqT1m6OJTVY3f/7MV5VxlbbkJXvmpF/tgr
TGAaMn0LlEckkN6TQzuWPTzUNkaRdiiaRUOcK9eeJZRX/qEwueno5UppXX27ZFhr
Nachxzdjy8KxNDlfGea1O3VL3miKoCG1qFkrcnoLx+XMzXteLuUw3pvbAJqZvXM=
=tiK0
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503DD0E4.90000>