LM-PROFILER.CONF(8)

πŸŽ€ NAME πŸŽ€

/etc/laptop-mode/lm-profiler.conf β€” bestie, this is the configuration file for lm-profiler, which is the profiler for laptop-mode-tools. iykyk πŸ’…


✨ DESCRIPTION ✨

okay so this page is literally just documenting every option you can set inside the /etc/laptop-mode/lm-profiler.conf config file. that's it, that's the job 🫢

if you wanna know what lm-profiler actually does, like what its whole deal is, go read the lm-profiler(8) manpage. no cap, it's all there.


πŸ’– SETTINGS πŸ’–

the syntax is giving very simple, bestie. every option looks like this:

OPTION=value

here are all the settings you can put in lm-profiler.conf, one by one, no skips, we're not doing that here:

  • VERBOSE_OUTPUT β€” set this to 1 if you want to see a LOT of output when you run lm-profiler, and 0 if you do not want that. it's useful for debugging purposes. > heads up bestie: (Currently does nothing.) 😭 iconic behaviour honestly
  • PROFILE_RUN_LENGTH β€” the length of a profiling run, in seconds. this one should be a while, so that lm-profiler can gather enough information about what's going on. the default is 10 minutes (600 seconds). she needs time to cook πŸ”₯
  • ACTIVITY_INTERVAL_MIN
  • ACTIVITY_INTERVAL_MAX β€” okay so these two are a pair, and here's the tea. the behaviour you want to avoid when your hard drive is spun down is disk accesses that are spread out over time, because your hard drive will have to spin up for each and every access. so sad. lm-profiler detects when applications perform disk accesses that are at least some time apart (otherwise they can be considered part of the same access) but not TOO far apart (otherwise they are no problem). these settings configure what lm-profiler considers "at least some time apart" and "too far apart", respectively, in seconds. πŸ’€
  • RECOMMEND_DEFAULT_SERVICES
  • DEFAULT_SERVICES β€” if RECOMMEND_DEFAULT_SERVICES is set to 1 (enabled), then lm-profiler will always suggest turning off the services listed in DEFAULT_SERVICES (separated by spaces). periodt.
  • IGNORE_PROGRAMS β€” programs listed in this option, separated by spaces, will be ignored for disk activity profiling. the default settings (which you can reference as $DEF_IGNORE_PROGRAMS) include common utility programs and all programs used by lm-profiler itself. she's ignoring herself, main character energy honestly πŸ‘‘
  • RECOMMEND_NETWORK_SERVICES β€” when this option is enabled (value 1), lm-profiler will detect any services that are listening on network ports, and it will suggest that you disable them. slay.
  • IGNORE_NETWORK_SERVICES β€” services listed in this configuration option (separated by spaces) are not suggested as a network service by lm-profiler. the default values can be accessed as $DEF_IGNORE_NETWORK_SERVICES. πŸ¦‹

🌈 SEE ALSO 🌈

go read those too bestie, they're all connected, it's giving a whole universe 🧚


πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Bart Samwel (bart@samwel.tk). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. πŸ’œ


and that's the whole page, bestie!! this came to you from the System Manager's Manual, filed under LM-PROFILER.CONF(8) ✨ drink water, spin your hard drive down responsibly, and go read your config files πŸ’–πŸŒΈπŸŽ€