Hi,
I'd like to know if it's possible for periodic to avoid running when load is high.
Periodically the server runs some jobs. Sometimes they might complete in 30 mins. Sometimes 3 hrs.
When jobs are running, load is over 3 (300%). I want periodic to look for the load and if it's over that value,
to delay for 1 hour. Is there already a tool for this? if not, how would I script it?
freebsd is 13.2 & 14.0
I'd like to know if it's possible for periodic to avoid running when load is high.
Periodically the server runs some jobs. Sometimes they might complete in 30 mins. Sometimes 3 hrs.
When jobs are running, load is over 3 (300%). I want periodic to look for the load and if it's over that value,
to delay for 1 hour. Is there already a tool for this? if not, how would I script it?
freebsd is 13.2 & 14.0