Skip to main content

Get List Of Connections By Ip

Comments

1 comment

  • cPanelMichael
    Hello :) You may find this command helpful:
    netstat -ntu | awk ' $5 ~ /^[0-9]/ {print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
    However, note you can't list the connection by time period because the data is not stored. Thank you.
    0

Please sign in to leave a comment.