From owner-freebsd-stable@FreeBSD.ORG Wed Feb 8 15:26:16 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D6D216A420 for ; Wed, 8 Feb 2006 15:26:16 +0000 (GMT) (envelope-from jt@barfoos.de) Received: from mail.zuto.de (badlands.zuto.de [217.160.140.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2723B43D48 for ; Wed, 8 Feb 2006 15:26:14 +0000 (GMT) (envelope-from jt@barfoos.de) Received: from localhost (localhost [127.0.0.1]) by mail.zuto.de (Postfix) with ESMTP id 6A47C1E447 for ; Wed, 8 Feb 2006 16:26:04 +0100 (CET) Received: from mail.zuto.de ([127.0.0.1]) by localhost (badlands [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27480-10 for ; Wed, 8 Feb 2006 16:25:57 +0100 (CET) Received: from anastasia.lan.barfoos.de (unknown [10.11.1.1]) by mail.zuto.de (Postfix) with SMTP id EE6571E41F for ; Wed, 8 Feb 2006 16:25:56 +0100 (CET) Received: (qmail 23040 invoked by uid 1001); 8 Feb 2006 15:25:46 -0000 Date: Wed, 8 Feb 2006 16:25:46 +0100 From: Jens Trzaska To: freebsd-stable@freebsd.org Message-ID: <20060208152546.GA78035@anastasia.lan.barfoos.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 4.11-RELEASE, i386 X-GPG-Key-ID: = 96FE36DB X-GPG-Key-Fingerprint: 1C9B 7EF8 1A22 1740 9F1B AB7B 17D2 64E1 96FE 36DB X-GPG-Key-Location: http://www.elug.de/schluessel/96FE36DB.asc X-Accept-Language: de,en User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavis at zuto.de Subject: truss and /sbin/init X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 15:26:16 -0000 Hi, I just tried to use truss on the running /sbin/init process. root@beast:~# truss -p 1 truss: cannot open /proc/1/mem: No such file or directory Exit 8 As you can see without any luck. But why is the memory information missing in procfs here? /sbin/init is a more or less regular userland process. Looking at truss(1) it even shows this example: # Follow an already-running process $ truss -p 1 Any hints? jens