From: Nilesh Govindrajan <me@nileshgr.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Load average in make
Date: Wed, 16 Jan 2013 20:58:43 +0530 [thread overview]
Message-ID: <50F6C72B.9010307@nileshgr.com> (raw)
In-Reply-To: <874nih2mle.fsf@yahoo.fr>
On Wednesday 16 January 2013 08:37:09 PM IST, Nicolas Richard wrote:
> Nilesh Govindrajan <me@nileshgr.com> writes:
>> My question is which load average it checks? I'm assuming it checks
>> for the 15 minute average?
>
> I certainly don't know much about C, but from me grepping the source of
> make, it seems that job.c does "getloadavg (&load, 1)". Moreover "man
> getloadavg" says that the '1' there means to put the 1 minute load
> average into 'load'.
>
> hth,
>
Yes, it really does get the one minute average. Confirmed using a dummy
program using that function to report load.
Thanks guys.
--
Nilesh Govindarajan
http://nileshgr.com
prev parent reply other threads:[~2013-01-16 15:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 11:09 [gentoo-user] Load average in make Nilesh Govindrajan
2013-01-16 12:49 ` Michael Hampicke
2013-01-16 14:48 ` Nilesh Govindrajan
2013-01-16 14:52 ` Michael Mol
2013-01-16 15:07 ` [gentoo-user] " Nicolas Richard
2013-01-16 15:28 ` Nilesh Govindrajan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50F6C72B.9010307@nileshgr.com \
--to=me@nileshgr.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox