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