Re: [blfs-dev] Package stats

2014-03-08 Thread Fernando de Oliveira
Em 07-03-2014 17:40, Ken Moffat escreveu: > On Thu, Mar 06, 2014 at 06:22:52PM +, Ken Moffat wrote: >> It is clear that my rebuild of the docs was very different from >> Fernando's. At the moment I'm concentrating on rebuilding >> everything in chroot, just in case there is any breakage from

Re: [blfs-dev] Package stats

2014-03-06 Thread Bruce Dubbs
Fernando de Oliveira wrote: > I find "du" more accurate, although more tome consuming, Yes, that's why I went ot df. so have to to > mark some instants to avoid it from interfering in the timings. > > On example is that df will include the log size, perhaps you think it is > relevant. For me th

Re: [blfs-dev] Package stats

2014-03-06 Thread Fernando de Oliveira
Em 06-03-2014 15:22, Ken Moffat escreveu: > On Thu, Mar 06, 2014 at 02:36:02PM -0300, Fernando de Oliveira wrote: >> Em 06-03-2014 13:36, Bruce Dubbs escreveu: >>> >>>So build size is measured as df_after - df_before. The issue to note >>> is that there is activity during the build that adds

Re: [blfs-dev] Package stats

2014-03-06 Thread Ken Moffat
On Thu, Mar 06, 2014 at 02:36:02PM -0300, Fernando de Oliveira wrote: > Em 06-03-2014 13:36, Bruce Dubbs escreveu: > > > >So build size is measured as df_after - df_before. The issue to note > > is that there is activity during the build that adds or deletes space on > > /tmp, the size will

Re: [blfs-dev] Package stats

2014-03-06 Thread Fernando de Oliveira
Em 06-03-2014 13:36, Bruce Dubbs escreveu: > There is a question in the tickets about statistics. This is how I do > it. I have a script for each package that measures time and size. > > I build packages in /tmp, but really could be anywhere. > > First measure the free disk space: > > before=

[blfs-dev] Package stats

2014-03-06 Thread Bruce Dubbs
There is a question in the tickets about statistics. This is how I do it. I have a script for each package that measures time and size. I build packages in /tmp, but really could be anywhere. First measure the free disk space: before=`df -k /tmp | grep / | sed -e "s/ \{2,\}/ /g" | cut -d' ' -