From 22b9be6e17f9ae78c7bff19696ce9da44d6c8189 Mon Sep 17 00:00:00 2001 From: Simon J Mudd Date: Wed, 10 Dec 2014 13:05:17 +0100 Subject: [PATCH] Update version and docs a tiny bit --- README.md | 7 ++++--- keys.txt | 5 +++-- screen/screen.go | 2 +- version/version.go | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index df5651b..37b1395 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,11 @@ pstop - a top-like program for MySQL pstop is a program which collects information from MySQL 5.6+'s performance_schema database and uses this information to display server -load in real-time. This should also work for MariaDB 10.0 though I -have not tested this at all. Data is shown by table or filename and the +load in real-time. Data is shown by table or filename and the metrics also show how this is split between select, insert, update or -delete activity. +delete activity. User activity is now shown showing the number of +different hosts that connect with the same username and the actiity +of those users. This program was started as a simple project to allow me to learn go, which I'd been following for a while, but hadn't used in earnest. This diff --git a/keys.txt b/keys.txt index 50563c6..a3e899a 100644 --- a/keys.txt +++ b/keys.txt @@ -3,7 +3,7 @@ it tells you. -------- -pstop version 0.0.12 (C) 2014 Simon J Mudd +pstop version 0.1.0 (C) 2014 Simon J Mudd Program to show the top I/O information by accessing information from the performance_schema schema. Ideas based on mysql-sys. @@ -17,4 +17,5 @@ t - toggle between showing the statistics since resetting pstop started or you explicitly reset them (with 'z') [REL] or showing the statistics as collected from MySQL [ABS]. z - reset statistics - - change display modes between: latency, ops, file I/O and lock modes + - change display modes between: latency, ops, file I/O, lock modes + and user mode. diff --git a/screen/screen.go b/screen/screen.go index 1490adf..6a9a788 100644 --- a/screen/screen.go +++ b/screen/screen.go @@ -91,7 +91,7 @@ func (s *TermboxScreen) DisplayHelp() { s.PrintAt(0, 9, "q - quit") s.PrintAt(0, 10, "t - toggle between showing time since resetting statistics or since P_S data was collected") s.PrintAt(0, 11, "z - reset statistics") - s.PrintAt(0, 12, " - change display modes between: latency, ops, file I/O and lock modes") + s.PrintAt(0, 12, " - change display modes between: latency, ops, file I/O, lock and user modes") s.PrintAt(0, 14, "Press h to return to main screen") } diff --git a/version/version.go b/version/version.go index f4b3a27..0d16748 100644 --- a/version/version.go +++ b/version/version.go @@ -2,7 +2,7 @@ package version const ( - version = "0.0.19" + version = "0.1.0" ) // return the current application version -- 2.7.4