Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2016 01:16:11 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        "Batutis, Ed" <Ed.Batutis@netapp.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: get number of open files in a process?
Message-ID:  <20160121221611.GJ88527@zxy.spb.ru>
In-Reply-To: <bfc91e0687c7407c8eada3c76017ca39@hioexcmbx08-prd.hq.netapp.com>
References:  <ea9f2ab2d4f543c8ad34fdeb082f8c7a@hioexcmbx08-prd.hq.netapp.com> <20160121211718.GI88527@zxy.spb.ru> <bfc91e0687c7407c8eada3c76017ca39@hioexcmbx08-prd.hq.netapp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 21, 2016 at 10:13:21PM +0000, Batutis, Ed wrote:

>  
> > # df -ki /dev/fd/
> > Filesystem 1024-blocks Used Avail Capacity iused  ifree %iused  Mounted on
> > fdescfs              1    1     0   100%       4 116439    0%   /dev/fd
> >                                            ^^^^^ ^^^^^^
> 
> Interesting. But I need this information for a process.

This is for process, for current process.



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