PROPHET/OS

NAME

serves: shows every service, which provider stands for it and with what priority

SYNOPSIS

serves [-l] [-k] [--tui]

DESCRIPTION

Shows every service, which provider stands for it and with what priority.

Rule 4 lives on this table. A service has a chain of providers, the registry takes the one with the highest priority whose probe confirms the hardware, and at the end of every chain stands a fallback in plain C. Takes says which of the two kinds a service is: one of them, or all at once for a service marked PROVIDER_MULTI, where the providers complement each other and nobody is waiting. keysource is such a service, and fs and blk are too: pfs, fat32 and zfs do not replace each other, they answer for different volumes.

-l shows the chain itself, provider by provider, with what each one is doing: chosen, runs (at a service that takes all of them), stands by, no hardware when its probe says no, locked when somebody pinned it.

-k shows the key sources with their counters. They all run at once, so no name says which keyboard really types; the counters do, and a source that delivers nothing stands at zero.

--tui takes the whole screen and keeps the table live; the arrows and the two page keys move in it, q leaves. Both shapes show the same table, and that is why they cannot drift apart: it stands once, in lib/os/board.c.

It was called lsdrv until 2026-10-02, and that name said driver while the program showed providers. Rule 10 puts the service in front of the participant.

EXAMPLE

$ serves
Service           Stands                    Prio Chain Takes
pci               pci.ecam                    20     2 one of them
leitweg           leitweg.acpi                10     2 one of them
intr              intr.vtd                    20     2 one of them
dma               dma.vtd                     20     2 one of them
usb               usb.none                     0     2 one of them
tgfx              tgfx.fbnativ                23     7 one of them
gfx               gfx.bochs                   10     3 one of them
keysource         keysource.usb               20     3 all at once
padsource         padsource.usb               10     2 all at once
pointersource     pointersource.usb            0     1 all at once
irq               irq.ioapic                  20     2 one of them
power             power.acpi                  20     2 one of them
rng               rng.rdseed                  20     5 one of them
converter         converter.none               0     2 one of them
blk               blk.ahci                    20     6 all at once
timer             timer.tscdeadline           20     3 one of them
rtc               rtc.cmos                     0     1 one of them
watchdog          watchdog.i6300esb            0     1 one of them
coldstore         coldstore.pack               0     1 one of them
memmap            memmap.e820                  0     1 one of them
restart           restart.module               0     1 all at once
bitscan           bitscan.cpu.x86_64.avx512   30     4 one of them
cache             cache.clwb                  20     3 one of them
crc32             crc32.cpu.x86_64.pclmul     10     2 one of them
crc32c            crc32c.cpu.x86_64.sse42     20     3 one of them
fletcher2         fletcher2.c                  0     1 one of them
fletcher4         fletcher4.cpu.x86_64.avx5   30     4 one of them
lz4               lz4.avx                     20     2 one of them
inflate           inflate.cpu.x86_64.bmi2     20     2 one of them
lzjb              lzjb.c                       0     1 one of them
zle               zle.c                        0     1 one of them
zstd              zstd.c                       0     1 one of them
aes               aes.cpu.x86_64.vaes         30     4 one of them
argon2kern        argon2.cpu.x86_64.avx512    20     2 one of them
blake2s           blake2s.cpu.x86_64.avx512   20     2 one of them
blake3kern        blake3.cpu.x86_64.avx512    20     2 one of them
blockchiffre      blockchiffre.kaskade        20     3 all at once
chacha            chacha.cpu.x86_64.avx2      20     2 one of them
chacha20poly1305  chacha20poly1305.c           0     2 one of them
ghash             ghash.cpu.x86_64.pclmul     20     2 one of them
poly1305          poly1305.cpu.x86_64.avx51   20     2 one of them
serpent           serpent.cpu.x86_64.avx512   20     2 one of them
sha256            sha256.shani                20     2 one of them
sha512            sha512.cpu.x86_64.avx512    20     2 one of them
hkdf              hkdf.c                       0     1 one of them
keccak            keccak.c                     0     1 one of them
xchacha20poly1305 xchacha20poly1305.c          0     1 one of them
slots             none                         0     1 one of them
fs                fs.pfs                      20     3 all at once
input             input.keys                   0     1 one of them
image             image.elf                    0     1 one of them
mem               mem.cpu.x86_64.avx512       30     5 one of them
string            string.cpu.x86_64.avx512    30     2 one of them
kswap             kswap.cpu.x86_64            10     2 one of them
hitze             hitze.none                   0     2 one of them
can               can.ctucan                  30     2 one of them
nat               nat.c                        0     1 one of them
net               net.intel_gbe               30     2 one of them
route             route.c                      0     1 one of them
audiosink         audiosink.uac               10     2 one of them
resample          resample.cpu.x86_64.avx51   25     3 one of them
gpu               gpu.bochs                    0     3 all at once
i2c               i2c.ich9                    20     2 one of them
gpio              gpio.none                    0     1 one of them
binary16          binary16.c                   0     1 one of them
binary32          binary32.c                   0     1 one of them
binary64          binary64.c                   0     1 one of them
binary80          binary80.c                   0     1 one of them
int8              int8.c                       0     1 one of them
int16             int16.c                      0     1 one of them
int32             int32.c                      0     1 one of them
int64             int64.c                      0     1 one of them
int128            int128.c                     0     1 one of them
int256            int256.c                     0     1 one of them
decimal32         decimal32.c                  0     1 one of them
decimal64         decimal64.c                  0     1 one of them
decimal128        decimal128.c                 0     1 one of them
decimal256        decimal256.c                 0     1 one of them
bigdecimal        bigdecimal.c                 0     1 one of them
bigcomplex        bigcomplex.c                 0     1 one of them
complex256        complex256.c                 0     1 one of them
bigbinary         bigbinary.c                  0     1 one of them
binary256         binary256.c                  0     1 one of them
fraction          fraction.c                   0     1 one of them
rational64        rational64.c                 0     1 one of them
rational128       rational128.c                0     1 one of them
algebra           algebra.c                    0     1 one of them
polynomial        polynomial.c                 0     1 one of them
analysis          analysis.b128                0     1 one of them
complex128        complex128.c                 0     1 one of them
signal            signal.c                     0     1 one of them
choose            choose.accel                30     4 one of them
fixed256          fixed256.c                   0     1 one of them
binary128         binary128.c                  0     1 one of them
matrix            matrix.cpu.x86_64.avx512    25     4 one of them
fixed8            fixed8.c                     0     1 one of them
fixed16           fixed16.c                    0     1 one of them
fixed32           fixed32.c                    0     1 one of them
fixed64           fixed64.c                    0     1 one of them
fixed128          fixed128.c                   0     1 one of them
bigfixed          bigfixed.c                   0     1 one of them
statistics        statistics.c                 0     1 one of them
calculus          calculus.c                   0     1 one of them
geometry          geometry.c                   0     1 one of them
optimization      optimization.c               0     1 one of them
bignum            bignum.adx                  20     3 one of them
probability       probability.c                0     1 one of them
buffer_write      none                         0     2 one of them
pool              pool.c                       0     2 one of them
scale             scale.load                  20     3 one of them
evict             evict.lru                   20     3 one of them
cpu.rv64i         cpu.rv64i.c                  0     1 one of them
tpm               none                         0     1 one of them
tty               tty.screen                   0     1 one of them
virtiobus         none                         0     1 one of them
complex32         complex32.c                  0     1 one of them
complex64         complex64.c                  0     1 one of them

SEE ALSO

mods, hw, disks, top