Search Postgresql Archives

Parameter value from (mb/gb) to bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

 

Is there a simple way to dynamically get for example parameter „shared buffers“ value (megabytes or gigabytes) to bytes, for monitoring perspective..?

 

At the moment, this gives me value in GB.

 

# psql -U postgres -Atc "show shared_buffers;"

1GB

 

This value may as well be in MB. So I am looking a way to dynamically get the value in bytes.

 

Regards

Raul


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux