You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for your great guide. I took a closer look at your monitoring.sh file and I think you are showing too many TCP connections because wc -l will also count the header. Find my proposed solution below. Also, is there a particular reason why you use these flags: neop?
Greets
Karl
ctcp=$(ss -neopt state established | wc -l)
ctcp=$(ss -Ht state established | wc -l)
The text was updated successfully, but these errors were encountered:
Hi Pasqualerossi,
thanks for your great guide. I took a closer look at your monitoring.sh file and I think you are showing too many TCP connections because wc -l will also count the header. Find my proposed solution below. Also, is there a particular reason why you use these flags: neop?
Greets
Karl
ctcp=$(ss -neopt state established | wc -l)
ctcp=$(ss -Ht state established | wc -l)
The text was updated successfully, but these errors were encountered: