diff options
| author | 2024-01-10 20:00:33 +0100 | |
|---|---|---|
| committer | 2024-01-10 20:00:33 +0100 | |
| commit | f826f02937f7f6e573514fa806e1e05838885e71 (patch) | |
| tree | f539a52faba300511460688b923a847dff7f230d | |
| parent | New command-line option 'state'. (diff) | |
| download | penes-snac2-f826f02937f7f6e573514fa806e1e05838885e71.tar.gz penes-snac2-f826f02937f7f6e573514fa806e1e05838885e71.tar.xz penes-snac2-f826f02937f7f6e573514fa806e1e05838885e71.zip | |
Updated documentation.
| -rw-r--r-- | doc/snac.1 | 22 |
1 files changed, 22 insertions, 0 deletions
| @@ -210,6 +210,28 @@ incoming activities with identifiers from that instance will be immediately | |||
| 210 | blocked without further inspection. | 210 | blocked without further inspection. |
| 211 | .It Cm unblock Ar basedir Ar instance_url | 211 | .It Cm unblock Ar basedir Ar instance_url |
| 212 | Unblocks a previously blocked instance. | 212 | Unblocks a previously blocked instance. |
| 213 | .It Cm state Ar basedir | ||
| 214 | Dumps the current state of the server and its threads. For example: | ||
| 215 | .Bd -literal -offset indent | ||
| 216 | server: comam.es (snac/2.45-dev) | ||
| 217 | uptime: 0:03:09:52 | ||
| 218 | job fifo size (cur): 45 | ||
| 219 | job fifo size (peak): 1532 | ||
| 220 | thread #0 state: input | ||
| 221 | thread #1 state: input | ||
| 222 | thread #2 state: waiting | ||
| 223 | thread #3 state: waiting | ||
| 224 | thread #4 state: output | ||
| 225 | thread #5 state: output | ||
| 226 | thread #6 state: output | ||
| 227 | thread #7 state: waiting | ||
| 228 | .Ed | ||
| 229 | .Pp | ||
| 230 | The job fifo size values show the current and peak sizes of the | ||
| 231 | in-memory job queue. The thread state can be: waiting (idle waiting | ||
| 232 | for a job to be assigned), input or output (processing I/O packets) | ||
| 233 | or stopped (not running, only to be seen while starting or stopping | ||
| 234 | the server). | ||
| 213 | .El | 235 | .El |
| 214 | .Ss Migrating an account from Mastodon | 236 | .Ss Migrating an account from Mastodon |
| 215 | See | 237 | See |