[SQL] PostgrSQL server : CPU and Memory

Поиск
Список
Период
Сортировка
От kaustubh kelkar
Тема [SQL] PostgrSQL server : CPU and Memory
Дата
Msg-id CALb1ETPD_yjC4Jc2rKhesm=rO+xZZGNaiTd-FothPUh+5uSWrQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-sql
Hi ,

I am a developer and I want to monitor metrics related to CPU and Memory of PostgreSQL server only using SQL queries.

Do we have any system tables which can give us the data? I have found this one 
https://aaronparecki.com/2015/02/19/8/monitoring-cpu-memory-usage-from-postgres 
but dont know whether it is exactly the same what I need. 

I am able to fetch the same using scripts (batch/shell) but getting data from SQL will be my main task.   

--
Kaus2bh Kelkar

В списке pgsql-sql по дате отправления: