![]() |
|
(PHP 5)
mysqli_stat(no version information, might be only in CVS)
mysqli->stat -- Obtiene el estado actual del sistemaEstilo por procedimientos:
mixto mysqli_stat ( mysqli identificador_de_enlace )Estilo orientado a objetos (método):
class mysqli {mysqli_stat() regresa una cadena conteniendo información similar a la proveida por el comando 'mysqladmin status'. Esto incluye el tiempo total activo del servidor en segundos y en número de procesos ejecutandose, preguntas, recargas y tablas abiertas.
El resultado del ejemplo seria:
System status: Uptime: 272 Threads: 1 Questions: 5340 Slow queries: 0 Opens: 13 Flush tables: 1 Open tables: 0 Queries per second avg: 19.632 Memory in use: 8496K Max memory used: 8560K |
Hosting by: hurra.com
Generated: 2007-01-26 18:01:03