Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2003 09:02:05 -0700 (PDT)
From:      =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
To:        Per olof Ljungmark <peo@intersonic.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to get system information
Message-ID:  <20030928084915.Q44010@atlas.home>
In-Reply-To: <3F76C421.1000104@intersonic.se>
References:  <3F76B9B3.6030805@intersonic.se> <00f701c385ad$c9a18cb0$0201a8c0@dredster> <3F76C421.1000104@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 28 Sep 2003, Per olof Ljungmark wrote:

> >>
> >>I am wondering how to find out system hardware information from a
> >>running system, I know for instance pciconf(8) but what are the
> >>corresponding ones for memory, cpu etc?
> >>
> >
> >
> > more /var/run/dmesg.boot  to get the info at boot time.
> > vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, memory,
> > page, disks, faults and cpu info.
> >
>
> Thanks, that was a good start. Now, if I wanted to see more detailed
> info on the processor than the dmesg.boot output:
>
> Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
>
> Like cache size etc.?

You should be able to get some cpu info with ports/sysutils/x86info.
Dunno about memory (its physical configuration, that is). USB devices
can be listed with "usbdevs", pci ones with "pciconf", ATA devices
with "atacontrol", SCSI ones with "camcontrol", XFree prints lots of
info on your graphics card into /var/run/XFree86.0.log. Also, some of
the values detected at boot end up as sysctls (usually under "hw").

I know of no simple way to get complete hardware information on a
silver platter, though.  Nor do I really care :-)

    $.02,
    /Mikko



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