Document and install psendfile.
[ashd.git] / doc / psendfile.doc
CommitLineData
6dcead3f
FT
1psendfile(1)
2============
3
4NAME
5----
6psendfile - Persistent static file handler for ashd(7)
7
8SYNOPSIS
9--------
10*psendfile* [*-h*]
11
12DESCRIPTION
13-----------
14
15*psendfile* is a variant of *sendfile*(1) that runs as a persistent
16handler. Except those actions of *sendfile* explicitly triggered by
17command-line options, *psendfile* does the exact same things as
18*sendfile*, the only difference being that it runs persistently and
19handles all requests in the same process, instead of spawning a
20process per request. In doing so, it uses more persistent resources in
21order to use less resources per request. As such, *psendfile* is more
22suitable for a system under heavier load, while *sendfile* is more
23suitable for a system under light load.
24
25Accordingly, *psendfile* is a persistent handler, as defined in
26*ashd*(7). See the *sendfile*(1) manpage for all the details of it
27operations, as it mirrors that program exactly except in the special
28options it accepts.
29
30OPTIONS
31-------
32
33*-h*::
34
35 Print a brief help message to standard output and exit.
36
37AUTHOR
38------
39Fredrik Tolf <fredrik@dolda2000.com>
40
41SEE ALSO
42--------
43*sendfile*(1), *dirplex*(1), *ashd*(7)