我正在使用 rrdtools 来存储我的服务器的指标,并想使用 rrddump 命令将此 rrd 转储到 XML。所以需要这种 XML 格式的文档,我在哪里可以找到它?
我正在通过以下命令重新启动 HAproxy
haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -sf $(cat /var/run/haproxy.pid)
Run Code Online (Sandbox Code Playgroud)
但我收到以下消息
[ALERT] 183/225022 (9278) : Starting proxy appli1-rewrite: cannot bind socket
[ALERT] 183/225022 (9278) : Starting proxy appli2-insert: cannot bind socket
[ALERT] 183/225022 (9278) : Starting proxy appli3-relais: cannot bind socket
[ALERT] 183/225022 (9278) : Starting proxy appli4-backup: cannot bind socket
[ALERT] 183/225022 (9278) : Starting proxy ssl-relay: cannot bind socket
[ALERT] 183/225022 (9278) : Starting proxy appli5-backup: cannot bind socket
Run Code Online (Sandbox Code Playgroud)
我的 haproxy.cfg 文件看起来像以下
global
log 127.0.0.1 local0
log 127.0.0.1 …
Run Code Online (Sandbox Code Playgroud) 可能重复:
不理解 [0:0] iptable 语法
iptable-save 命令给出如下输出
*filter
:INPUT DROP [45:2658]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [78:4056]
:ufw-after-forward - [0:0]
Run Code Online (Sandbox Code Playgroud)
方括号中给出的数字范围是什么意思?就像在 [45: 2658]