/ip/proxy/monitor
monitor
Shows the state and the counters of the web proxy. Add once for a single reading, for example /ip/proxy/monitor once. For an overview, see Web Proxy.
ip/proxy/monitor
Type: Command
显示 Web 代理的状态和计数器。添加 once 可只读取一次,例如 /ip/proxy/monitor once。概述请参阅 Web 代理。
| 只读参数 | 类型 | 描述 |
|---|---|---|
status | enum (stopped | running | invalid-address | building-cache | passthrough) { stopped:0, running:1, invalid-address:4, building-cache:5 } | 代理状态,例如: - running - 代理已启用并处理请求。 - stopped - 代理已禁用。 |
uptime | time | 代理启动以来的时间。 |
client-connections | num | 来自客户端的打开连接数。 |
server-connections | num | 到服务器的打开连接数。 |
requests | num | 代理接收的请求数量。 |
hits | num | 从缓存应答的请求数量。 |
cache-used | num | 缓存中对象的大小,单位为 KiB。 |
total-ram-used | num | |
received-from-servers | num | 从服务器接收的数据,单位为 KiB。 |
sent-to-clients | num | 发送给客户端的数据,单位为 KiB。 |
hits-sent-to-clients | num | 从缓存发送给客户端的数据,单位为 KiB。 |