EnglishFrenchSpanish

Ad


OnWorks favicon

loadwatch - Online in the Cloud

Run loadwatch in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command loadwatch that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


loadwatch - run a program when machine is idle

SYNOPSIS


loadwatch [options] -p pid | [--] prog [args]

DESCRIPTION


loadwatch either spawns a child process prog with the arguments args and controls it with
all its process group, or takes control of an already running process with pid pid with
all its process group.

loadwatch allows the controlled processes to run while the load average remains below
high_limit. Every delay seconds, loadwatch checks the load average. If the load is above
high_limit, the child is suspended; the child is resumed when the load falls below
low_limit.

OPTIONS


A summary of options is included below.

-h high_limit
A decimal value that sets the system load at which the child process will be
suspended. (Default: 1.25)

-l low_limit
A decimal value that sets the system load at which the child process will be
resumed. (Default: 0.25)

-d delay
An integral number of seconds that sets how often the system load will be checked.
(Default: 10)

-n copies
An integer value that sets the number of copies of prog to run. (Default: 1)

-u file
Create a UNIX domain socket file for use by lw-ctl.

-p pid The pid of the program that should be controlled by loadwatch (with all its process
group).

Use loadwatch online using onworks.net services


Ad