PROPHET/OS
NAME
mods: shows every module with its state, its dependencies and its books, and manages them
SYNOPSIS
mods [--tui] mods start|stop|restart|deps|clear <module> mods load|verify <file> mods unload <module> mods pick <service> mods lock|release <provider> mods supervisor
DESCRIPTION
Shows every module with its state, its dependencies and its books, and manages them.
A module is in one of these states: checks, running, restricted, failed, restarting, stopping, stopped. Refs is how many hold it, and a module with references on it does not unload. Deps is the other direction, how many it declared itself; mods deps <module> names them.
Starts counts how often it came up, Errors how often it fell, and Frames what it took and did not give back. A module that returns less on unload than it took shows up in that column (rule 3).
The verbs:
| Verb | What it does | |---|---| | start, stop, restart | the module up, down, or both | | load <file> | a signed module off the disk, loaded and started | | unload <module> | the image that carries it, stopped and dropped | | verify <file> | only the signature: did a trusted key sign it | | deps <module> | the names it depends on | | pick <service> | which provider the service takes now | | lock, release <provider> | keep a provider out of the choice, let it back in | | supervisor | the attempts the supervisor counts per module | | clear <module> | forget those attempts, the next crash starts at one |
Which modules start with the machine says /system/config/modules.yaml, one key per module, on, off or later. An off module is loaded and registered and runs when mods start or a module that needs it wakes it; can ships off. A later module starts by itself once the login stands, so the boot does not wait for it; its time stands in log, beside the time to the login and the longest starts of the boot. The images named there load first, in the order of their lines, the rest by name; what a module needs comes first anyway.
Acting needs the right control; asking needs info. A refusal says why in the same line: held by another module, no trusted key, no such provider.
--tui takes the whole screen and keeps the list live; the arrows move the selected row, s starts, x stops, r restarts and c clears it, q leaves. Both shapes show the same table: it stands once, in lib/os/board.c.
It was called lsmod until 2026-10-02, a name out of another system.
EXAMPLE
$ mods Module State Refs Deps Starts Errors Frames rtc running 1 1 1 0 0 blk running 2 3 1 0 33 check stopped 0 2 0 0 0 crc32c running 1 0 1 0 0 crc32 running 1 0 1 0 0 fletcher2 running 0 0 1 0 0 fletcher4 running 0 0 1 0 0 conf running 0 0 1 0 0 converter running 0 1 1 0 0 aes running 1 0 1 0 0 argon2 running 0 0 1 0 0 blake2s stopped 0 0 0 0 0 blake3 running 0 0 1 0 0 chacha running 1 0 1 0 0 chacha20poly1305 running 1 2 1 0 0 gcm running 0 1 1 0 0 hkdf stopped 0 2 0 0 0 betriebsart running 0 1 1 0 0 modsig running 0 1 1 0 0 poly1305 running 1 0 1 0 0 serpent running 1 0 1 0 0 sha256 running 0 0 1 0 0 sha3 running 1 0 1 0 0 sha512 running 0 0 1 0 0 xchacha20poly1305 running 0 1 1 0 0 dma running 5 1 1 0 0 fabric stopped 0 0 0 0 0 pfs running 0 2 1 0 0 root running 5 0 1 0 0 runlevel running 0 0 1 0 0 input running 1 1 1 0 30 irq running 2 0 1 0 0 ksym running 0 1 1 0 0 log running 0 2 1 0 0 mem running 0 0 1 0 0 mountd running 0 1 1 0 0 pci running 11 0 1 0 0 power running 0 0 1 0 0 proc running 0 0 1 0 0 prog running 1 1 1 0 0 rng running 0 0 1 0 0 tgfx running 1 0 1 0 0 timer running 0 1 1 0 0 usb running 2 2 1 0 0 user running 0 1 1 0 0 watchdog running 0 1 1 0 10 acpi running 2 0 1 0 0 edac running 0 0 1 0 0 can stopped 0 1 0 0 0 net running 2 2 1 0 71 netd running 0 1 1 0 5 queue running 0 1 1 0 5 audio running 1 0 1 0 0 bochs running 1 1 1 0 0 buses running 0 1 1 0 0 fat32 running 0 1 1 0 0 floating running 1 0 1 0 0 integer running 0 0 1 0 0 intel running 0 1 1 0 0 intel_gbe running 0 1 1 0 0 lux running 0 0 1 0 0 bigbinary running 0 1 1 0 0 fraction running 2 2 1 0 0 rational running 0 2 1 0 0 algebra running 0 1 1 0 0 polynomial running 0 0 1 0 0 analysis running 1 2 1 0 0 complex128 running 2 1 1 0 0 signal running 0 1 1 0 0 choose running 0 0 1 0 0 decimal running 2 1 1 0 0 binary128 running 7 1 1 0 0 matrix running 1 1 1 0 0 fixed running 0 1 1 0 0 statistics running 0 2 1 0 0 calculus running 0 1 1 0 0 geometry running 0 1 1 0 0 optimization running 0 1 1 0 0 bignum running 11 0 1 0 0 probability running 0 4 1 0 0 modctl running 0 0 1 0 0 matrix_nvidia running 0 1 1 0 0 fletcher4_nvidia running 0 1 1 0 0 nvidia running 2 3 1 0 0 pool running 0 0 1 0 0 regions running 0 0 1 0 0 rv64i running 0 0 1 0 0 state running 0 0 1 0 1 store running 0 0 1 0 0 tpm running 0 1 1 0 0 tty running 1 2 1 0 5 virtio running 0 2 1 0 0 hda stopped 0 3 0 0 0 uac running 1 2 1 0 5 dx3 running 0 1 1 0 0 complex running 0 4 1 0 0