https://github.com/ocaml-multicore/meio
Monitor Eio programs
https://github.com/ocaml-multicore/meio
console terminal
Last synced: 12 months ago
JSON representation
Monitor Eio programs
- Host: GitHub
- URL: https://github.com/ocaml-multicore/meio
- Owner: ocaml-multicore
- License: mit
- Created: 2022-02-11T21:58:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T19:05:05.000Z (about 2 years ago)
- Last Synced: 2025-03-30T20:22:59.141Z (about 1 year ago)
- Topics: console, terminal
- Language: OCaml
- Homepage:
- Size: 7.54 MB
- Stars: 78
- Watchers: 3
- Forks: 6
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - ocaml-multicore/meio - Monitor Eio programs (<a name="OCaml"></a>OCaml)
README
meio
----
*Status: Experimental*
Meio is a CLI tool for monitoring programs using [Eio][]. It allows you to see, in real-time, the running and idle fibers of your program along with the structure of the fiber tree. Fibers are also labelled with where they were spawned from and each individual fiber carries extra information about how busy it is, how often it is entered and the debug logs that have been run from the fiber. Here's what Meio looks like:

### Building meio
Meio uses custom events which will be available in OCaml 5.1. This means currently you must use a few forked libraries.
To build Meio locally:
```
$ opam switch create . 5.1.0~rc1 --no-install
$ opam install --deps-only .
$ dune build
```
You can install meio with `dune install ./meio.opam` and then run one of the example programs from Meio.
```
$ meio _build/default/example/burn.exe
```
[Eio]: https://github.com/ocaml-multicore/eio