diff options
Diffstat (limited to 'cli/rt/30_os.js')
-rw-r--r-- | cli/rt/30_os.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/rt/30_os.js b/cli/rt/30_os.js index 743ecd585..adf256fc6 100644 --- a/cli/rt/30_os.js +++ b/cli/rt/30_os.js @@ -15,6 +15,10 @@ return sendSync("op_os_release"); } + function systemMemoryInfo() { + return sendSync("op_system_memory_info"); + } + function exit(code = 0) { sendSync("op_exit", { code }); throw new Error("Code not reachable"); @@ -50,6 +54,7 @@ execPath, exit, osRelease, + systemMemoryInfo, hostname, loadavg, }; |