Hi,

I am trying to obtain read/write statistics from our
database (4.0.21).  I started by using the
Bytes_received and Bytes_sent from "show status"; 
however, today one of them (Bytes_sent) reset itself 
to 0...

Which really messes up my calculations...

I need this data... Is there any other way to obtain
it?

I was doing:

$Total_bytes = ( $Bytes_received + $Bytes_sent );
$Percentage_received = ( ( $Bytes_received * 100 ) / \
     $Total_bytes ));

However, it won't work when the counter clears itself.

Is there a way to se that value to unsigned bigint?

Is there any other way?

Beforehand, thank you for your help!


        
                
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to