"Access to website IP address statistics (redirected) utility query"
(1) Statistics IP traffic
awk ' {print '} ' Access.log |sort|uniq |wc-l
(2) Count IP repetitions
awk ' {print '} ' Access.log |sort|uniq-c
(3) Count the number of visits the most IP, the top 10
awk ' {print '} ' access.log |sort|uniq-c|head-n 10
(4) Find the most visited number of minutes in the log
awk ' {print $4} ' access.log|cut-c 14-18 |sort|uniq-c|sort-nr|head
(5) Find the most visited pages in the log
awk ' {print $7} ' Access.log |sort|uniq-c|sort-nr|head
"Missing compilation environment resolution"
If the installation appears below the error is missing the compilation environment, install the tools and libraries required to compile the source code.
"./configure:error:c compiler cc is not found"
Solution: Yum Install gcc gcc-c++ ncurses-devel perl
Visit website IP address statistics filtering with Linux missing compilation environment resolved