[clug] Redirect time command output to file
Daniel Pittman
daniel at rimspace.net
Wed May 26 21:43:21 MDT 2010
Hal <hal.ashburner at gmail.com> writes:
> I'm running a cron job to do some testing for me and want to record some
> pretty basic performance numbers. The time command looks like the thing I
> want.
>
> Now I've been bitten because "man time" is actually full of lies.
...is accurate documentation of the non-built-in time command. ;)
] time /bin/true
real 0m0.003s
user 0m0.000s
sys 0m0.000s
] /usr/bin/time /bin/true
0.00user 0.00system 0:00.00elapsed 400%CPU (0avgtext+0avgdata 960maxresident)k
0inputs+0outputs (0major+83minor)pagefaults 0swaps
HTH, etc.
Daniel
--
✣ Daniel Pittman ✉ daniel at rimspace.net ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
More information about the linux
mailing list