mysql_stat

PHP 4 >= 4.3.0, PHP 5
mysql_stat - Get current system status
Manual
Code Examples

Example #1 mysql_stat example

Result: Array ( [0] => Uptime: 5380 [1] => Threads: 2 [2] => Questions: 1321299 [3] => Slow queries: 0 [4] => Opens: 26 [5] => Flush tables: 1 [6] => Open tables: 17 [7] => Queries per second avg: 245.595 )
PHP Version:

Example #2 Alternative mysql_stat example

Result: back_log = 50 basedir = /usr/local/ bdb_cache_size = 8388600 bdb_log_buffer_size = 32768 bdb_home = /var/db/mysql/ bdb_max_lock = 10000 bdb_logdir = bdb_shared_data = OFF bdb_tmpdir = /var/tmp/ ...
PHP Version: