https://opam.ocaml.org/packages/unix-sys-resource/ may help
https://opam.ocaml.org/packages/unix-sys-resource/ may help