BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{bb} bb-sar.sh seems to be truncating data on some boxes
Hi all,
Found the issue with bb-sar.sh (thanks to truss).
src/bb.h :
#define MAXLINE 10240 /* Static buffer size
for incoming BB message */
moved to
#define MAXLINE 30720 /* Static buffer size
for incoming BB message */
recompiled and it works.
2k should be ok for many boxes. But I have some with many, many SAN
disks.
Nicolas
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Nicolas Dorfsman Tél: 06.7981.4486
Expert UNIX Fax: 06.7981.4485
mailto:ndo@unikservice.com
http://www.unikservice.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
UNIKService est membre
du groupement Opale Group (www.opalegroup.com)
David W Murphy wrote :
Definately something wrong with the disk display.
I would hazard a guess to say that maybe it's a HMTL issue of maybe
a quoting issue in the data string. I will delve a little deeper
and see if I can get the disk data saved off to a file so that I
can see it to see if there is any strange data in it.
Cheers
Dave
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of
FIGARO Nicolas
Sent: 22 June 2005 13:34
To: bb@bb4.com
Subject: RE : RE : {bb} bb-sar.sh seems to be truncating data on
some boxes
could you please try to move the sard -d solaris section in the bb-
sar-sa.sh or bb-sar-up.sh script ?
this will check if the problem comes from the sar -d section.
(but if it's the case, i can't help you further as I don't have
any solaris box here).
N F
-----Message d'origine-----
De : owner-bb@bb4.com [mailto:owner-bb@bb4.com] De la part de
David W Murphy
Envoyé : mercredi 22 juin 2005 13:58
À : bb@bb4.com
Objet : RE: RE : {bb} bb-sar.sh seems to be truncating data on
some boxes
Tried that - didn't make a difference.
Here's what the page looks like. on all the servers. Obviously
the figures are not the same, not the names :-)
isws8 - sar
green Wed Jun 22 11:47:03 GMT 2005 - sar output
[-u] CPU Utilization
SunOS isws8 5.8 Generic_117350-16 sun4u 06/22/05
11:42:00 %usr %sys %wio %idle
11:47:00 96 4 0 0
[-b] Buffer Activity
SunOS isws8 5.8 Generic_117350-16 sun4u 06/22/05
11:42:00 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s
pwrit/s
11:47:00 0 75 100 1 5 85
1 0
[-d] Disk Activity<
Note the < at the end of the Disk Activity line - not sure if
it's significant.
Cheers
Dave
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of
FIGARO Nicolas
Sent: 22 June 2005 10:59
To: bb@bb4.com
Subject: RE : {bb} bb-sar.sh seems to be truncating data on some
boxes
If I remember well there is a max size set to limit bb messages.
check for a MAXLINE entry in bbdef.sh.
try to modify the value and see if it runs well afterwards.
check also the definition in bbd/src/bb.h.
perhaps you'll have to increase the value in bb.h and recompile
to have the whole sar messages.
N F
-----Message d'origine-----
De : owner-bb@bb4.com [mailto:owner-bb@bb4.com] De la part de
David W Murphy
Envoyé : mercredi 22 juin 2005 11:26
À : bb@bb4.com
Objet : {bb} bb-sar.sh seems to be truncating data on some boxes
Guys,
I am using bb-sar.sh to pull back sar data in larrd. I am
having trouble on certain boxes (mostly servers connected to a
SAN or with a lot of disks attached) where the sar output stops
just after the url for Disk Activity.
Any Ideas ?
I'm not sure that is a straight truncation issue as there is
not a lot of data on screen and I don't get the Data Truncated
message.
Any thoughts would be appreciated.
Many Thanks
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index