The "bo" column, block out, is described in the man page as being blocks
per second. I believe the blocks are 512 bytes.
Okay; but then I used SNMP to fetch 1.3.6.1.4.1.2021.11.57.0
(ssIORawSent). That's an incrementing counter of blocks sent. I'm
fetching it every 10 seconds, same as before.
The first column is the counter; the second column is the difference
between them divided by the actual number of seconds elapsed (i.e. it
tries to correct for imprecisions in the sleep; though in fact when I
monitored that, it was hitting the exact second consistently), i.e, the
second column is blocks per second. And the third column is bytes per
second based on a 512-byte block.
You'll note that the blocks per second figures are not compatible with the
blocks per second figures from vmstat.
These two sets of numbers overlap, and the numbers before and after are
similar.
So what's up with that ?
(Here's my monitoring code that produced the second set of figures, in
case I did something dumb-ass:
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-07-2011, 04:51 PM
Rajagopal Swaminathan
Monitoring IO -- vmstat doesn't match snmp
Greetings,
On Mon, Nov 7, 2011 at 10:23 PM, David Dyer-Bennet <dd-b@dd-b.net> wrote:
> I made the mistake of looking at disk IO numbers in two different ways --
> now I'm confused, because they give inconsistent answers.
>
> First way was using 'vmstat 10'. *This gave me (apologies for wrapped lines):
>
BTW, did you try:
1. monitor command
2. Zabbix -- well, It may require upgrade of PHP and whatnot.
--
Regards,
Rajagopal
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Mon Nov 7 20:30:03 2011
Return-path: <centos-bounces@centos.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Mon, 07 Nov 2011 19:54:10 +0200
Received: from mail.centos.org ([72.26.200.202]:37286)
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <centos-bounces@centos.org>)
id 1RNTOc-0007N3-Or
for tom@linux-archive.org; Mon, 07 Nov 2011 19:54:10 +0200
Received: from mail.centos.org (voxeldev.centos.org [127.0.0.1])
by mail.centos.org (Postfix) with ESMTP id 42BC26F88C;
Mon, 7 Nov 2011 12:54:13 -0500 (EST)
X-Original-To: centos@centos.org
Delivered-To: centos@centos.org
Received: from carmen.lorenzomartinez.es
(36.Red-88-12-11.staticIP.rima-tde.net [88.12.11.36])
by mail.centos.org (Postfix) with ESMTP id 51C446F88C
for <centos@centos.org>; Mon, 7 Nov 2011 12:54:12 -0500 (EST)
Received: (qmail 10282 invoked by uid 7797); 7 Nov 2011 17:54:11 -0000
Received: from 192.168.52.133 by Carmen (envelope-from
<lorenzo@lorenzomartinez.es>, uid 500) with qmail-scanner-2.08
(clamdscan: 0.97.2/13407. Clear:RC:1(192.168.52.133):.
Processed in 0.016256 secs); 07 Nov 2011 17:54:11 -0000
Received: from unknown (HELO LawBook.local) (192.168.52.133)
by Carmen with (DHE-RSA-CAMELLIA256-SHA encrypted) SMTP;
7 Nov 2011 17:54:11 -0000
Message-ID: <4EB81B47.6070605@lorenzomartinez.es>
Date: Mon, 07 Nov 2011 18:54:15 +0100
From: =?UTF-8?B?TG9yZW56byBNYXJ0w61uZXogUm9kcsOtZ3Vleg==? <lorenzo@lorenzomartinez.es>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6;
rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: CentOS mailing list <centos@centos.org>
References: <CAN3WU4gd9nqeiU=kUBzFPLmQ3UXrCo_eDEKQmELGMX4MydzQ Ew@mail.gmail.com>
<536171317105863@web8.yandex.ru>
<CAN3WU4i68_=GyyTLj1XOv2bEU9hteSkLQeXVUWK77Q2mFCht ug@mail.gmail.com>
<444321317110379@web116.yandex.ru>
<CAN3WU4jYiPjk1dsEuZEM5Rw8Eh1Cs1fb3OM7-ktTAnvmyXJUQw@mail.gmail.com>
<545641317115215@web109.yandex.ru>
<CAN3WU4i4fhDB3a29CBQ0FP9Kvd8vSR7WX5KxL87gXhM8KNYS bQ@mail.gmail.com>
<831211317117675@web153.yandex.ru>
<CAN3WU4juVN+vB9EYU7r7f5xgB8Jhj_f+9zK9J8vXB2kKQT1g fg@mail.gmail.com>
<242331320423980@web6.yandex.ru>
<CAN3WU4jzA53YpFCy83dTDdio9tt6Pqx02j20a4s-8G2PGEKfzw@mail.gmail.com>
In-Reply-To: <CAN3WU4jzA53YpFCy83dTDdio9tt6Pqx02j20a4s-8G2PGEKfzw@mail.gmail.com>
Subject: Re: [CentOS] openvpn + bridge utils in CentOS 6
X-BeenThere: centos@centos.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: CentOS mailing list <centos@centos.org>
List-Id: CentOS mailing list <centos.centos.org>
List-Unsubscribe: <http://lists.centos.org/mailman/listinfo/centos>,
<mailto:centos-request@centos.org?subject=unsubscribe>
List-Archive: <http://lists.centos.org/pipermail/centos>
List-Post: <mailto:centos@centos.org>
List-Help: <mailto:centos-request@centos.org?subject=help>
List-Subscribe: <http://lists.centos.org/mailman/listinfo/centos>,
<mailto:centos-request@centos.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: centos-bounces@centos.org
Errors-To: centos-bounces@centos.org
On Mon, November 7, 2011 11:51, Rajagopal Swaminathan wrote:
> Greetings,
>
> On Mon, Nov 7, 2011 at 10:23 PM, David Dyer-Bennet <dd-b@dd-b.net> wrote:
>> I made the mistake of looking at disk IO numbers in two different ways
>> --
>> now I'm confused, because they give inconsistent answers.
>>
>> First way was using 'vmstat 10'. *This gave me (apologies for wrapped
>> lines):
>>
>
> BTW, did you try:
> 1. monitor command
> 2. Zabbix -- well, It may require upgrade of PHP and whatnot.
No, I haven't. I view my problem as being TOO MANY different sources to
begin with :-).
Sounds like zabbix is out -- no PHP or Web server on the system involved,
and I can't install one (in-service production box).
I've never heard of a "monitor" command for unix, and there isn't one on
this Centos installation. I'm open to persuasion here. And I haven't
looked into whether this info is directly accessible in the proc
filesystem or something yet either.
--
David Dyer-Bennet, dd-b@dd-b.net; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-07-2011, 06:23 PM
Rajagopal Swaminathan
Monitoring IO -- vmstat doesn't match snmp
Greetings,
On Tue, Nov 8, 2011 at 12:40 AM, David Dyer-Bennet <dd-b@dd-b.net> wrote:
>
> On Mon, November 7, 2011 11:51, Rajagopal Swaminathan wrote:
>> Greetings,
>>
>> On Mon, Nov 7, 2011 at 10:23 PM, David Dyer-Bennet <dd-b@dd-b.net> wrote:
>>> I made the mistake of looking at disk IO numbers in two different ways
>>> --
>>> now I'm confused, because they give inconsistent answers.
> No, I haven't. *I view my problem as being TOO MANY different sources to
> begin with :-).
>
> I've never heard of a "monitor" command for unix, and there isn't one on
> this Centos installation. *I'm open to persuasion here. *And I haven't
> looked into whether this info is directly accessible in the proc
> filesystem or something yet either.
Perhaps a yum install monitor would give you a cure.
HTH.
--
Regards,
Rajagopal
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-07-2011, 06:43 PM
"David Dyer-Bennet"
Monitoring IO -- vmstat doesn't match snmp
On Mon, November 7, 2011 13:23, Rajagopal Swaminathan wrote:
> Greetings,
>
> On Tue, Nov 8, 2011 at 12:40 AM, David Dyer-Bennet <dd-b@dd-b.net> wrote:
>>
>> On Mon, November 7, 2011 11:51, Rajagopal Swaminathan wrote:
>>> Greetings,
>>>
>>> On Mon, Nov 7, 2011 at 10:23 PM, David Dyer-Bennet <dd-b@dd-b.net>
>>> wrote:
>>>> I made the mistake of looking at disk IO numbers in two different ways
>>>> --
>>>> now I'm confused, because they give inconsistent answers.
>> No, I haven't. *I view my problem as being TOO MANY different sources to
>> begin with :-).
>>
>> I've never heard of a "monitor" command for unix, and there isn't one on
>> this Centos installation. *I'm open to persuasion here. *And I haven't
>> looked into whether this info is directly accessible in the proc
>> filesystem or something yet either.
>
> Perhaps a yum install monitor would give you a cure.
>
> HTH.
[ddb@prc-mn-lnx01 dev]$ sudo yum install monitor
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sanctuaryhost.com
* centosplus: mirrors.gigenet.com
* epel: mirrors.servercentral.net
* extras: mirrors.serveraxis.net
* rpmforge: ftp-stud.fht-esslingen.de
* updates: mirror.team-cymru.org
Setting up Install Process
No package monitor available.
Nothing to do
No, doesn't help.
Also, if you're claiming that the answers I get from monitor would be
correct, I'd like to understand why you think that set will be right in
preference to vmstat and snmp.
Or is it just that that's the package you're comfortable with?
--
David Dyer-Bennet, dd-b@dd-b.net; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-07-2011, 06:54 PM
Rajagopal Swaminathan
Monitoring IO -- vmstat doesn't match snmp
Greetings,
On Tue, Nov 8, 2011 at 1:13 AM, David Dyer-Bennet <dd-b@dd-b.net> wrote:
>
> No, doesn't help.
>
> Also, if you're claiming that the answers I get from monitor would be
> correct, I'd like to understand why you think that set will be right in
> preference to vmstat and snmp.
>
> Or is it just that that's the package you're comfortable with?
I have never been comfortable with monitor as I was compelled to have
"GUI" for a monitoring system on which I worked on about a year back
and I found Zabbic to be enough.
I do not have a Centos 5.x box in front of me right now, but I will
try to answer your question tomorrow. It is 0120hrs IST, and right
now and I gotta get some sleep.
g'night. Bye.
We Centos guys too need some sleep. right?
--
Regards,
Rajagopal
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos