truss missing some files or directories

LI Xin delphij at delphij.net
Wed Dec 20 10:44:14 PST 2006


Ilya Vishnyakov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> Problem with truss, won't start. Please advise me what to do.
> 
> truss /bin/echo hello truss: truss: cannot open /proc/42520/mem cannot
> open /proc/curproc/mem: : No such file or directory
> No such file or directory
> 
> 
> uname -a output:
> 
> FreeBSD mars.mysite.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #2:
> Thu Nov  2 13:58:09 UTC 2006     root at mars.mysite.com
> :/usr/obj/usr/src/sys/MARS  amd64
> 
> Thank you.

You should do mount_procfs procfs /proc before doing truss.

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


More information about the freebsd-stable mailing list