Module Core_extended.Unix_utils

Interface to Unix utility functions

Handling RAM limits

val physical_ram : unit ‑> int64

physical_ram ()

val ram_limit_spec : Core.Arg.t

ram_limit_spec command line arguments to set ram limits.

Signal handling

val wrap_block_signals : (unit ‑> 'a) ‑> 'a

wrap_block_signals f blocks all signals before execution of f, and restores them afterwards.

val get_ppids : Core.Pid.t ‑> Core.Pid.t list option

get_ppids pid returns the list of parent pids, up to init (1) for pid.