~ubuntu-branches/ubuntu/trusty/systemd/trusty

« back to all changes in this revision

Viewing changes to man/systemd-readahead-replay.service.xml

Tags: upstream-202
ImportĀ upstreamĀ versionĀ 202

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
                <para><filename>systemd-readahead-collect.service</filename></para>
57
57
                <para><filename>systemd-readahead-done.service</filename></para>
58
58
                <para><filename>systemd-readahead-done.timer</filename></para>
59
 
                <para><filename>/usr/lib/systemd/systemd-readahead</filename></para>
 
59
                <cmdsynopsis>
 
60
                        <command>/usr/lib/systemd/systemd-readahead/systemd-readahead</command>
 
61
                        <arg choice="opt" rep="repeat">OPTIONS</arg>
 
62
                        <arg choice="plain">COMMAND</arg>
 
63
                        <arg choice="opt">DIRECTORY | FILE</arg>
 
64
                </cmdsynopsis>
60
65
        </refsynopsisdiv>
61
66
 
62
67
        <refsect1>
104
109
        </refsect1>
105
110
 
106
111
        <refsect1>
 
112
                <title>Options</title>
 
113
 
 
114
                <para><filename>systemd-readahead</filename> understands
 
115
                the following options:</para>
 
116
 
 
117
                <variablelist>
 
118
                        <varlistentry>
 
119
                                <term><option>-h</option></term>
 
120
                                <term><option>--help</option></term>
 
121
 
 
122
                                <listitem><para>Prints a short help text
 
123
                                and exits.</para></listitem>
 
124
                        </varlistentry>
 
125
 
 
126
                        <varlistentry>
 
127
                                <term><option>--max-files=</option></term>
 
128
 
 
129
                                <listitem><para>Maximum number of
 
130
                                files to read ahead. Only valid
 
131
                                for thes <command>collect</command>
 
132
                                command.</para></listitem>
 
133
                        </varlistentry>
 
134
 
 
135
                        <varlistentry>
 
136
                                <term><option>--file-size-max=</option></term>
 
137
 
 
138
                                <listitem><para>Maximum size of files
 
139
                                (in bytes) to read ahead. Only valid
 
140
                                for the <command>collect</command>
 
141
                                and <command>replay</command>
 
142
                                commands.</para></listitem>
 
143
                        </varlistentry>
 
144
 
 
145
                        <varlistentry>
 
146
                                <term><option>--timeout=</option></term>
 
147
 
 
148
                                <listitem><para>Maximum time (in usec)
 
149
                                to to spend collecting data. Only valid
 
150
                                for the <command>collect</command>
 
151
                                command.</para></listitem>
 
152
                        </varlistentry>
 
153
                </variablelist>
 
154
 
 
155
        </refsect1>
 
156
 
 
157
        <refsect1>
 
158
                <title>Commands</title>
 
159
 
 
160
                <para>The following commands are understood by
 
161
                <filename>systemd-readahead</filename>:</para> <variablelist>
 
162
                        <varlistentry>
 
163
                                <term><command>collect
 
164
                                [<replaceable>DIRECTORY</replaceable>]</command></term>
 
165
                                <listitem>
 
166
                                        <para>Collect read-ahead data on
 
167
                                        early boot. When terminating it will
 
168
                                        write out a pack file to the indicated
 
169
                                        directory containing the read-ahead
 
170
                                        data. </para>
 
171
                                </listitem>
 
172
                        </varlistentry>
 
173
 
 
174
                        <varlistentry>
 
175
                                <term><command>replay
 
176
                                [<replaceable>DIRECTORY</replaceable>]</command></term>
 
177
                                <listitem>
 
178
                                        <para>Perform read-ahead on the
 
179
                                        specified directory tree.</para>
 
180
                                </listitem>
 
181
                        </varlistentry>
 
182
 
 
183
                        <varlistentry>
 
184
                                <term><command>analyze
 
185
                                [<replaceable>FILE</replaceable>]</command></term>
 
186
                                <listitem>
 
187
                                        <para>Dumps the content of the
 
188
                                        read-ahead pack file to the
 
189
                                        terminal. The output lists
 
190
                                        approximately for each file
 
191
                                        how much will be read-ahead by
 
192
                                        the <command>replay</command>
 
193
                                        command.</para>
 
194
                                </listitem>
 
195
                        </varlistentry>
 
196
 
 
197
                </variablelist>
 
198
        </refsect1>
 
199
 
 
200
        <refsect1>
107
201
                <title>See Also</title>
108
202
                <para>
109
203
                        <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>