truss and /sbin/init

Jens Trzaska jt at barfoos.de
Wed Feb 8 07:26:16 PST 2006


Hi,

I just tried to use truss on the running /sbin/init process. 

	root at 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


More information about the freebsd-stable mailing list