title: dynamic output for SHOW PROCESSLIST in mysql using JAVA
body: <p>I know that using JDBC we can create output for queries inside a database, but how can I get the output of the command <code>SHOW PROCESSLIST</code> as an output of a Java program.</p>
  
  <p>In mysql we get it by: <code>SHOW PROCESSLIST</code></p>
  
  <p>But I was wondering if we can generate the output using Java?</p>