Prints connection IDs, users, hosts, and the statement each one is running. SHOW FULL PROCESSLIST avoids truncating long queries. Related: mysqladmin kill to stop a runaway.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.