Date: Tue, 12 Jul 2022 20:57:54 +0100 From: Steve O'Hara-Smith <steve@sohara.org> To: questions@freebsd.org Cc: "John Levine" <johnl@iecc.com> Subject: Re: How do get elapsed time in milliseconds in a shell script? Message-ID: <20220712205754.928c3f921f42f66fb977f891@sohara.org> In-Reply-To: <20220712194432.AA49E458B955@ary.qy> References: <b2107a6a-7b58-9e26-63f4-6a4c71393e2c@panix.com> <20220712194432.AA49E458B955@ary.qy>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Jul 2022 15:44:32 -0400 "John Levine" <johnl@iecc.com> wrote: > It's not built into /bin/sh, but if you run /usr/bin/time it prints > the time to 1/100 sec which might be good enough. How do you get it to do that, all it does AFAICT is time the execution of some command in real, system and user time. It does nothing with the time of day. -- Steve O'Hara-Smith <steve@sohara.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220712205754.928c3f921f42f66fb977f891>