Date: Fri, 5 May 2006 16:06:48 +0100 From: Scott Mitchell <scott+lists.freebsd@fishballoon.org> To: Jim Stapleton <stapleton.41@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: BSD equiv of /proc? Message-ID: <20060505150647.GA94802@llama.fishballoon.org> In-Reply-To: <80f4f2b20605050707pe8d67case501f708c8e75427@mail.gmail.com> References: <80f4f2b20605050707pe8d67case501f708c8e75427@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 05, 2006 at 10:07:03AM -0400, Jim Stapleton wrote: > 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? As others have said, FreeBSD's /proc doesn't give you cpuinfo or the other metadata that Linux provides, but it shouldn't be completely empty. A line like this in /etc/fstab should be enough to get it working: proc /proc procfs rw 0 0 You should get a directory under /proc for every process on the system, with a bunch of files under each one. Try man procfs for the details. Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060505150647.GA94802>