I'm currently fiddling with a project using the ONTAPI (perf stats monitoring sort of thing).
What I'm wanting to do is reproduce the information from 'df' and 'df -s'.
Doing well so far, because the api 'volume-list-info' seems to have most of the information I want. There's just one thing missing - how much of the 'snap reserve' I'm actually using.
I can't seem to find it in either that, or the 'snapshot' counters. I would ideally be able to do this without having to do a per-volume calculation, because one of the things I'm hoping to do is support a lightweight proxy client that 'just' fetches source XML for processing on a server.
Or is there a way I can calculate this from the size/used/available in the volume-list-info?
Thanks, Ed