Quote:
Originally Posted by IsaarAhmed
how do I find out which application is using the cpu?
|
GET SNAPSHOT FOR APPLICATIONS ON <your db name>
For the snapshot to be useful, make sure appropriate monitor switches are ON (I'd go with locks, sorts, statements, uow). Check GET MONITOR SWITCHES and UPDATE MONITOR SWITCHES commands in the manual.