i used the same command "head....|tail -1" some 6 times in my script. may i cause the slow? Moorthy On Wed, 07 Nov 2001 Shridhar Daithankar wrote : > > > Narayanamoorthy Srinivasan wrote: > > >> I forgot to ask how slow? Can you run 'time head > >>-lineno filename | tail -1' > >>and post the results. > > the output for the above is as follows > > 0.01 user 0.00 system 0:00.01elapsed > 66%CPU(0avgtext+0avgdata 0maxresident)k > > 0inputs+0outputs (66major+7minor) pagefaults 0swapts > > And you call that slow? Look at elapsed time. It's 0.01 > seconds. How faster you > expect it to run? > > Shridhar >
_______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
