Docker Community Forums

Share and learn in the Docker community.

Can I have the Space total returned in Mb instead of GB


(Despenny) #1

Pool Name: docker-202:65-788438-pool
Pool Blocksize: 65.54 kB
Data file: /var/lib/docker/devicemapper/devicemapper/data
Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
Data Space Used: 2.14 GB
Data Space Total: 107.4 GB
Metadata Space Used: 4.796 MB
Metadata Space Total: 2.147 GB
Library Version: 1.02.89-RHEL6 (2014-09-01)

Hello Everyone,

I’m relatively new to docker so please bear with me. From the docker info above you can see that Metadata Space Used is in MB and the Metadata Space total is in GB. This is causing issues with a nagios monitoring script I’m using. I was wondering if its possible to have space standardised and have it returned in Mb before I start tinkering with the script.

Thanks in advance for any responses,


(Sven Dowideit) #2

I think you have a good point :slight_smile: Could you raise an issue on the Github repo?

https;//github.com/docker/docker


(Despenny) #3

Thanks Sven. I’ve added it to issues on github now.

Des