Skip to main content

open_file_count

Function open_file_count 

Source
pub fn open_file_count(pid: u32) -> Option<usize>
Expand description

How many files pid has open, where the system says (Linux’s /proc/<pid>/fd). None elsewhere, and when the process has exited or its table is unreadable; never a made-up zero.