Re: Question on io monitoring tools such as gstat and iostat

2012-08-29 Thread Daniel Braniss
 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!

danny


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: Question on io monitoring tools such as gstat and iostat

2012-08-29 Thread Andrey Zonov
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



signature.asc
Description: OpenPGP digital signature


Question on io monitoring tools such as gstat and iostat

2012-08-28 Thread Andy Young
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?

Thanks!

Andy
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: Question on io monitoring tools such as gstat and iostat

2012-08-28 Thread Andrey Zonov
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?
 

Yes, you are right.  For more information you can read devstat(3) or
sources in src/lib/libdevstat/devstat.c.

-- 
Andrey Zonov



signature.asc
Description: OpenPGP digital signature


Re: Question on io monitoring tools such as gstat and iostat

2012-08-28 Thread Andrew Young
Thanks Andrey!

Sent from my iPhone

On Aug 28, 2012, at 1:42 PM, Andrey Zonov z...@freebsd.org wrote:

 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?
 
 
 Yes, you are right.  For more information you can read devstat(3) or
 sources in src/lib/libdevstat/devstat.c.
 
 -- 
 Andrey Zonov
 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org