Query to get the OS process (postmaster) and query associated with it in postgres database

690 Views Asked by At

Few executables of an application that is connected to the Postgres database are using 100% resources and in Linux OS, I can see that the postmaster is using 100% CPU, so, I am in need to find the queries associated with the postmaster(100%CPU) OSPID from the database.

0

There are 0 best solutions below