X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=README.md;h=37b13958c63f6cc019a9bf96ec3c1651e90c6f51;hb=22b9be6e17f9ae78c7bff19696ce9da44d6c8189;hp=76d8d0d579986683f58aa9fe495242fbdd49a5c2;hpb=c24180cda0bbab4ae07c87bf2cdf54e61d358142;p=pstop.git diff --git a/README.md b/README.md index 76d8d0d..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 @@ -17,8 +18,12 @@ probably shows in the code so suggestions on improvement are most welcome. Access to MySQL is currently via a defaults-file which is assumed to be ~/.my.cnf. I should probably make this more configurable. +Do not forget to ensure that the MySQL user you configure has access +to the performance_schema tables. + See also BUGS and NEW_FEATURES which describe things that probably need -looking at. +looking at, keys.txt which describes the keys used inside pstop, and +screen_samples.txt which provides some sample output from my own system. Feedback and patches welcome.