Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2006 09:12:26 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Jim Stapleton <stapleton.41@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: BSD equiv of /proc?
Message-ID:  <20060505141226.GG65700@dan.emsphone.com>
In-Reply-To: <80f4f2b20605050707pe8d67case501f708c8e75427@mail.gmail.com>
References:  <80f4f2b20605050707pe8d67case501f708c8e75427@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 05), Jim Stapleton said:
> I have a proc filesystem on my computer, but it's  empty. I'm used to
> linux, where you can do stuff like 'cat /proc/cpuinfo' to get
> information about the system. What is the BSD equivalent of this, or
> is it /proc, and I'm just missing something?

FreeBSD uses /proc for process-related stuff only.  System stats are
retrieved using the sysctl command.  Try running "sysctl -a" and see if
anything's useful.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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