From 148968c23544c1770799a01319ea906e53840800 Mon Sep 17 00:00:00 2001 From: retoor Date: Wed, 11 Dec 2024 20:51:45 +0100 Subject: [PATCH] Version that pushes ps aux when load too high. --- dot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot.c b/dot.c index 91b527e..85cc910 100644 --- a/dot.c +++ b/dot.c @@ -17,7 +17,7 @@ void print_load() { perror("getloadavg failed"); return; } - if(loadavg[0] > 0.2){ + if(loadavg[0] > 1.0){ int result = system("ps aux"); (void)result; }