Skip to content

Instantly share code, notes, and snippets.

@yoku0825
Created April 22, 2015 10:33
Show Gist options
  • Save yoku0825/3ac79cf1e747e2b4fdfe to your computer and use it in GitHub Desktop.
Save yoku0825/3ac79cf1e747e2b4fdfe to your computer and use it in GitHub Desktop.
mysql> show processlist;
+----+------+-----------+-------+---------+------+-------------------------+-----------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+------+-----------+-------+---------+------+-------------------------+-----------------------------+
| 2 | root | localhost | mysql | Query | 0 | starting | show processlist |
| 3 | root | localhost | NULL | Query | 13 | Waiting for table flush | FLUSH TABLES WITH READ LOCK |
| 4 | root | localhost | mysql | Query | 4 | Waiting for table flush | SELECT * FROM user |
+----+------+-----------+-------+---------+------+-------------------------+-----------------------------+
3 rows in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment