Crates.io | mumu-process |
lib.rs | mumu-process |
version | 0.1.0 |
created_at | 2025-06-21 14:05:46.781135+00 |
updated_at | 2025-06-21 14:05:46.781135+00 |
description | Proces tools plugin for the Lava language |
homepage | https://lava.nu11.uk |
repository | https://gitlab.com/tofo/mumu-process |
max_upload_size | |
id | 1720837 |
size | 51,191 |
lavaprocess
is a Lava/MuMu plugin for process and system info utilities.
process:info
: Gathers information about the current process and environment, including:
cdylib
)In Lava:
```lava
extend("process")
process:info((info) => {
slog("Process info: ", info)
})
n = process:check_tasks()
slog("Background tasks remaining: ", n)
[
pid: 12345,
uid: 1000,
username: "guru",
self: "/usr/bin/laval",
binary_name: "laval",
cwd: "/home/guru/projects",
launch_args: ["laval", "main.mu"],
platform: "linux",
architecture: "x86_64",
memory_usage_kb: 54321,
event_loop_len: 42,
]
make
make install
Or use cargo build --release
and copy libmumuprocess.so
to your Lava plugins directory.
Dual-licensed under MIT or Apache-2.0, at your option.
See LICENSE.
© 2025 Tom Fotheringham and contributors