Date: Thu, 13 Aug 1998 14:54:39 -0400 (EDT) From: Chuck Robey <chuckr@glue.umd.edu> To: Lars =?iso-8859-1?Q?K=F6ller?= <Lars.Koeller@post.uni-bielefeld.de> Cc: freebsd-smp@FreeBSD.ORG Subject: Re: Per processor load? Message-ID: <Pine.BSF.4.00.9808131453320.371-100000@picnic.mat.net> In-Reply-To: <199808130659.GAA01921@mitch.hrz.uni-bielefeld.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > > 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 > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9808131453320.371-100000>