发送信号:
# kill -USR2 `ps -e | grep mosquitto |awk '{print $1}'`
启动:
# mosquitto -c /etc/mosquitto/mosquitto.conf -d -v
查看端口占用:
# netstat -anpt | grep 9001
发送信号:
# kill -USR2 `ps -e | grep mosquitto |awk '{print $1}'`
启动:
# mosquitto -c /etc/mosquitto/mosquitto.conf -d -v
查看端口占用:
# netstat -anpt | grep 9001
转载于:https://www.cnblogs.com/mkany/p/5091946.html