Mailinglist Archive: opensuse (2876 mails)
| < Previous | Next > |
Re: [opensuse] time command
- From: Thomas Hertweck <Thomas.Hertweck@xxxxxx>
- Date: Fri, 18 May 2007 18:37:21 +0100
- Message-id: <464DE451.40303@xxxxxx>
Herbert Georg wrote:
> [...]
> I'm trying to use the command "time" to access information about a job,
> but without success.
> The man page tells me that I can use options to time, like:
>
> time -o output-file command command-args
> time -v command command-args
> time --help
>
> but nothing of this works. All I get is (in the last example):
>
> bash: --help: command not found
>
> real 0m0.001s
> user 0m0.000s
> sys 0m0.000s
>
> I get the same thing in all option cases.
>
> Why doesn't it accept any option, and keep interpreting the options as
> the commands?
You're using the shell builtin time command which does not support the
options. Try /usr/bin/time and it will work.
Cheers, Th.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |