Discussion:
show full processlist order by Time?
(too old to reply)
avilella
2009-03-31 11:38:22 UTC
Permalink
Hi,

Can I somehow order the list of processes by the Time field?
John Murtari
2009-03-31 17:06:10 UTC
Permalink
Post by avilella
Can I somehow order the list of processes by the Time field?
Not with "SHOW PROCESSLIST", the syntax to add an order by is
not supported.

If you are running 5.1.x -- they do have an INFORMATION_SCHEMA
table for PROCESSLIST. We don't run that here, but you should be
able to do:

USE INFORMATION_SCHEMA;
SELECT * FROM PROCESSLIST ORDER BY Time;
--
John
____________________________________________________________________
Customer Service Software Workshop Inc.
***@thebook.com "software that fits!" (TM)
Toll Free (877) 635-1968(x-211) http://www.thebook.com/
Loading...