X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=df%2Fvirt-df.pod;h=24b35837f1102c84e5206306fbef89445cbd8d42;hb=0ef30bbb316b50beba511a5eb4bd7174671fa1ca;hp=df58b4c2dbf86bfbaba383cebf244ac57dcec042;hpb=04ea1375c55aa67df4e7fc61dbb534111767f3b6;p=libguestfs.git diff --git a/df/virt-df.pod b/df/virt-df.pod index df58b4c..24b3583 100755 --- a/df/virt-df.pod +++ b/df/virt-df.pod @@ -188,6 +188,32 @@ Enable tracing of libguestfs API calls. =back +=head1 STATVFS NUMBERS + +C (and L) get information by issuing a L +system call. You can get the same information directly, either from +the host (using libguestfs) or inside the guest: + +=over 4 + +=item From the host + +Run this command: + + guestfish --ro -d GuestName -i statvfs / + +(change C to see stats for other filesystems). + +=item From inside the guest + +Run this command: + + python -c 'import os; s = os.statvfs ("/"); print s' + +(change C to see stats for other filesystems). + +=back + =head1 NOTE ABOUT CSV FORMAT Comma-separated values (CSV) is a deceptive format. It I like