How to check connecting status Back
The summary of sockets:
ss -sStatistic of connections to a specific port like
80:netstat -nat | grep -i "80" | wc -lStatistic of connections to a specific protocol like
httpd:ps -ef | grep httpd | wc -lStatistic of established connections:
netstat -na | grep ESTABLISHED | wc -lStatistic of connections sorted by IP:
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nStatistic of top 10 visited urls via Nginx:
cat /var/log/nginx/access.log | awk '{print $7}' | sort | uniq -c | sort -nr | head -n 10Statistic of top 10 IPs to visit via Nginx:
cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq -c | sort -nr | head -n 10Statistic of top 10 time periods to visit via Nginx:
cat /var/log/nginx/access.log | grep -P "\[{1}(.+)]" -o | cut -c 14-15 | sort | uniq -c | sort -nr | headStatistic of TCP connections grouped by their state:
netstat -tan | grep ^tcp | awk '{++a[$6]} END{for (i in a) print i, a[i]}'TIME_WAIT: Waiting for enough time to pass to be sure the remote TCP received the acknowledgment of its connection termination request.CLOSE_WAIT: Waiting for a connection termination request from the local user.ESTABLISHED: An open connection, data received can be delivered to the user. The normal state for the data transfer phase of the connection.LISTEN: Waiting for a connection request from any remote TCP end-point.
As the plugin is integrated with a code management system like GitLab or GitHub, you may have to auth with your account before leaving comments around this article.
Notice: This plugin has used Cookie to store your token with an expiration.