From 603d9730b6f5f52e68155bc94e767848cd0e270c Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sun, 24 Mar 2002 10:53:30 +0000 Subject: [PATCH] documentation for new functions: mysql_stat and mysql_list_processes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@74999 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/mysql.xml | 95 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 94 insertions(+), 1 deletion(-) diff --git a/functions/mysql.xml b/functions/mysql.xml index 1684a8f4f9..175d0bd2d3 100644 --- a/functions/mysql.xml +++ b/functions/mysql.xml @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -1670,6 +1670,54 @@ field3 + + + mysql_list_processes + List MySQL processes + + + Description + + resourcemysql_list_processes + resource + link_identifier + + + + mysql_list_processes returns a result pointer + describing the current server threads. + + + + <function>mysql_list_processes</function> example + + + + + The above example would produce the following output: + + + + + + + + + mysql_list_tables @@ -2226,6 +2274,51 @@ for ($i = 0; $i < mysql_num_rows($result); $i++) { + + + + mysql_stat + Get current system status + + + Description + + stringmysql_stat + resourcelink_identifier + + + mysql_stat returns the current server status. + + + + mysql_stat currently only returns status for uptime, + threads, queries, open tables, flush tables and queris per second. For a + complete list of other status variables you have to use the SHOW STATUS + sql command. + + + + + <function>mysql_stat</function> example + + + + + The above example would produce the following output: + + + + + + + +