<div>Dear mrtg Group:</div>  <div>&nbsp;</div>  <div>I am using a script to graph IO Wait time on my database server. It works i am sampling the 2 and 3 sec interval from top. </div>  <div>&nbsp;</div>  <div>However, I want to add the 4 and 5 sec sample to my graph how can i do this?</div>  <div>&nbsp;</div>  <div>Target[io_mysql]: `/usr/bin/ssh&nbsp;database server&nbsp;/usr/local/nagios/libexec/io_mrtg.sh`<BR>Options[io_mysql]: nopercent,growright,gauge,noinfo<BR>Title[io_mysql]:&nbsp; IO Wait Times for AA-MySQL<BR>PageTop[io_mysql]: &lt;h1&gt;IO Wait Times for AA-MySQL&lt;/h1&gt;<BR>MaxBytes[io_mysql]: 8000000<BR>YLegend[io_mysql]: IO Wait Times for AA-MySQL<BR>ShortLegend[io_mysql]: IO Wait Times for AA-MySQL<BR>LegendI[io_mysql]: 2 Second<BR>LegendO[io_mysql]: 3 second<BR>Colours[io_mysql]: BLUE#1000ff,VIOLET#ff00ff,RED#bb0000,GREEN#006600<BR></div>  <div>this is whats in io_mrtg.sh</div>  <div>#!/bin/sh<BR>TERM=linux<BR>export TERM<BR>top -b -n3 |grep "wa,"|awk
 '{print $10}'|awk '{sub(/%/, "");print}'|awk '{sum = $1 * 100; print sum}'|sed '1d'</div>  <div>&nbsp;</div>  <div>it outputs like so<BR>710<BR>270<BR></div>  <div>I want to change it to this...</div>  <div>&nbsp;top -b -n5 |grep "wa,"|awk '{print $10}'|awk '{sub(/%/, "");print}'|awk '{sum = $1 * 100; print sum}'|sed '1d'<BR>320<BR>170<BR>230<BR>40</div>  <div>&nbsp;</div>  <div>and graph all four values on the same graph,</div>  <div>&nbsp;</div>  <div>please advise thanks...</div>  <div>&nbsp;</div>  <div>-Eric<BR></div><p>&#32;
      <hr size=1><a href="http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50">Pinpoint customers </a>who are looking for what you sell.