PRELOAD(8)

๐Ÿ“ฆ
version 0.6.4 ยท 5 versions
, in ubuntu noble, ubuntu questing

โœจ PRELOAD โœจ (that's the preload(8) girlies โ€” system administration utilities energy ๐Ÿ’…)

okay so bestie, sit DOWN, because this little daemon is about to make your app startup times absolutely slay ๐Ÿฆ‹

๐ŸŒธ NAME ๐ŸŒธ

preload โ€” the adaptive readahead daemon, aka your apps' personal hype squad ๐ŸŽ€


โญ SYNOPSIS โญ

preload [OPTION]...

that's it. that's the whole vibe. options only, no positional drama ๐Ÿ™ˆ


๐Ÿ’– DESCRIPTION ๐Ÿ’–

okay so preload is an adaptive readahead daemon โ€” which is a fancy way of saying it prefetches the files your applications map from the disk, so that when you actually go to open them, everything is already warm and cozy and your startup time goes ๐Ÿ“‰ down. it's literally doing the homework before the teacher assigns it. main character energy fr fr ๐Ÿ‘‘

and here are all the flags, no cap, every single one:

  • -h, --help โ€” shows you the command line parameters AND their default values, then dips. cute, informative, no notes โœจ
  • -v, --version โ€” prints the version info and exits. the "who am i" moment ๐Ÿชž
  • -c, --conffile โ€” set the configuration file. an empty string means no conf file at all, bestie. (default is /etc/preload.conf) ๐Ÿ—‚๏ธ
  • -s, --statefile โ€” set the state file to load/save. empty string means no state, like, at all. (default is /var/lib/preload/preload.state) ๐Ÿ’พ
  • -l, --logfile โ€” set the log file. empty string means log to stderr instead. (default is /var/log/preload.log) ๐Ÿ“
  • -f, --foreground โ€” run in the foreground, do NOT daemonize. she stays right there with you, holding your hand ๐Ÿซถ
  • -n, --nice โ€” the nice level. (default is 15) ๐Ÿ˜‡
  • -V, --verbose โ€” set the verbosity level. levels 0 to 10 are recognized, so pick your yapping intensity. (default is 4) ๐Ÿ—ฃ๏ธ
  • -d, --debug โ€” debug mode, which is literally just --logfile '' --foreground --verbose 9 all bundled up. maximum chaos, maximum output ๐Ÿ’€

๐Ÿ”” SIGNALS ๐Ÿ””

she listens, okay? she's a good listener. here's what makes her do stuff:

  • on receipt of a SIGHUP, the daemon will close and reopen its log file, AND reread the configuration file. glow-up + re-education moment ๐ŸŒˆ
  • on receipt of a SIGUSR1, the daemon dumps the currently loaded configuration into the log file. like a diary entry but for settings ๐Ÿ““
  • on receipt of a SIGUSR2, the daemon saves its state into the state file. she's preserving herself for the future, iconic behavior ๐Ÿ‘‘

๐ŸŽ€ AUTHOR ๐ŸŽ€

Written by Behdad Esfahbod <behdad@gnu.org> โ€” thank you for your service king ๐Ÿซก๐Ÿ’œ


๐Ÿ› REPORTING BUGS ๐Ÿ›

found a bug? don't be shy, report it to <http://preload.sf.net/bug> โ€” they want to know, bestie, fr fr ๐Ÿ“ฎ


Copyright ยฉ 2005,2006,2007,2008 Behdad Esfahbod.

This is free software; see the source for copying conditions. and listen โ€” there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, none. zero. nada. don't come for her if it breaks ๐Ÿ˜ญ


okay that's the whole page, you're so welcome, go forth and readahead responsibly ๐Ÿ’…โœจ

preload 0.6.4 ยท April 2024 โ€” and that's the footer, so like, that's the version and the date, mwah, bye bestie ๐Ÿฆ‹๐ŸŽ€๐Ÿ’–

๐Ÿ“ฆ where this page comes from