From owner-freebsd-smp Sun Aug 16 22:51:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA21286 for freebsd-smp-outgoing; Sun, 16 Aug 1998 22:51:23 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from hermes.hrz.uni-bielefeld.de (hermes.hrz.uni-bielefeld.de [129.70.4.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA21278 for ; Sun, 16 Aug 1998 22:51:17 -0700 (PDT) (envelope-from lkoeller@post.uni-bielefeld.de) Received: from mitch.hrz.uni-bielefeld.de (9134@mitch.hrz.uni-bielefeld.de [129.70.4.17]) by hermes.hrz.uni-bielefeld.de (8.8.6/8.8.6) with ESMTP id HAA24845; Mon, 17 Aug 1998 07:50:57 +0200 (METDST) Received: from localhost by mitch.hrz.uni-bielefeld.de with SMTP (8.8.6/16.2) id FAA27256; Mon, 17 Aug 1998 05:50:29 GMT Message-Id: <199808170550.FAA27256@mitch.hrz.uni-bielefeld.de> X-Mailer: exmh version 2.0.2 2/24/98 From: Lars =?iso-8859-1?Q?K=F6ller?= To: Chuck Robey Cc: freebsd-smp@FreeBSD.ORG Subject: Re: Per processor load? In-reply-to: chuckr's message of Thu, 13 Aug 1998 14:54:39 -0400. X-Face: eCcoCV}FjV*O{6>[1$XP/e%]TJhEw2MF33dFh)^HM7Gfd=[/(4+0a$~ > On Thu, 13 Aug 1998, Lars Köller wrote: > > > -------- > > > > Hi! > > > > I want to exptend my port of xperfmon++ with per processor load > > charts for 3.X. Is it possible to get the number of processors with a > > syscall? And more important, how to get the load per processor? The > > getloadavg function returns only the averaged load! > > For my 2 processor SMP board, sysctl gives: > > hw.machine: i386 > hw.model: Pentium Pro > hw.ncpu: 2 > > I'd guess you want the last one, right? O.k. Thanks! But thats only the first part of the problem! Where can I get processor specific load information? I need to draw a separate load graph for each CPU?? Regards Lars -- E-Mail: | Lars Köller Lars.Koeller@Uni-Bielefeld.DE | UNIX Sysadmin lkoeller@cc.FH-Lippe.DE | Computing Center PGP-key: | University of Bielefeld http://www.nic.surfnet.nl/pgp/pks-toplev.html | Germany ----------- FreeBSD, what else? ---- http://www.freebsd.org ------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message