In some production environments, some services may need to be forcibly killed and restarted to take effect, you can refer to the following script
#!/bin/bash
kill -9 $(netstat -nlp | grep :40000 | awk '{print $7}' | awk -F"/" '{print $1}')
kill -9 $(netstat -nlp | grep :50000 | awk '{print $7}' | awk -F"/" '{print $1}')
kill -9 $(netstat -nlp | grep :60000 | awk '{print $7}' | awk -F"/" '{print $1}')
kill -9 $(netstat -nlp | grep :6667 | awk '{print $7}' | awk -F"/" '{print $1}')」
#You can enter the script that needs to be started as follows