[geeks] FreeBSD, the saga continues
Jonathan C. Patschke
jp at celestrion.net
Tue Mar 10 19:51:46 CDT 2009
On Tue, 10 Mar 2009, Phil Stracchino wrote:
> Is there any tool in FreeBSD that can be used to retrieve cpuinfo? On
> any of my Linux boxen I'd just cat /proc/cpuinfo, but if there's an
> equivalent on FreeBSD to that or, say, prtconf/prtdiag, I've yet to find
> it.
sysctl hw | more
also:
sysctl vm.vmtotal
and:
pciconf -lv
Or, if you really want Linux's procfs:
mkdir -p /compat/linux/proc
mount -t linprocfs linproc /compat/linux/proc
cat /compat/linux/proc/cpuinfo
I wouldn't mount it as /proc, since FreeBSD has a procfs of its own. See
the procfs and linprocfs man pages for more information.
--
Jonathan Patschke ( "They don't have the right to read a book out loud."
Elgin, TX ( --Paul Aiken
USA ( Executive Director, Authors Guild
More information about the geeks
mailing list