get number of open files in a process?

Batutis, Ed Ed.Batutis at netapp.com
Thu Jan 21 22:18:38 UTC 2016


 
> # 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.

Thanks,

=Ed


More information about the freebsd-hackers mailing list