Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: time builtin vs. time(1): difference in memory numbers
- X-seq: zsh-workers 39668
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Baptiste Daroussin <baptiste.daroussin@xxxxxxxxx>
- Subject: Re: time builtin vs. time(1): difference in memory numbers
- Date: Mon, 17 Oct 2016 19:49:18 +0000
- Cc: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, Zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=oORaXLBBjBCihRe6/T2SlkizHvM=; b=biycAW TWThAplCSOePfJQJRsPDyjHMobwM0KIdP4dvdUwhw0GxjC5Y2BsHPXWHwPzWwi/u tmaTooKv5MpxOuiK4ZclNvGxwQO/x8QPLDLudpaIsmCPu/Z1eoC4fUPX7KCoRPqk L74uBjwmqvDTzTB9JiynKHd5+8YckN5fWPuuA=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=oORaXLBBjBCihRe6/T2SlkizHvM=; b=Ljt3B oD2EcMGniExLAvKnfwx2rYXSZE6bnvrQaLakAy8lPAPAlYaLhLaTYNSozcvdZF+b 3noJTrZEuYUjUCyGt6RFTTCWISwTf9wTFeelhWwGeoWmHjmbS9EInqQM+FqowQva YbSrDhR5c5ZWDDmspGF2bQb57hpo6fmHH+uvPQ=
- In-reply-to: <CAPKC6oLGksOt8QUf9NS-OBFtMYJzvN9Qk9C=_rrANkE4-HbfzQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <868w06l3cq.fsf@gmail.com> <101204102844.ZM5983@torch.brasslantern.com> <86tyisv48o.fsf@gmail.com> <101205055913.ZM32440@torch.brasslantern.com> <86mxokm60k.fsf@gmail.com> <CGME20161016183019eucas1p148f2bc95fc3b4be841e3f6dbca7ea2fb@eucas1p1.samsung.com> <CAPKC6oJcCEtDYwhDcHJeFLQcbEBAZnAF=08G3VRU4fWBHbMvwQ@mail.gmail.com> <20161017094725.6c57f0f2@pwslap01u.europe.root.pri> <CAPKC6oLGksOt8QUf9NS-OBFtMYJzvN9Qk9C=_rrANkE4-HbfzQ@mail.gmail.com>
Baptiste Daroussin wrote on Mon, Oct 17, 2016 at 18:27:59 +0200:
> 2016-10-17 10:47 GMT+02:00 Peter Stephenson <p.stephenson@xxxxxxxxxxx>:
> > On Sun, 16 Oct 2016 20:29:23 +0200
> > Baptiste Daroussin <baptiste.daroussin@xxxxxxxxx> wrote:
> >> I would like to revive this thread as we are having this patch in
> >> FreeBSD for a while now.
> >>
> >> https://people.freebsd.org/~bapt/getrusage.diff
> >>
> >> What would be the next step to get it upstream (and modified if needed?)
> >
> > The safest way would probably be #ifdef's for Free BSD, unless someone
> > is going to do a wider investigation into variant system behaviour.
> >
> > The "long clktck" declaration needs to go with the declarations at the
> > top.
> >
> > pws
>
> I think the ru_maxrss part is valid for linux as well. (unsure)
On Debian stable, getrusage(2) sas:
ru_maxrss (since Linux 2.6.32)
This is the maximum resident set size used (in kilobytes). For
RUSAGE_CHILDREN, this is the resident set size of the largest
child, not the maximum resident set size of the process tree.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author