Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 1998 15:18:32 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        Xiangzhou wang <wang@tdiinc.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: how to get hardware info
Message-ID:  <Pine.BSF.4.05.9812011517100.3925-100000@bright.fx.genx.net>
In-Reply-To: <36644F7D.7101F716@tdiinc.com>

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

On Tue, 1 Dec 1998, Xiangzhou wang wrote:

> Hi,
> 
> Is anyone know how to write a program to collect hardware info on a
> running freeBSD system, like disk, CPU etc.
> Thank you.
> 
> Fox

If you are using 3.0 take a look at the manpage for devstat.

you'll have to link your programs with:
-ldevstat 
to use these functions.

-Alfred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" 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.05.9812011517100.3925-100000>