Module Core_unix.RLimit

Resource limits

module Limit : sig ... end
type limit = Limit.t =
| Limit of int64
| Infinity
val sexp_of_limit : limit -> Ppx_sexp_conv_lib.Sexp.t
val limit_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> limit
type t = {
cur : limit;

soft limit

max : limit;

hard limit (ceiling for soft limit)

}
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
type t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
type resource
val sexp_of_resource : resource -> Ppx_sexp_conv_lib.Sexp.t
val resource_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> resource
val core_file_size : resource
val cpu_seconds : resource
val data_segment : resource
val file_size : resource
val num_file_descriptors : resource
val stack : resource
val virtual_memory : resource Core__.Import.Or_error.t
val nice : resource Core__.Import.Or_error.t
val get : resource -> t
val set : resource -> t -> unit