[BusyBox] Using time applet?

Steven Scholz steven.scholz at imc-berlin.de
Fri Nov 7 16:11:53 UTC 2003


Hi there,

I wrote:
> on my Host I can do
> 
> scholz at pinguin:/tftpboot> time bunzip2 -c test.bz2 > /dev/null
> 
> and get
> 
> real    0m5.858s
> user    0m5.820s
> sys     0m0.040s
> 
> On busybox (serial console & via telnet) I don't see the results!
> 
> /var/tmp # time bunzip2 -c test.bz2 > /dev/null
> /var/tmp #
> 
> Are they redirected to /dev/null as well?

That's why I suggest the attached trivial "patch". Then you can get:

~ # time bunzip2 -c /tmp/test.bz2 > /dev/null
real    0m 29.44s
user    0m 29.30s
sys     0m 0.12s

Thanks,

Steven
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: time_stderr.patch
Url: http://lists.busybox.net/pipermail/busybox/attachments/20031107/7f16e05f/attachment.diff 


More information about the busybox mailing list