主题
运行 php start.php status 能看到当前服务器的 Workerman 运行的状态, connections 字段标记了每个进程当前 TCP 连接数。需要注意的是这个字段不仅包括客户端的 TCP 连接数,也包括 Workerman 内部通讯的 TCP 连接数。例如 Workerman 中的 Gateway/Worker 模型中,每个 Gateway 进程当前的客户端连接数为 connections 字段的值减去 Worker 进程数。
php start.php status
connections