watch “psql -h localhost -U postgres UMABASE -c ‘SELECT
datname,procpid,current_query FROM
pg_stat_activity;’|grep -v IDLE|grep -v ‘SELECT
datname,procpid,current_query FROM pg_stat_activity;’ | grep -v ^\( |
grep -v ‘datname | procpid ‘ | grep -v — ‘———–+———+-‘ ”