I would very much appreciate it if someone would please explain what the
following code in the in the majordomo.cf file does.
# You can force Majordomo to delay any processing if the system load is too
# high by uncommenting the following lines. THIS ONLY WORKS if your "uptime"
# command (usually found in /usr/bin/uptime or /usr/bsd/uptime)
# returns a string like:
# 5:23pm up 5:51, 9 users, load average: 0.19, 0.25, 0.33
#
#$max_loadavg = 10; # Choose the maximum allowed load
#
#$uptime = `/usr/bin/uptime` if -x </usr/bin/uptime>; # Get system uptime
#$uptime = `/usr/bsd/uptime` if -x </usr/bsd/uptime>; # or uptime is over here.
#
#($avg_1_minute, $avg_5_minutes, $avg_15_minutes) =
# $uptime =~ /average:\s+(\S+),\s+(\S+),\s+(\S+)/;
#
#exit 75 if ($avg_15_minute >= $max_loadavg); # E_TEMPFAIL
#
Kindest Regards,
_______________________________________
Susan Chin
Computing Services
San Francisco State University
Follow-Ups:
|
|