From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B51C01384E4 for ; Wed, 16 Jan 2013 15:28:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6269D21C0C5; Wed, 16 Jan 2013 15:28:50 +0000 (UTC) Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB58F21C028 for ; Wed, 16 Jan 2013 15:28:48 +0000 (UTC) Received: by mail-pb0-f52.google.com with SMTP id ro2so780669pbb.39 for ; Wed, 16 Jan 2013 07:28:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=NsDzaSaBeOfrXNcU8JlfSni5WrvU9/eN9bfGO0EGj5E=; b=Wq3yezEXDEpN2hJiQL+dypTyN5yvoJPQiMSOaCWqGeAEZHSNmqHxpnjO3F+yxVuRGO 5iUviPoW2qW33KUP59wMPa1zcCB8N/JBOuiPk4uajPVclpQzD/w0enxvo5tMa11jh9YG PDLNF1JEAFYSFXMURet44varLhdpI4P0tu75to84uZ/p/lwlDog8+aMbl2xt4X5R6tFg ugNhBN2oydqB4NKetCqTJ/3kqlDQ4uHP947afO/R6OJ2rJZqnQUvTibZ2ERyGoLqgWuC 3faSluvvWc29m+i+3Q5WdESBb9G+Wf+WYVhcxdue/uSYfWpbyjJyAC7on+Q8/Xa7ObW4 TbBA== X-Received: by 10.66.87.67 with SMTP id v3mr4507964paz.63.1358350127467; Wed, 16 Jan 2013 07:28:47 -0800 (PST) Received: from [192.168.0.4] ([123.201.39.65]) by mx.google.com with ESMTPS id ou3sm12462781pbb.46.2013.01.16.07.28.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jan 2013 07:28:46 -0800 (PST) Message-ID: <50F6C72B.9010307@nileshgr.com> Date: Wed, 16 Jan 2013 20:58:43 +0530 From: Nilesh Govindrajan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Load average in make References: <50F6A1EE.9050901@hadt.biz> <50F6BDC6.5020104@nileshgr.com> <874nih2mle.fsf@yahoo.fr> In-Reply-To: <874nih2mle.fsf@yahoo.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQka+S5fTrriaawjtrITk0IfAdbIjSSY7T/qVNYuqZC3Lkxmi7PcA1Cy2ETeljOXNNFcb0Vc X-Archives-Salt: eb82fc51-1dba-4243-8005-9a102933dd28 X-Archives-Hash: 9945f996edfcfc615f323ddd34938c57 On Wednesday 16 January 2013 08:37:09 PM IST, Nicolas Richard wrote: > Nilesh Govindrajan 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