From: Erik Smit (smite_at_zylon.net)
Date: Wed 16 Jul 2003 - 12:50:25 BST
On Wed, Jul 16, 2003 at 12:45:15PM +0200, Oliver Dzombic wrote:
> hi,
>
> out of vserver contxt ein give a lsof as root:
>
> server1:/# lsof
> lsof: WARNING: can't stat() proc file system /vservers/s_dzepina/proc
> Output information may be incomplete.
> lsof: WARNING: can't stat() devpts file system /vservers/s_dzepina/dev/pts
> Output information may be incomplete.
> lsof: WARNING: can't stat() proc file system /vservers/t_walther/proc
> Output information may be incomplete.
> lsof: WARNING: can't stat() devpts file system /vservers/t_walther/dev/pts
> Output information may be incomplete.
> lsof: WARNING: can't stat() proc file system /vservers/r_vornholt/proc
> Output information may be incomplete.
> lsof: WARNING: can't stat() devpts file system /vservers/r_vornholt/dev/pts
> Output information may be incomplete.
> lsof: WARNING: can't stat() proc file system /vservers/shell2/proc
> Output information may be incomplete.
> lsof: WARNING: can't stat() devpts file system /vservers/shell2/dev/pts
>
> etc.
>
> how can i avoid this ?
This information is obtained from /proc/mounts I believe. I don't think
/proc/mounts has been virtualized yet.
Regards,
Erik Smit