Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2006 02:42:35 +0800
From:      LI Xin <delphij@delphij.net>
To:        Ilya Vishnyakov <ilya@edpausa.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: truss missing some files or directories
Message-ID:  <4589841B.60800@delphij.net>
In-Reply-To: <45897C36.4050704@edpausa.com>
References:  <45897C36.4050704@edpausa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!



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