Is there a unix command to output time elapsed during a command?
- by Olivier Lacan
I love using time to find out how long a command took to execute but when dealing with commands that execute sub-commands internally (and provide output that allows you to tell when each of those sub-commands start running) it would be really great to be able to tell after what number of seconds (or milliseconds) a specific sub-command started running.
When I say sub-command, really the only way to distinguish these from the outside is anything printed to standard out.
Really this seems like it should be an option to time.