最近开始使用GoAccess,能够访问控制台仪表板,甚至可以获取静态html页面。但希望在服务器上有实时报告,但每次我尝试生成静态html或实时报告时,它总是打开websocket并等待用户输入。
# goaccess /var/log/httpd/access_log -o /var/www/html/report.html
[PARSING /var/log/httpd/access_log] {92,75,851} @ {14,794/s}
WebSocket server ready to accept new client connections发布于 2021-09-22 04:04:10
能够像下面这样解决这个问题,现在整个过程都在后台运行。现在将继续将其作为服务,它将在服务器重新启动时自动启动
goaccess /var/log/httpd/access_log -o /var/www/html/report.html --real-time-html --daemonizehttps://stackoverflow.com/questions/69243625
复制相似问题