Hi Kenia,
Take a look of this link
https://wiki.postgresql.org/wiki/Monitoring#pg_activity
I think you are looking for something line pg_activity
But in that official pgsql documentation you'll find all you need to
monitor queries and pgsql cluster behavior
On Wed, Mar 6, 2019, 7:45 PM Kenia Vergara <vergarakenia(at)gmail(dot)com> wrote:
> Good afternoon.
> I need to know the commands to display the execution time, CPU usage and
> memory usage, but through the Postgres console.Thank you.
>