HomeFreeBSD

Add proc_nfiles(9)

Description

Add proc_nfiles(9)

which returns a snapshot of the count of the opened files in the
process.

Reviewed by: markj, olce
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D46747

Details

Provenance
kibAuthored on Sep 20 2024, 4:28 PM
Reviewer
markj
Differential Revision
D46747: getrlimitusage(2): a syscall and a tool to query current resource usage
Parents
rG869d760cb9d7: bhyve: avoid TOCTOU on iov_len in virtio_vq_recordon()
Branches
Unknown
Tags
Unknown