From owner-freebsd-ia64 Tue Mar 4 13:18:21 2003 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C9F437B401 for ; Tue, 4 Mar 2003 13:18:20 -0800 (PST) Received: from palrel10.hp.com (palrel10.hp.com [156.153.255.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id B500343F85 for ; Tue, 4 Mar 2003 13:18:17 -0800 (PST) (envelope-from rick_jones2@hp.com) Received: from tardy.cup.hp.com (tardy.cup.hp.com [15.244.44.58]) by palrel10.hp.com (Postfix) with ESMTP id 3E2DB1C02037 for ; Tue, 4 Mar 2003 13:18:17 -0800 (PST) Received: from hp.com (localhost [127.0.0.1]) by tardy.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id NAA22883 for ; Tue, 4 Mar 2003 13:18:02 -0800 (PST) Message-ID: <3E65180A.8B39FA19@hp.com> Date: Tue, 04 Mar 2003 13:18:02 -0800 From: Rick Jones Reply-To: raj@cup.hp.com Organization: the Unofficial HP X-Mailer: Mozilla 4.79 [en] (X11; I; HP-UX B.11.00 9000/785) X-Accept-Language: en MIME-Version: 1.0 To: ia64@FreeBSD.ORG Subject: Re: initial netperf tests on rx2600 References: <3E6401FD.E2B384E3@hp.com> <20030304201227.GA523@athlon.pn.xcllnt.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I think getloadavg(3) might be the one. I don't know anything about > netperf though... The manpage for getloadavg seems to return just that - the load average. While that is a measure of load, it isn't the same as the CPU util. On HP-UX I use pstat() calls, on Linux /proc/stat, on Solaris kstat(). rick jones -- Wisdom Teeth are impacted, people are affected by the effects of events. these opinions are mine, all mine; HP might not want them anyway... :) feel free to post, OR email to raj in cup.hp.com but NOT BOTH... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message