[CentOS] Timing a command

Garrick Staples garrick at usc.edu
Sat Jan 26 00:12:15 UTC 2008


On Fri, Jan 25, 2008 at 07:05:40PM -0500, Scott Ehrlich alleged:
> I want to keep track of how long a task is running.  Thinking it wouldn't 
> take that long, I opted not to run time before it.  The fact that it is 
> taking a long time, if I revisit the machine in the morning, what would be 
> the best way to find out what time it ended?

I the terminal where the command is running, type 'date', hit enter, and walk away.

At some point, the command will exit and 'date' will execute.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080125/5c33b922/attachment.sig>


More information about the CentOS mailing list