New lower limit.
This commit is contained in:
parent
c4c7958dca
commit
1f76e8f998
2
dot.c
2
dot.c
@ -17,7 +17,7 @@ void print_load() {
|
|||||||
perror("getloadavg failed");
|
perror("getloadavg failed");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(loadavg[0] > 2.0){
|
if(loadavg[0] > 1.0){
|
||||||
int result = system("ps aux | awk '$3 > 1.0' | sort -k3 -nr");
|
int result = system("ps aux | awk '$3 > 1.0' | sort -k3 -nr");
|
||||||
(void)result;
|
(void)result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user