LOADWATCH(1)
π LOADWATCH π
okay bestie, welcome to loadwatch(1) β the iconic little tool that runs your program when the machine is idle. she's a whole vibe manager for your CPU. β¨
β¨ SYNOPSIS β¨
loadwatch [options] -p pid | [--] prog [args]
πΈ DESCRIPTION πΈ
so here's the tea. loadwatch does one of two things:
- she spawns a child process prog with the arguments args, and controls it β with all its process group π«Ά
- or she takes control of an already-running process with pid pid β also with all its process group π
and then? she lets the controlled processes run while the load average stays below high_limit. Every delay seconds, loadwatch does a lil vibe check on the load average. If the load is above high_limit, the child gets suspended π. Then she's resumed when the load falls below low_limit. it's giving responsible babysitter, ngl. π
π₯ OPTIONS π₯
a summary of options is included below. no cap, here's the whole menu:
-hhigh_limit β a decimal value that sets the system load at which the child process will be suspended. (Default:1.25)-llow_limit β a decimal value that sets the system load at which the child process will be resumed. (Default:0.25)-ddelay β an integral number of seconds that sets how often the system load will be checked. (Default:10)-ncopies β an integer value that sets the number of copies ofprogto run. (Default:1)-ufile β create a UNIX domain socket file for use bylw-ctl. π¦-ppid β the pid of the program that should be controlled by loadwatch (with all its process group).
π SEE ALSO π
π BUGS π
bestie. listen. chooselow_limitandhigh_limitcarefully. when the load drops belowlow_limit, the process(es) will be resumed β and that resume should not, by itself, cause the load to raise abovehigh_limit, or the whole thing will oscillate, periodically suspending and resuming the process(es). it's giving yoyo. πͺ
similarly, if several instances of loadwatch are running, they may resume their processes at the same time, leading to oscillations if the limits are not carefully chosen. hence, each instance of loadwatch affects every other instance on the computer, and should not be considered in isolation. fr fr. π
π AUTHOR π
this manual page was written by Dale E. Martin <dmartin@debian.org>, for the Debian GNU/Linux system (but may be used by others). It was then updated by Nicolas Boullis <nboullis@debian.org>. shoutout to the legends π«Άβ¨
July 2003 β yeah this page is a vintage queen π and she belongs to loadwatch(1), General Commands Manual. mwah, thanks for reading, go keep that load average cute. π
π
π¦ where this page comes from
- debian bookworm: loadwatch 1.0+1.1alpha1-6+b1
- debian trixie: loadwatch 1.0+1.1alpha1-8 Β· GPL
- ubuntu jammy: loadwatch 1.0+1.1alpha1-6build1
- ubuntu noble: loadwatch 1.0+1.1alpha1-7 Β· GPL
- ubuntu questing: loadwatch 1.0+1.1alpha1-9
- ubuntu resolute: loadwatch 1.0+1.1alpha1-9build1 Β· GPL
- ubuntu stonking: loadwatch 1.0+1.1alpha1-9build1 Β· GPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms