Try more stuff as code

This commit is contained in:
counterpoint
2015-01-28 16:41:30 +00:00
parent 044f0808e9
commit 278fff60d8

View File

@ -93,21 +93,21 @@ It is possible to use the maxadmin command to obtain statistics regarding the se
$ maxadmin -pskysql $ maxadmin -pskysql
MaxScale> list services MaxScale> list services
Services. Services.
--------------------------+----------------------+--------+--------------- --------------------------+----------------------+--------+---------------
Service Name | Router Module | #Users | Total Sessions Service Name | Router Module | #Users | Total Sessions
--------------------------+----------------------+--------+--------------- --------------------------+----------------------+--------+---------------
RWSplitter | readwritesplit | 2 | 4 RWSplitter | readwritesplit | 2 | 4
Cassandra | readconncouter | 1 | 1 Cassandra | readconncouter | 1 | 1
CLI | cli | 2 | 2 CLI | cli | 2 | 2
--------------------------+----------------------+--------+--------------- --------------------------+----------------------+--------+---------------
MaxScale> MaxScale>
@ -120,17 +120,17 @@ To determine what client are currently connected to MaxScale you can use the "li
$ maxadmin -pskysql list clients $ maxadmin -pskysql list clients
Client Connections Client Connections
-----------------+------------------+----------------------+------------ -----------------+------------------+----------------------+------------
Client | DCB | Service | Session Client | DCB | Service | Session
-----------------+------------------+----------------------+------------ -----------------+------------------+----------------------+------------
127.0.0.1 | 0x7fe694013410 | CLI | 0x7fe69401ac10 127.0.0.1 | 0x7fe694013410 | CLI | 0x7fe69401ac10
-----------------+------------------+----------------------+------------ -----------------+------------------+----------------------+------------
$ $
@ -161,7 +161,7 @@ missingok
nocompress nocompress
sharedscripts sharedscripts
postrotate postrotate
# run if maxscale is running \# run if maxscale is running
if test -n "`ps acx|grep maxscale`"; then if test -n "`ps acx|grep maxscale`"; then
/usr/local/skysql/maxscale/bin/maxadmin -pskysql flush logs /usr/local/skysql/maxscale/bin/maxadmin -pskysql flush logs
fi fi