← Back to context Comment by throw0101d 8 hours ago % netstat -an | grep -c TIME_WAIT | wc -l 1 2 comments throw0101d Reply Aloisius 8 hours ago You want to drop the wc -l.Mac `grep -c` counts lines that match, so it always prints 1 line, so piping to wc -l will always return 1.Or just open up and do netstat -an |grep TCP_WAIT and just watch it. If any don't disappear after a few minutes, then you're seeing the issue. comex 33 minutes ago They probably aren’t affected because the buggy code was only added in macOS 26:https://github.com/apple-oss-distributions/xnu/blame/f6217f8...
Aloisius 8 hours ago You want to drop the wc -l.Mac `grep -c` counts lines that match, so it always prints 1 line, so piping to wc -l will always return 1.Or just open up and do netstat -an |grep TCP_WAIT and just watch it. If any don't disappear after a few minutes, then you're seeing the issue. comex 33 minutes ago They probably aren’t affected because the buggy code was only added in macOS 26:https://github.com/apple-oss-distributions/xnu/blame/f6217f8...
comex 33 minutes ago They probably aren’t affected because the buggy code was only added in macOS 26:https://github.com/apple-oss-distributions/xnu/blame/f6217f8...
You want to drop the wc -l.
Mac `grep -c` counts lines that match, so it always prints 1 line, so piping to wc -l will always return 1.
Or just open up and do netstat -an |grep TCP_WAIT and just watch it. If any don't disappear after a few minutes, then you're seeing the issue.
They probably aren’t affected because the buggy code was only added in macOS 26:
https://github.com/apple-oss-distributions/xnu/blame/f6217f8...