[SQL] PostgrSQL server : CPU and Memory

Поиск
Список
Период
Сортировка
Искать

[SQL] PostgrSQL server : CPU and Memory

От:
kaustubh kelkar <ksquare16@gmail.com>
Дата:
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
FAQ