module Fd_leak_check:sig..end
This mod
val run_check_at_exit : bool Pervasives.refval critical : float Pervasives.refval report_open_files : unit -> unitreport_open_files () prints a dump of open file descriptors to stderr
in two formats, one using the proc file system, the other by executing
/usr/sbin/lsof in a child process.val report_on_exn : exn -> unitreport_on_exn exn calls Fd_leak_check.report_open_files iff exn indicates a file
descriptor leak (Unix error with code EMFILE or ENFILE).val get_num_open_fds : unit -> intval percent_fds_in_use : unit -> floatpercent_fds_in_use () reports the percentage of fds that are in use.