cvs: phpdoc /nl/functions mysql.xml

From: Date: Sun, 24 Mar 2002 23:47:15 +0000
Subject: cvs: phpdoc /nl/functions mysql.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969343401@lists.php.net to get a copy of this message
manuzhai Sun Mar 24 18:47:15 2002 EDT Modified files: /phpdoc/nl/functions mysql.xml Log: Added mysql_stat. Index: phpdoc/nl/functions/mysql.xml diff -u phpdoc/nl/functions/mysql.xml:1.5 phpdoc/nl/functions/mysql.xml:1.6 --- phpdoc/nl/functions/mysql.xml:1.5 Sun Mar 24 18:27:14 2002 +++ phpdoc/nl/functions/mysql.xml Sun Mar 24 18:47:15 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <reference id="ref.mysql"> <title>MySQL Functies</title> <titleabbrev>MySQL</titleabbrev> @@ -2223,6 +2223,52 @@ </para> </refsect1> </refentry> + + <refentry id="function.mysql-stat"> + <refnamediv> + <refname>mysql_stat</refname> + <refpurpose>Geef huidige systeem status</refpurpose> + </refnamediv> + <refsect1> + <title>Beschrijving</title> + <methodsynopsis> + <type>string</type><methodname>mysql_stat</methodname> + <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam> + </methodsynopsis> + <para> + <function>mysql_stat</function> geeft de huidige server status. + </para> + <note> + <para> + <function>mysql_stat</function> geeft momenteel alleen status voor + uptime, threads, queries, open tabellen, flush tables en queries per seconde. + Voor een complete lijst van andere status variabelen moet je het SHOW STATUS + SQL command gebruiken. + </para> + </note> + <para> + <example> + <title>MySQL stat voorbeeld</title> + <programlisting role="php"> +<![CDATA[ +$link = mysql_connect('localhost', $user, "secret"); +printf("%s\n", mysql_stat($link)); +]]> + </programlisting> + <para> + Het bovenstaande voorbeeld zou de volgende output produceren. + <screen> +<![CDATA[ +Uptime: 5380 Threads: 1 Questions: 1321299 Slow queries: 1 Opens: 26 Flush tables: 1 Open tables: 17 Queries per second avg: 245.595 + +]]> + </screen> + </para> + </example> + </para> + </refsect1> + </refentry> + </reference> </reference> <!-- Keep this comment at the end of the file

« previous php.doc (#969343401) next »