Oracle 5.0 Reference Manual page 304

Table of Contents

Advertisement

mysqladmin
version
Display version information from the server.
All commands can be shortened to any unique prefix. For example:
shell>
mysqladmin proc stat
+----+-------+-----------+----+---------+------+-------+------------------+
| Id | User
| Host
+----+-------+-----------+----+---------+------+-------+------------------+
| 51 | monty | localhost |
+----+-------+-----------+----+---------+------+-------+------------------+
Uptime: 1473624
Threads: 1
Slow queries: 0
Opens: 541
Open tables: 19
Queries per second avg: 0.0268
The
mysqladmin status
[534]
Uptime
The number of seconds the MySQL server has been running.
Threads
The number of active threads (clients).
[530]
Questions
The number of questions (queries) from clients since the server was started.
Slow queries
The number of queries that have taken more than
Section 5.2.4, "The Slow Query
Opens
The number of tables the server has opened.
Flush tables
The number of flush-*, refresh, and
Open tables
The number of tables that currently are open.
Memory in use
The amount of memory allocated directly by mysqld. This value is displayed only when MySQL has
been compiled with
--with-debug=full
Maximum memory used
The maximum amount of memory allocated directly by mysqld. This value is displayed only when
MySQL has been compiled with
If you execute
mysqladmin shutdown
waits until the server's process ID file has been removed, to ensure that the server has
mysqladmin
stopped properly.
supports the following options, which can be specified on the command line or in the
mysqladmin
and
[mysqladmin]
[client]
— Client for Administering a MySQL Server
| db | Command | Time | State | Info
| Query
| 0
Questions: 39487
Flush tables: 1
command result displays the following values:
Log".
reload
[122].
--with-debug=full
when connecting to a local server using a Unix socket file,
groups of an option file.
284
|
| show processlist |
long_query_time
commands the server has executed.
[122].
also supports the options for
mysqladmin
|
[465]
seconds. See

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents