5ccc50b8
docs: the session list stops hiding under wire stats
a73x 2026-08-23 12:05
Commit message
README.md
| Old | New | ||
|---|---|---|---|
| @@ -120,6 +120,11 @@ wrap at the ends, and `mux --session NAME` attaches to any of them by name | |||
| 120 | (creating it if there is room). With only one session open `n` and `p` do | 120 | (creating it if there is room). With only one session open `n` and `p` do |
| 121 | nothing — there is nowhere to step to. | 121 | nothing — there is nowhere to step to. |
| 122 | 122 | ||
| 123 | To see which sessions are alive without attaching to one, ask the daemon: | ||
| 124 | `muxd stats` names every live session with the number of clients watching it. | ||
| 125 | That is the question to ask when `mux` will not let you in — four sessions is | ||
| 126 | the table, and a fifth name has nowhere to go. | ||
| 127 | |||
| 123 | Every session shell is told where it lives: `$MUX_SOCK` is the daemon's | 128 | Every session shell is told where it lives: `$MUX_SOCK` is the daemon's |
| 124 | socket path and `$MUX_SESSION` is the session's name. Scripts and prompts | 129 | socket path and `$MUX_SESSION` is the session's name. Scripts and prompts |
| 125 | can read them, and `mux` reads them to refuse attaching to the very session | 130 | can read them, and `mux` reads them to refuse attaching to the very session |
| @@ -365,7 +370,7 @@ the daemon you are attached to, and `q` puts you back where you were. | |||
| 365 | 370 | ||
| 366 | ```sh | 371 | ```sh |
| 367 | muxd dump [--vt] # debug: print the authoritative grid (what the screen *should* be) | 372 | muxd dump [--vt] # debug: print the authoritative grid (what the screen *should* be) |
| 368 | muxd stats # wire stats: deltas vs snapshot bytes, attached clients | 373 | muxd stats # live sessions by name + clients each; wire stats (deltas vs snapshot bytes) |
| 369 | make bench # typing-workload byte-ratio measurement | 374 | make bench # typing-workload byte-ratio measurement |
| 370 | ``` | 375 | ``` |
| 371 | 376 | ||