Skip to content

Lua API System

Leonard Ramminger edited this page Aug 10, 2026 · 1 revision

Lua API — System (beez.sys)

Function Returns
cpu_cores() number
cpu_threads() number
ram_total() bytes
ram_free() bytes
cwd() string
tmp_dir() string
path_separator() "/" or "\\"
pid() number
user() string
is_tty() boolean
local parallelism = math.min(beez.sys.cpu_threads(), 16)

← Lua API Overview

Clone this wiki locally