Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 1998 07:50:28 +0200
From:      Lars =?iso-8859-1?Q?K=F6ller?= <Lars.Koeller@post.uni-bielefeld.de>
To:        Chuck Robey <chuckr@glue.umd.edu>
Cc:        freebsd-smp@FreeBSD.ORG
Subject:   Re: Per processor load? 
Message-ID:  <199808170550.FAA27256@mitch.hrz.uni-bielefeld.de>
In-Reply-To: chuckr's message of Thu, 13 Aug 1998 14:54:39 -0400. <Pine.BSF.4.00.9808131453320.371-100000@picnic.mat.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
----------

Hi!

In reply to Chuck Robey who wrote:
 
 > 
 > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808170550.FAA27256>