select procpid, current_query, now() - query_start as duration, backend_start from pg_stat_activity where current_query not like '%IDLE%' order by duration desc limit 10; Hope it may help you!!!. -- Thanks Sam Jas --- On Mon, 23/11/09, Tim Uckun <timuckun@xxxxxxxxx> wrote:
|
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.