summaryrefslogtreecommitdiffstats
path: root/guestfish.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-07-02 16:02:32 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-07-02 16:02:32 +0100
commit8863ecde5dba262c0736da7505a9fa3655ed42f6 (patch)
tree5b7676e4b332a2d0c5f34917f30140e29fb99dca /guestfish.pod
parent62e41312acd0f7fe7f3622a73d6f6efc27b1b511 (diff)
downloadlibguestfs-8863ecde5dba262c0736da7505a9fa3655ed42f6.tar.gz
libguestfs-8863ecde5dba262c0736da7505a9fa3655ed42f6.tar.xz
libguestfs-8863ecde5dba262c0736da7505a9fa3655ed42f6.zip
Add the guestfish 'time' command.
><fs> time sfdisk /dev/sda 0 0 0 , elapsed time: 6.12 seconds
Diffstat (limited to 'guestfish.pod')
-rw-r--r--guestfish.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/guestfish.pod b/guestfish.pod
index 07c7cd0e..0c3fda6b 100644
--- a/guestfish.pod
+++ b/guestfish.pod
@@ -419,6 +419,13 @@ NOTE: This will not work reliably for large files
This exits guestfish. You can also use C<^D> key.
+=head2 time
+
+ time command args...
+
+Run the command as usual, but print the elapsed time afterwards. This
+can be useful for benchmarking operations.
+
=head1 COMMANDS
@ACTIONS@