Hi Team!
Recently we faced with wazuh-syscheckd issue.
The sh -c netstat -an | grep "^tcp" | grep "[^0-9]16470 " > /dev/null 2>&1 command is taking a lot of CPU performance (screenshot in attachment)
This server is using for webhooks and netstat is work too long since there is a lot of lines
$ time sudo netstat -an | wc -l
128640
real 0m0.608s
user 0m0.428s
sys 0m0.192s
How can i reduce usage frequency of the netstat or turn it off ?
Thanks in advance