User Tools

Site Tools


wiki:awk_commands

awk commands

Show how many requests per minute the server received

cat /var/log/nginx/access.log | awk -F ':' '{print $2":"$3}' | sort | uniq -c

Tested on

  • Debian 10
  • nginx

See also

References

wiki/awk_commands.txt · Last modified: 2021/10/27 09:15 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki