timing multiple commands
Bulk Mail
bulk at szmidt.org
Thu Jun 1 23:50:06 PDT 2006
On Thursday 01 June 2006 23:52, Craig Hammond wrote:
> Hi,
> How do I measure the time of multiple commands.
>
> eg, I want to measure how long it takes to compile a kernel.
>
> If I do:
> time make depend && make
>
> The time command gives me how long it takes to do the make depend, not
> the combined
> time of make depend && make.
>
> I can put the two command in a shell script and time it, but I was
> trying to find an easy
> way I could just do it at the command line.
>
> Thanks,
> Craig.
Easiest is probably:
date;make depend && make;date
--
Steve Szmidt
"To enjoy the right of political self-government, men must be
capable of personal self-government - the virtue of self-control.
A people without decency cannot be secure in its liberty.
From the Declaration Principles
--
More information about the Openbsd-newbies
mailing list