ֹͣ���еķ����˳��������ƽ��� */
| 158 | |
| 159 | /* ֹͣ���еķ����˳��������ƽ��� */ |
| 160 | static void proctl_monitor_cmd_quit(ACL_VSTREAM *client) |
| 161 | { |
| 162 | const char *myname = "proctl_monitor_cmd_quit"; |
| 163 | |
| 164 | acl_msg_info("%s(%d): begin to quit ...", myname, __LINE__); |
| 165 | acl_msg_info("%s(%d): begin to stop all ...", myname, __LINE__); |
| 166 | proctl_monitor_stop_all_service(client); |
| 167 | acl_msg_info("%s(%d): stop all end", myname, __LINE__); |
| 168 | acl_msg_info("%s(%d): quit ok", myname, __LINE__); |
| 169 | acl_vstream_fprintf(client, "+OK|stopped all children, and quit now\r\n"); |
| 170 | acl_vstream_close(client); |
| 171 | exit(0); |
| 172 | } |
| 173 | |
| 174 | static int proctl_monitor_cmd_list(ACL_VSTREAM *client) |
| 175 | { |
no test coverage detected
searching dependent graphs…