Module Unix_utils


module Unix_utils: sig .. end
Interface to Unix utility functions


Handling RAM limits


val physical_ram : unit -> int64
physical_ram ()
Returns the total amount of physical RAM in bytes.
val ram_limit_spec : Core.Std.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.