EMILUA(3em)
π NAME π
Bestie, this is Emilua β the Lua execution engine β and this page is filed as EMILUA(3em). π
β¨ SYNOPSIS β¨
Okay so hereβs the signature, no cap:
local system = require "system"
system.jail_get(params: table, flags: string[]|nil) -> integer, { [string]: string }
π DESCRIPTION π
system.jail_get retrieves jail parameters. Periodt.
params specify β as a list of strings β which parameters are desired in the returned value.
params also specify β in the same format as used by system.jail_set() β which jail to read values from. Usually "jid" or "name" are used as filters. The special parameter "lastjid" can be used to retrieve a list of all jails. π«Ά
flags may contain the following values:
"dying"β one of the valuesflagsmay contain.
πΈ EXAMPLE πΈ
Retrieve the hostname and path of jail "foo":
local jid, params = system.jail_get {
"host.hostname",
"path",
["name"] = "foo"
}
print(jid)
print(params["host.hostname"])
print(params.path)
π cute sign-off: brought to you by source/version Emilua 0.12.1-nixpkgs1 and date 1980-01-01. mwah πβ¨
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms