string mysql_stat ([ resource $link_identifier ] )
mysql_stat() returns the current server status.
Returns a string with the status for uptime, threads, queries, open tables, flush tables and queries per second. For a complete list of other status variables, you have to use the SHOW STATUS SQL command. If link_identifier is invalid, NULL is returned.