Asinfo command to check device_total_bytes


#1

whats the asinfo command line to check the device_total_bytes for the whole cluster and for each namespaces ?


#2

You’ll have to process it by namespace. See the info command reference and the metrics reference.

asinfo -h 172.12.13.14 -v "namespaces" -l
test
foo
bar

Then

asinfo -h 172.16.60.131 -v "namespace/test" -l|grep device_total_bytes
device_total_bytes=8589934592

And so on. Is it really device_total_bytes you’re looking to check, or device_used_bytes?