From: Auke Kok Date: Sun, 14 Apr 2013 19:54:54 +0000 (-0700) Subject: readahead: document options and commands. X-Git-Tag: v202~99 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=cfca24f3df2fc17021cee712a76ccc1ce6f1809d readahead: document options and commands. --- diff --git a/man/systemd-readahead-replay.service.xml b/man/systemd-readahead-replay.service.xml index 3d7d9f542..a00f7e589 100644 --- a/man/systemd-readahead-replay.service.xml +++ b/man/systemd-readahead-replay.service.xml @@ -56,7 +56,12 @@ systemd-readahead-collect.service systemd-readahead-done.service systemd-readahead-done.timer - /usr/lib/systemd/systemd-readahead + + /usr/lib/systemd/systemd-readahead/systemd-readahead + OPTIONS + COMMAND + DIRECTORY | FILE + @@ -103,6 +108,95 @@ optimize subsequent boot times. + + Options + + systemd-readahead understands + the following options: + + + + + + + Prints a short help text + and exits. + + + + + + Maximum number of + files to read ahead. Only valid + for thes collect + command. + + + + + + Maximum size of files + (in bytes) to read ahead. Only valid + for the collect + and replay + commands. + + + + + + Maximum time (in usec) + to to spend collecting data. Only valid + for the collect + command. + + + + + + + Commands + + The following commands are understood by + systemd-readahead: + + collect + [DIRECTORY] + + Collect read-ahead data on + early boot. When terminating it will + write out a pack file to the indicated + directory containing the read-ahead + data. + + + + + replay + [DIRECTORY] + + Perform read-ahead on the + specified directory tree. + + + + + analyze + [FILE] + + Dumps the content of the + read-ahead pack file to the + terminal. The output lists + approximately for each file + how much will be read-ahead by + the replay + command. + + + + + + See Also