Monitor queries: equivalent of mysql's "show processlist"
704200May 29 2009 — edited May 29 2009Hi all,
I'm not very familiar with Oracle, I'm looking for a convenient way to reproduce the "show processlist" offered by mysql. As a command line would be ideal.
A little bit about the background: I'm trying to ensure my program (using JDBC) cancels queries properly. We offer support for mysql, oracle & postgres. For mysql, a one-liner:'mysql -hmy_host -pmy_port ... -e "show processlist"' returns the list of process on the server, if I could reproduce this behavior with Oracle that would be very helpful.
Thanks a lot for any help!
Anthony