FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 11-07-2011, 03:53 PM
"David Dyer-Bennet"
 
Default Monitoring IO -- vmstat doesn't match snmp

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):

r b swpd free buff cache si so bi bo in cs us sy id
wa st
2 0 2162944 4071928 162444 4218456 0 0 0 286 1103 528 3 2
95 0 0
1 0 2162944 4071976 162448 4218440 0 0 0 301 1102 548 2 4
95 0 0
2 0 2162944 4074488 162456 4218448 0 0 0 252 1097 501 1 4
96 0 0
2 0 2162944 4081572 162480 4218508 0 0 0 430 1145 1006 2 3
95 0 0
2 0 2162944 4079340 162488 4218508 0 0 0 354 1148 604 2 3
95 0 0
1 0 2162944 4082604 162492 4218512 0 0 0 258 1105 446 1 4
96 0 0
1 0 2162944 4084052 162500 4218520 0 0 0 300 1101 482 1 4
95 0 0
1 0 2162944 4080652 162500 4218536 0 0 0 393 1118 585 1 3
95 0 0
1 0 2162944 4081160 162500 4218536 0 0 0 304 1100 462 0 4
95 0 0
1 0 2162944 4075636 162508 4218536 0 0 0 214 1132 397 0 4
96 0 0
3 0 2162944 4081640 162516 4218540 0 0 0 332 1111 554 2 3
94 0 0
1 0 2162944 4075104 162516 4218552 0 0 0 382 1179 566 2 3
95 0 0

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.

3,204,124,952 1,603 820,736
3,204,139,960 1,500 768,000
3,204,155,848 1,588 813,056
3,204,164,600 875 448,000
3,204,184,536 1,993 1,020,416
3,204,194,184 964 493,568
3,204,204,040 896 458,752
3,204,218,696 1,465 750,080
3,204,235,224 1,652 845,824

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:

#! /bin/bash
set -e

HOST=prcapp01
secs=10
lbc=0
lts=0

echo "blockcount bl/sec bytes/sec"
while true; do
bc=$( snmpget -v 2c -c xxx $HOST 1.3.6.1.4.1.2021.11.57.0 | cut -d' '
-f4 )
ts=$( date +%s )
if [[ $lbc > 0 ]]; then
(( bsec = ( bc - lbc ) / ( ts - lts ) ))
(( bytes = bsec * 512 ))
#echo $lbc $bc $bsec $bytes $lts $ts
printf "%'12d %'7d %'10d
" $bc $bsec $bytes
fi
lbc="$bc"
lts="$ts"
sleep $secs
done

I have obfuscated the read-only community name.)

--
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
 
Old 11-07-2011, 04:51 PM
Rajagopal Swaminathan
 
Default 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

CkhlbGxvLAoKSSBkaWQgbm90IGhhdmUgcmVhZCB0aGlzIGlzc3 VlIGJlZm9yZSwgYnV0IEkgaGF2
ZSBzZWVuIHRoaXMgcHJvYmxlbSAKYWxzby4gV2hlbmV2ZXIgSS ByZXN0YXJ0IHRoZSBicmlkZ2Ug
KHdpdGggdGFwMCBpbnRlcmZhY2VzIGFsc28pIEkgaGF2ZSA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WFpbG1hbi9saXN0aW5mby9jZW50b3MKPj4KPg o+CgoKLS0gCgoKTG9yZW56byBN
YXJ0aW5leiBSb2RyaWd1ZXoKClZpc2l0IG1lOiAgIGh0dHA6Ly 93d3cubG9yZW56b21hcnRpbmV6
LmVzCk1haWwgbWUgdG86IGxvcmVuem9AbG9yZW56b21hcnRpbm V6LmVzCk15IGJsb2c6IGh0dHA6
Ly93d3cuc2VjdXJpdHlieWRlZmF1bHQuY29tCk15IHR3aXR0ZX I6IEBsYXd3YWl0ClBHUCBGaW5n
ZXJwcmludDogOTdDQyAyNTg0IDdBMDQgQjJCQSAwMEYxIDc2Qz kgMEQ3NiA4M0EyIDlCQkMgQkRF
MgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX1 9fX19fX19fX19fX18KQ2VudE9T
IG1haWxpbmcgbGlzdApDZW50T1NAY2VudG9zLm9yZwpodHRwOi 8vbGlzdHMuY2VudG9zLm9yZy9t
YWlsbWFuL2xpc3RpbmZvL2NlbnRvcwo
 
Old 11-07-2011, 06:10 PM
"David Dyer-Bennet"
 
Default Monitoring IO -- vmstat doesn't match snmp

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
 
Old 11-07-2011, 06:23 PM
Rajagopal Swaminathan
 
Default 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
 
Old 11-07-2011, 06:43 PM
"David Dyer-Bennet"
 
Default 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
 
Old 11-07-2011, 06:54 PM
Rajagopal Swaminathan
 
Default 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
 

Thread Tools




All times are GMT. The time now is 01:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org