From owner-freebsd-questions@FreeBSD.ORG Fri May 5 16:41:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EC5B16A452 for ; Fri, 5 May 2006 16:41:06 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from queue01-winn.ispmail.ntl.com (queue01-winn.ispmail.ntl.com [81.103.221.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1C7943D45 for ; Fri, 5 May 2006 16:41:05 +0000 (GMT) (envelope-from scott@fishballoon.org) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20060505150650.KFGJ29040.mtaout02-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com>; Fri, 5 May 2006 16:06:50 +0100 Received: from llama.fishballoon.org ([81.101.128.185]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20060505150650.SRZO19763.aamtaout01-winn.ispmail.ntl.com@llama.fishballoon.org>; Fri, 5 May 2006 16:06:50 +0100 Received: from scott by llama.fishballoon.org with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fc1tI-000PGW-DG; Fri, 05 May 2006 16:06:48 +0100 Date: Fri, 5 May 2006 16:06:48 +0100 From: Scott Mitchell To: Jim Stapleton Message-ID: <20060505150647.GA94802@llama.fishballoon.org> References: <80f4f2b20605050707pe8d67case501f708c8e75427@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80f4f2b20605050707pe8d67case501f708c8e75427@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-SECURITY i386 Sender: Scott Mitchell Cc: freebsd-questions@freebsd.org Subject: Re: BSD equiv of /proc? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 16:41:06 -0000 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