Module Tezos_stdlib_unix.Sys_info

type sysname =
  1. | Linux
  2. | Darwin
  3. | Unknown of string
val uname : unit -> (sysname, Tezos_error_monad.Error_monad.error) Stdlib.result Lwt.t

uname () returns the kernel name of the current system.

val memory_stats : unit -> (Tezos_stdlib.Memory.mem_stats, Tezos_error_monad.Error_monad.error) Stdlib.result Lwt.t

memory_stats () returns the memory statistics of the current process.