(1).查看系统运行情况
mysql>show @@server;

(2).查看ThreadPool信息
mysql>show @@threadpool;

(3).查看前端连接信息
mysql>show @@connection;

(4).查看后端连接(池)信息:
mysql>show @@backend;

(5).查看心跳是否正常
mysql>show @@heartbeat;

(6).查看NIO Reactor信息
mysql>show @@processor;

备注:NIOReactor是NIO中具体执行selector的类,当满足感兴趣的事件发生的时候,他就通知上次逻辑进行具体的处理。所以,NIOReactor的个数据等于具体事件处理器的个数。
如果系统的配置允许的话,应该尽可能的增大NIOReactor的数量。默认值是系统核心数。由于写是采用通道空闲时其它线程直接写,只有写繁忙时才会注册写事件,再由NIOReactor分发。所以NIOReactor主要处理读操作.