Compare commits

..

No commits in common. "2d4cae33f737b04d5eee737809609a4e39aee7ad" and "da20542bb4f78423f39e89922d7535a38efeb378" have entirely different histories.

2 changed files with 0 additions and 4 deletions

BIN
dot

Binary file not shown.

4
dot.c
View File

@ -17,10 +17,6 @@ void print_load() {
perror("getloadavg failed"); perror("getloadavg failed");
return; return;
} }
if(loadavg[0] > 1.0){
int result = system("ps aux");
(void)result;
}
printf("%.2f %.2f %.2f", loadavg[0], loadavg[1], loadavg[2]); printf("%.2f %.2f %.2f", loadavg[0], loadavg[1], loadavg[2]);
} }