From 208a9277384beb7d8290f14c8800fed4730c6d2e Mon Sep 17 00:00:00 2001 From: "Chuck Hawley (ladmin - chuck)" Date: Wed, 4 Nov 2015 13:35:00 -0500 Subject: [PATCH] Updated README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index e8ef6d4..1fe9f81 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ +
linux
+
mysql
# mysqlstatus + Bash script that allows you to peek at non-root user actions on a Percona MySQL database. (may work with MariaDB) + +Requires user_statistics enabled ( `userstat=1` under \[mysqld\] in `/etc/my.cnf`) + +Also accounts for databases on non-standard ports: + +USAGE: + +Peek at instance on default port with a refresh of .5s + + mysqlstatus.sh + +Peek at instance on default port with a refresh of .25s + + mysqlstatus.sh 3306 .25 + +Peek at instance on port 3317 with a refresh of 1s + + mysqlstatus.sh 3317 1