Re: [GENERAL] PostgrSQL server : CPU and Memory

2017-05-17 Thread John R Pierce
On 5/17/2017 8:50 PM, kaustubh kelkar wrote: I am a developer and I want to monitor metrics related to CPU and Memory of PostgreSQL server only using SQL queries. postgres itself doesn't track that level of OS specific stuff. Do we have any system tables which can give us the data? I have fo

[GENERAL] PostgrSQL server : CPU and Memory

2017-05-17 Thread kaustubh kelkar
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