Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2006 16:25:46 +0100
From:      Jens Trzaska <jt@barfoos.de>
To:        freebsd-stable@freebsd.org
Subject:   truss and /sbin/init
Message-ID:  <20060208152546.GA78035@anastasia.lan.barfoos.de>

next in thread | raw e-mail | index | archive | help
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



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