You're probably using the bash-built-in "time" command.
"emerge sys-process/time" will get you the actual GNU time program.


Niall Moran wrote:
> Hi,
>
> Im trying to write some scripts to record some times for creating
> graphs. Im trying to use the time command and have it output to a
> file. In the man page it gives details of how one can use the -o and
> -a switches to output to and append to a file. However the utility
> does not seem to recognise these switches. It does mention that these
> are GNU options but I thought the version I had was the GNU version.
> Any help is greatly appreciated.
>
> Thanks,
>
> Niall
>
> Below is the output I get when trying
>
> [EMAIL PROTECTED] ~ $ time -a -o log ls
> -bash: -a: command not found
>
> real    0m0.001s
> user    0m0.000s
> sys     0m0.001s
>
>
> Below is the relevent section of the man page for time
>
>        -o FILE, --output=FILE
>               Do not send the results to stderr, but overwrite the
> specified file.
>
>        -a, --append
>               (Used together with -o.) Do not overwrite but append.
> --
> gentoo-user@gentoo.org mailing list
>
>

--
GPG key UID: 0xCED35690
GPG key fingerprint: 1243 C87E 521C 3A0A 3121 C4D6 5A10 AABE CED3 5690


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to