Re: time command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



chrism@xxxxxxxxx wrote:
Or if you've got a long series of commands you could stash them all in one shell script and then:

time scriptname

Correct?

Yes, as long as all of the actions in the script run synchronously. If one of them forks itself off into the background, time(1) won't see it since it only reports the lifetime of the shell script interpreter.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux