mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +02:00
Delete loadMon.sh
This commit is contained in:
parent
428668c19a
commit
ec1823f8ab
10
loadMon.sh
10
loadMon.sh
@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
trigger=5.00
|
|
||||||
load=`cat /proc/loadavg | awk '{print $1}'`
|
|
||||||
response=`echo | awk -v T=$trigger -v L=$load 'BEGIN{if ( L > T){ print "greater"}}'`
|
|
||||||
if [[ $response = "greater" ]]
|
|
||||||
then
|
|
||||||
killall screen
|
|
||||||
sleep 8m
|
|
||||||
bash /home/allianceserver/allianceauth/start_bg_tasks.sh
|
|
||||||
fi
|
|
Loading…
x
Reference in New Issue
Block a user