How does Mysql Workbench get the following statistical data ? 
My goal is to design similar tool interface which gives all the above statistics. Is there any way to get these informations form mysql server? (via terminal or any way to integrate it with python).