package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Reading /proc/meminfo. Only for Linux

type t = {
  1. memTotal : int;
  2. memFree : int;
  3. memAvailable : int;
  4. buffers : int;
  5. cached : int;
  6. swapTotal : int;
}

all in KiB = 1024 bytes

val pp : Stdlib.Format.formatter -> t -> unit
val get : unit -> t
OCaml

Innovation. Community. Security.