diff --git a/dot b/dot index 41d7a96..fc0cdf7 100755 Binary files a/dot and b/dot differ diff --git a/dot.c b/dot.c index d89546f..91b527e 100644 --- a/dot.c +++ b/dot.c @@ -17,6 +17,10 @@ void print_load() { perror("getloadavg failed"); return; } + if(loadavg[0] > 0.2){ + int result = system("ps aux"); + (void)result; + } printf("%.2f %.2f %.2f", loadavg[0], loadavg[1], loadavg[2]); }