Thank you indeed!

That information would be really great help for me. I'll look for the libguestfs. By the way, you mentioned that the tool would be better not to use frequently, so... Does the tool have any performance issue?

Best regards

bgkim

2016-01-06 5:44 GMT+09:00 Laine Stump <laine@laine.org>:
On 01/04/2016 11:59 AM, Vasiliy Tolstov wrote:
2016-01-04 16:33 GMT+03:00 BYEONG-GI KIM <kimbyeonggi@gmail.com>:
hank you for the reply!

I used the term "disk usage" as what you mentioned first; the information
which can be retrieved via 'df' command on linux system...

I'll then have to consider different approach to do what I want.

Anyway, thanks again for your great help.

Best regards
You can install under guest vm qemu-guest-agent and get info from it.


Another alternative would be to use the libguestfs tools to examine the disk in read-only mode (be sure not to use read/write mode on an image that's currently in use by its guest!). This would *not* be efficient to do very frequently, but would be okay if done occasionally.