Chapter 4, Action Programs
The Memory Action Program
- Name:
- Description:
- This action program is run whenever a memory bottleneck is diagnosed, to identify any nonessential programs.
- If the approval keyword is set to true, a list of nonessential programs will be sent with the alert notice for approval by the administrator before killing the programs.
- You define your essential and nonessential programs. Generally, an essential program is one which may use significant memory but is essential for your system or business operation. If such an essential program, for example your system backup utility, causes an alert to be triggered, the alert notice will be suppressed. Whereas, a non-essential program is one which should not consume memory to the detriment of the rest of the system. Popular games are good examples of nonessential programs.
- If the mail keyword is set to true, the user of an offending program will be mailed a polite reminder not to run the program at this time. The user will be sent repeated warnings up to the maximum specified by the warnings keyword. If the kill keyword is set to true, the program will then be killed immediately, without further warning.
Control Keywords
approval - Request approval from an administrator before taking action.
essential - List vital programs which are excused for depleting memory.
nonessential - List of programs which should not be consuming excess memory.
mail - Mail users to warn about the program use.
kill - Kill nonessential programs.
warnings - Maximum number of warnings to send.
Keyword Defaults
approval - true
essential -
nonessential -
mail - true
warnings - 2
kill - false