Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 1998 07:52:38 -0700 (PDT)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?=)
Cc:        thepish@FreeBSD.ORG, phk@FreeBSD.ORG, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/time time.1 time.c
Message-ID:  <199807241452.HAA07628@troutmask.apl.washington.edu>
In-Reply-To: <xzpu3479umy.fsf@olvaldi.ifi.uio.no> from =?ISO-8859-1?Q?Dag=2DErling_Coidan_Sm=F8rgrav?= at "Jul 24, 98 04:43:49 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
According to Dag-Erling Coidan Smørgrav:
> Steve Kargl <sgk@troutmask.apl.washington.edu> writes:
> > Clearly, you don't understand the PR.  Think about the following
> > 
> > kargl[204] time -l ls > /dev/null
> >         0.02 real         0.01 user         0.00 sys
> > [...]
> > kargl[206] time -l sh -c "ls > /dev/null"
> >         0.04 real         0.02 user         0.02 sys
> > [...]
> 
> Yes? What's the problem?
> 
> DES
> -- 
> Dag-Erling Smørgrav - dag-erli@ifi.uio.no
> 

Well, you deleted the context.

       360  maximum resident set size
       180  average shared memory size
        64  average unshared data size
       192  average unshared stack size
        25  page reclaims
         0  page faults
         0  swaps
         0  block input operations
         0  block output operations
         0  messages sent
         0  messages received
         0  signals received
         0  voluntary context switches

In the first case, you know these stats are from ls.  In the
second case, you know that these stats are from a combination of
sh + ls.
-- 
Steve

finger kargl@troutmask.apl.washington.edu
http://troutmask.apl.washington.edu/~clesceri/kargl.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807241452.HAA07628>