Version that pushes ps aux when load too high.

This commit is contained in:
retoor 2024-12-11 20:51:45 +01:00
parent 746c84950a
commit 148968c235

2
dot.c
View File

@ -17,7 +17,7 @@ void print_load() {
perror("getloadavg failed"); perror("getloadavg failed");
return; return;
} }
if(loadavg[0] > 0.2){ if(loadavg[0] > 1.0){
int result = system("ps aux"); int result = system("ps aux");
(void)result; (void)result;
} }