[NTLUG:Discuss] let me try that again - time
Fred James
fredjame at concentric.net
Fri May 30 10:52:34 CDT 2003
Darin W. Smith wrote:
> I think what you may be encountering is that bash itself has a builtin
> 'time' reserved word. It does what time(1) does, it times a command.
> It understands one option, -p, which directs it to produce
> POSIX-compliant output.
>
> My time(1) manpage shows that it has exactly the same format and
> options as the bash builtin.
>
> Try "time command" vs. "/usr/bin/time command"
>
> They seem to work identically for me, as does "time -p command" and
> "/usr/bin/time -p command"
>
> What options, besides -p, are you trying to use? I don't see any
> other options specified when I do:
> man 1 time
> OR
> man bash (and search for time)
>
> D!
>
>
> On Fri, 30 May 2003 09:45:33 -0500, Fred James
> <fredjame at concentric.net> wrote:
>
>> It appears that I wasn't clear enough on my first request, so please
>> forgive me for trying again.
>> I know what "time" and "date" are, and what their intended uses are.
>> I really do want to use "time" - unless someone can suggest something
>> better for the purpose.
>> The problem I am having is syntax - no matter how much I read the
>> man(ual) pages, or which user I am at the moment, I cannot seem to
>> get "time" to recognise any of its own options or formating. Right
>> off the bat, I would say that means that either (a) the man(ual)
>> pages lie, or (b) I don't understand something. From past experience
>> I would vote for "b".
>> What I believe I need is a little instruction on the syntax of
>> "time", or a pointer toward documentation on same.
>> Thank you in advance for any help you may be able to offer.
>>
>>
>> _______________________________________________
>> https://ntlug.org/mailman/listinfo/discuss
>>
>
>
>
"TIME(1)" says it comes with a good many output formating options (or
conversion strings, if you will), such as (quoting from man(ual) on RH
Linux - YMMD):
%R Number of minor, or recoverable, page faults. ...
%F Number of major page faults the occurred while the process was
running. ...
and other stuff like that.
That is the kind of stuff I am interested in.
More information about the Discuss
mailing list