diff options
Diffstat (limited to 'guestfs-actions.pod')
-rw-r--r-- | guestfs-actions.pod | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/guestfs-actions.pod b/guestfs-actions.pod index 68357d62..a48bbe68 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -614,6 +614,33 @@ to find out what you can do. This function returns a string, or NULL on error. I<The caller must free the returned string after use>. +=head2 guestfs_df + + char *guestfs_df (guestfs_h *handle); + +This command runs the C<df> command to report disk space used. + +This command is mostly useful for interactive sessions. It +is I<not> intended that you try to parse the output string. +Use C<statvfs> from programs. + +This function returns a string, or NULL on error. +I<The caller must free the returned string after use>. + +=head2 guestfs_df_h + + char *guestfs_df_h (guestfs_h *handle); + +This command runs the C<df -h> command to report disk space used +in human-readable format. + +This command is mostly useful for interactive sessions. It +is I<not> intended that you try to parse the output string. +Use C<statvfs> from programs. + +This function returns a string, or NULL on error. +I<The caller must free the returned string after use>. + =head2 guestfs_dmesg char *guestfs_dmesg (guestfs_h *handle); |