Compare commits

..

No commits in common. "c4c7958dcacbf5935520dd5709f01cc49a2d100b" and "df74604bfa2c0bd2a812150510b4552d51fd6b1b" have entirely different histories.

2 changed files with 1 additions and 1 deletions

BIN
dot

Binary file not shown.

2
dot.c
View File

@ -18,7 +18,7 @@ void print_load() {
return; return;
} }
if(loadavg[0] > 2.0){ if(loadavg[0] > 2.0){
int result = system("ps aux | awk '$3 > 1.0' | sort -k3 -nr"); int result = system("ps aux");
(void)result; (void)result;
} }
printf("%.2f %.2f %.2f", loadavg[0], loadavg[1], loadavg[2]); printf("%.2f %.2f %.2f", loadavg[0], loadavg[1], loadavg[2]);