View server to be accessed biggest ip

Website sometimes very slow, you can take a look at what most ip access, command line can be listed as follows

netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

  Line command to list the most visited ip

Guess you like

Origin www.cnblogs.com/ytkah/p/11727794.html