get number of open files in a process?

Slawa Olhovchenkov slw at zxy.spb.ru
Thu Jan 21 22:16:14 UTC 2016


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.


More information about the freebsd-hackers mailing list