Iostat graphs
list Kevin Hanrahan
Hi all, Has anyone ever gotten iostat to put any data into the larrd graphs? I get plenty of data for iostat but the graphs are always blank. Anybody got any advice? Thanks KEvin
list Henrik Størner
▸
On Fri, Mar 04, 2005 at 11:39:30AM -0500, Kevin Hanrahan wrote:
Has anyone ever gotten iostat to put any data into the larrd graphs? I get plenty of data for iostat but the graphs are always blank. Anybody got any advice?
Lets see what data you're sending into the iostat handler. Could you do a ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.iostat" and show us the outpu ? If the iostat data is sent as "data" messages (i.e. you dont have an iostat column), then you'll need to snoop the messages going out on the hobbit data-channel: Login as the hobbit user, then run server/bin/bbcmd sh hobbitd_channel --channel=data cat |tee log |grep iostat Wait for a while until an iostat message shows up, then pick it out of the logfile. Regards, Henrik
list Kevin Hanrahan
Here is the output of one of the systems:
dwprod|iostat|green||1109955157|1109956353|1109958153|0|0|10.164.134.32|-1||
green Fri Mar 4 12:19:43 EST 2005
<FONT SIZE=+2><b>Virtual Memory Info</b></FONT> (/usr/bin/vmstat 3 10)
System Configuration: lcpu=4 mem=12288MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
1 2 1742256 221056 0 0 0 57 187 0 1118 11551 2259 13 5 65 17
2 4 1743281 220039 0 0 0 3638 35155 0 1383 21640 1561 28 14 2 56
3 4 1743464 219850 0 0 0 5302 59687 0 1380 32418 2129 30 22 11 36
3 5 1744448 218898 0 0 0 8531 68216 0 2418 9874 2417 14 15 12 59
2 4 1746221 217134 0 0 0 5888 53164 0 1180 56781 1929 28 14 19 39
2 3 1746231 217070 0 0 0 4739 29844 0 894 18563 2034 35 15 14 35
3 2 1746961 216412 0 0 0 6969 42484 0 986 14507 2087 51 26 7 17
2 2 1744307 219070 0 0 0 6787 47050 0 913 16042 1918 49 16 12 24
2 2 1744324 219032 0 0 0 5609 35614 0 797 15220 1527 34 12 24 30
4 2 1744324 219044 0 0 0 5046 28956 0 777 13252 1590 32 11 22 34
&green There's a avg of 2 processes in run queue.
&green There's a avg of 3 blocked processes.
&green There's a avg swap of 0 available.
&green There's a avg of 0 k paged in.
&green There's a avg of 0 k paged out.
&green There's a avg scan rate of 44463 present.
&green There's a avg sys cpu time of 0 percent.
<FONT SIZE=+2><b>Disk I/O Statistics</b></FONT> (/usr/bin/iostat -t 2 5)
System configuration: lcpu=4
tty: tin tout avg-cpu: % user % sys % idle %
iowait
0.3 25.6 12.7 5.5 64.8 17.0
0.0 0.0 32.2 12.1 21.2 34.4
0.0 0.0 22.6 17.2 6.6 53.6
0.0 0.0 34.8 13.8 3.8 47.8
0.0 0.0 37.8 18.8 4.5 38.9
&green There's an avg I/O wait time of 43.
I do get an IOSTAT column with this data in it but the graph at the bottom
has always been blank.
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, March 04, 2005 11:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Iostat graphs
On Fri, Mar 04, 2005 at 11:39:30AM -0500, Kevin Hanrahan wrote:Has anyone ever gotten iostat to put any data into the larrd graphs? I get plenty of data for iostat but the graphs are always blank. Anybody got any advice?
Lets see what data you're sending into the iostat handler. Could you do a ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.iostat" and show us the outpu ? If the iostat data is sent as "data" messages (i.e. you dont have an iostat column), then you'll need to snoop the messages going out on the hobbit data-channel: Login as the hobbit user, then run server/bin/bbcmd sh hobbitd_channel --channel=data cat |tee log |grep iostat Wait for a while until an iostat message shows up, then pick it out of the logfile. Regards, Henrik
Note: The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited. The recipient should check this email and
any attachments for the presence of viruses. Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer. This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you. NOVA Information Systems, Inc.
list Henrik Størner
▸
On Fri, Mar 04, 2005 at 12:24:37PM -0500, user-fd47fec4b039@xymon.invalid wrote:
Here is the output of one of the systems:
This doesn't look like the iostat output from the LARRD bf-iostat.sh script. More like something from the vmio script, but not quite. So it's quite understandable that you don't get any graphs, because this is an input format that is simply not recognized. If you can point me to the script you're using and some of the data you want to graph, I'll see if I can come up with something. But much of the data should already be available if you have the vmstat graphs (particularly the vmstat "wa" column for how much cpu time is spent in i/o wait). Henrik
list Kevin Hanrahan
You might be right...I honestly don't remember which one is on that particular server. I have had problems getting a single I/O script to work consistently across all our *NIX platforms (solaris, linux, and aix....maybe SCO someday) so I am really just looking for a good I/O tool that works cross-platform...and the graphs would be a major bonus too. Suggestions? Kevin
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, March 04, 2005 1:32 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Iostat graphs
On Fri, Mar 04, 2005 at 12:24:37PM -0500, user-fd47fec4b039@xymon.invalid wrote:Here is the output of one of the systems:
This doesn't look like the iostat output from the LARRD bf-iostat.sh script. More like something from the vmio script, but not quite. So it's quite understandable that you don't get any graphs, because this is an input format that is simply not recognized. If you can point me to the script you're using and some of the data you want to graph, I'll see if I can come up with something. But much of the data should already be available if you have the vmstat graphs (particularly the vmstat "wa" column for how much cpu time is spent in i/o wait). Henrik Note: The information contained in this email and in any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. The recipient should check this email and any attachments for the presence of viruses. Sender accepts no liability for any damages caused by any virus transmitted by this email. If you have received this email in error, please notify us immediately by replying to the message and delete the email from your computer. This e-mail is and any response to it will be unencrypted and, therefore, potentially unsecure. Thank you. NOVA Information Systems, Inc.