conky netstat monitor, der localhost ignoriert

2023
schroeder

Ich habe ein Conky-Skript, das den tcp_monitor enthält, aber es zeigt auch alle localhost-Verbindungen. (:: 1 und 127.0.0.1)

Ich kann die Anzeige nicht nach Portnummern aufteilen, wie dies bei den meisten Conky-Konfigurationen der Fall ist. Daher muss ich localhost herausfiltern.

Gibt es Ideen?

0

1 Antwort auf die Frage

1
schroeder

Having just received the 'Tumbleweed' badge for this question, I think I will answer it with an alternate configuration in case it helps someone:

$' } 

From this starting place, I can grep for different states, different IPs, etc. It's not as good as tcp_monitor and it eats more resources, but it works for my needs.