From owner-freebsd-questions Sat Jun 8 15:28: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id E6D9E37B400 for ; Sat, 8 Jun 2002 15:28:04 -0700 (PDT) Received: from hades.hell.gr (patr530-a091.otenet.gr [212.205.215.91]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g58MRuZN007020; Sun, 9 Jun 2002 01:27:58 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g58MRuUP039057; Sun, 9 Jun 2002 01:27:56 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.3/Submit) id g58MRsuX039052; Sun, 9 Jun 2002 01:27:54 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 9 Jun 2002 01:27:54 +0300 From: Giorgos Keramidas To: "Christopher J. Umina" Cc: FreeBSD Questions Subject: Re: Load Averages with C Message-ID: <20020608222753.GA38586@hades.hell.gr> References: <001201c20f54$46ba9e20$0301a8c0@uminafamily.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001201c20f54$46ba9e20$0301a8c0@uminafamily.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-06-08 18:23 -0700, Christopher J. Umina wrote: > Hello, > Does anybody know how to make a C or C++ program that returns load > averages on the server? I've been searching all over and I can't find it. 01:27 [charon@hades /home/charon]$ man -k load | grep average getloadavg(3) - get system load averages kvm_getloadavg(3) - get load average of the system - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message