From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 02:09:14 2004 Return-Path: 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 7640516A4CE for ; Sat, 10 Jul 2004 02:09:14 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1334A43D39 for ; Sat, 10 Jul 2004 02:09:14 +0000 (GMT) (envelope-from rr@pcp220432pcs.elkrdg01.md.comcast.net) Received: from pcp220432pcs.elkrdg01.md.comcast.net ([68.55.209.188]) by comcast.net (sccrmhc11) with ESMTP id <20040710020912011009fj4ee>; Sat, 10 Jul 2004 02:09:13 +0000 Received: from pcp220432pcs.elkrdg01.md.comcast.net (localhost [127.0.0.1]) id i6A29AAP001866; Fri, 9 Jul 2004 22:09:10 -0400 (EDT) (envelope-from rr@pcp220432pcs.elkrdg01.md.comcast.net) Received: (from rr@localhost)i6A294X5001865; Fri, 9 Jul 2004 22:09:04 -0400 (EDT) (envelope-from rr) Date: Fri, 9 Jul 2004 22:09:04 -0400 From: Rajarajan Rajamani To: Murat Ustuntas ;, freebsd-questions@freebsd.org Message-ID: <20040710020904.GA1823@pcp220432pcs.elkrdg01.md.comcast.net> References: <40ECF1DC.8080101@bimel.com.tr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40ECF1DC.8080101@bimel.com.tr> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pcp220432pcs.elkrdg01.md.comcast.net X-Virus-Scanned: clamd / ClamAV version devel-20040707, clamav-milter version 0.74adevel-20040707, clamav-milter version 0.74a X-Virus-Status: Clean X-Mailman-Approved-At: Sat, 10 Jul 2004 12:11:15 +0000 Subject: Re: truss command on 5.2.1-p9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2004 02:09:14 -0000 On Thu, Jul 08, 2004 at 10:03:56AM +0300, Murat Ustuntas wrote: > I need to truss command on FreeBSD 5.2.1-p9. But, if > I want to run the command truss says me: > # truss /usr/sbin/sshd > truss: cannot open /proc/8668/mem: No such file or directory > truss: cannot open /proc/curproc/mem: No such file or directory > > sshd process is running, and in the proc directory, > i have the number 8668 and mem too. What is the problem? How > can I fix that? (I dont know that this is a bug or not :( ) > I encountered the same problem some months ago and am cut pasting from a post that proved helpful. You don't have a process filesystem mounted on /proc. Execute the following kldload procfs mount_procfs /dev/procfs /proc -- RR