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 to1if you want to see a LOT of output when you runlm-profiler, and0if you do not want that. it's useful for debugging purposes. > heads up bestie: (Currently does nothing.) π iconic behaviour honestlyPROFILE_RUN_LENGTHβ the length of a profiling run, in seconds. this one should be a while, so thatlm-profilercan gather enough information about what's going on. the default is 10 minutes (600 seconds). she needs time to cook π₯ACTIVITY_INTERVAL_MINACTIVITY_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-profilerdetects 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 whatlm-profilerconsiders "at least some time apart" and "too far apart", respectively, in seconds. πRECOMMEND_DEFAULT_SERVICESDEFAULT_SERVICESβ ifRECOMMEND_DEFAULT_SERVICESis set to1(enabled), thenlm-profilerwill always suggest turning off the services listed inDEFAULT_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 bylm-profileritself. she's ignoring herself, main character energy honestly πRECOMMEND_NETWORK_SERVICESβ when this option is enabled (value1),lm-profilerwill 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 bylm-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 ππΈπ
π¦ where this page comes from
- debian bookworm: laptop-mode-tools 1.74-1.2 Β· GPL
- debian trixie: laptop-mode-tools 1.74-1.4 Β· GPL
- ubuntu jammy: laptop-mode-tools 1.74-1.1 Β· GPL
- ubuntu noble: laptop-mode-tools 1.74-1.3 Β· GPL
- ubuntu questing: laptop-mode-tools 1.74-1.4
- ubuntu resolute: laptop-mode-tools 1.74-2.1 Β· GPL
- ubuntu stonking: laptop-mode-tools 1.74-2.1 Β· GPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms