diff options
author | pjd <pjd@FreeBSD.org> | 2006-05-14 13:16:19 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-05-14 13:16:19 +0000 |
commit | a7703f028ec8560ab4adbfe041a8095cb978b709 (patch) | |
tree | e387aa94ac7fe3f29c863dd1493210fdd8d3754c /usr.bin/time/time.1 | |
parent | d791ac27b883ecc8858bee5a32f2ec0fac89edc2 (diff) | |
download | FreeBSD-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.1 | 9 |
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 |