Comment 1 for bug 367110

Revision history for this message
Paul McCullagh (paul-mccullagh) wrote :

Hi Mark,

I think xsstat will give you a lot of what you need.

The tool is automatically build and installed with PBXT.

Assume you build mysql as follows:

cd [mysql-build-dir]
./configure --prefix=[mysql-install-dir]
make install

Then you build PBXT like this:

./configure --with-mysql=[mysql-build-dir]
make install

After you started the mysql server and installed the plugin:

mysql> INSTALL PLUGIN PBXT SONAME 'libpbxt.so';

You can now enter:

[mysql-install-dir]/bin/xtstat

It should connect to the server and dump statistics every second about all the PBXT internals.

Enter:

[mysql-install-dir]/bin/xtstat --help

for help.