chore: remove commented-out top command from print_load in dot.c

This commit is contained in:
retoor 2024-12-11 21:04:20 +00:00
parent c1626ef222
commit 9e70f2d906

1
dot.c
View File

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