3 releases

0.1.2 Sep 20, 2025
0.1.1 Aug 16, 2025
0.1.0 Aug 16, 2025

#25 in #lava

Download history 230/week @ 2025-08-13 26/week @ 2025-08-20 122/week @ 2025-09-17 13/week @ 2025-09-24 14/week @ 2025-10-01

171 downloads per month

MIT/Apache

26KB
532 lines

process-mumu

crates.io License: MIT OR Apache-2.0

A Lava/MuMu plugin for process and system info utilities.

Features

  • process:info: Gathers information about the current process and environment, including:
    • PID, UID, Username
    • Executable path & binary name
    • Current working directory
    • Launch arguments
    • Platform & architecture
    • Memory usage (KB)
  • Background task support with live task counting
  • Designed for use as a Lava plugin (cdylib)
In Lava:

```lava
extend("process")

process:info(slog)

slog( process:check_tasks() )

Example structure of returned info

[
  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,
]

Building

make
make install

Or use cargo build --release and copy libmumuprocess.so to your Lava plugins directory.

License

Dual-licensed under MIT or Apache-2.0, at your option.
See LICENSE.

© 2025 Tom Fotheringham and contributors

Dependencies

~7.5MB
~145K SLoC