linux下查看Apache的实时访问日志:tail -f  /etc/httpd/logs/access_log

查看有哪些ip访问过:cat access_log |awk '{print $1}'

查看有哪些ip访问过(去除重复):cat access_log |awk '{print $1}'|sort -n|uniq

查看有多少ip访问过:cat access_log |awk '{print $1}'|sort -n|uniq|wc -l

相关文章:

  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2021-11-23
  • 2022-02-07
  • 2022-12-23
  • 2021-12-16
  • 2022-02-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案