summaryrefslogtreecommitdiff
path: root/system/preload/preload.8
blob: ef8341861213af8c0ce4414a4e7638988636a41c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
.TH PRELOAD "8" "September 2005" "preload 0.2" "System Administration Utilities"
.SH NAME
preload \- Adaptive readahead daemon
.SH SYNOPSIS
.B preload
[\fIOPTION\fR]...
.SH DESCRIPTION
preload is an adaptive readahead daemon that prefetches files mapped by
applications from the disk to reduce application startup time.
.TP
\fB\-h\fR, \fB\-\-help\fR
Display this information and exit.
.TP
\fB\-v\fR, \fB\-\-version\fR
Display version information and exit.
.TP
\fB\-c\fR, \fB\-\-conffile\fR
Set configuration file. Empty string means no conf file.
(default is /home/behdad/.local/etc/preload.conf)
.TP
\fB\-s\fR, \fB\-\-statefile\fR
Set state file to load/save. Empty string means no state.
(default is /home/behdad/.local/var/preload/preload.state)
.TP
\fB\-l\fR, \fB\-\-logfile\fR
Set log file. Empty string means to log to stderr.
(default is /home/behdad/.local/var/log/preload.log)
.TP
\fB\-f\fR, \fB\-\-foreground\fR
Run in foreground, do not daemonize.
.TP
\fB\-n\fR, \fB\-\-nice\fR
Nice level.
(default is 15)
.TP
\fB\-V\fR, \fB\-\-verbose\fR
Set the verbosity level.  Levels 0 to 10 are recognized.
(default is 4)
.TP
\fB\-d\fR, \fB\-\-debug\fR
Debug mode: \fB\-\-logfile\fR '' \fB\-\-foreground\fR \fB\-\-verbose\fR 9
.SH SIGNALS

On receipt of a SIGHUP, the daemon will close and reopen its log file, and
reread the configuratoin file.

On receipt of a SIGUSR1, the daemon dumps the currently loaded configuration
into the log file.

On receipt of a SIGUSR2, the daemon saves its state into the state file.
.SH AUTHOR
Written by Behdad Esfahbod <behdad@gnu.org>
.SH COPYRIGHT
Copyright \(co 2005 Behdad Esfahbod.
.br
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.