summaryrefslogtreecommitdiffstats
path: root/usr.bin/time/time.1
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-05-14 13:16:19 +0000
committerpjd <pjd@FreeBSD.org>2006-05-14 13:16:19 +0000
commita7703f028ec8560ab4adbfe041a8095cb978b709 (patch)
treee387aa94ac7fe3f29c863dd1493210fdd8d3754c /usr.bin/time/time.1
parentd791ac27b883ecc8858bee5a32f2ec0fac89edc2 (diff)
downloadFreeBSD-src-a7703f028ec8560ab4adbfe041a8095cb978b709.zip
FreeBSD-src-a7703f028ec8560ab4adbfe041a8095cb978b709.tar.gz
Handle SIGINFO in time(1) by printing the time the given command is running.
I find it quite handy to just hit ^T and see the time.
Diffstat (limited to 'usr.bin/time/time.1')
-rw-r--r--usr.bin/time/time.19
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.bin/time/time.1 b/usr.bin/time/time.1
index 199b2a8..f4b72fc 100644
--- a/usr.bin/time/time.1
+++ b/usr.bin/time/time.1
@@ -99,6 +99,15 @@ command which is similar or identical to this utility.
Consult the
.Xr builtin 1
manual page.
+.Pp
+If
+.Nm
+receives a
+.Dv SIGINFO
+(see the status argument for
+.Xr stty 1 )
+signal, the current time the given command is running will be written to the
+standard output.
.Sh ENVIRONMENT
The
.Ev PATH
OpenPOWER on IntegriCloud