mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
Improve the stop command (#19981)
Signed-off-by: SimFG <bang.fu@zilliz.com> Signed-off-by: SimFG <bang.fu@zilliz.com>
This commit is contained in:
parent
05bbb12d30
commit
1b7968557c
@ -15,6 +15,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
echo "Stopping milvus..."
|
||||
kill -9 $(ps -e | grep milvus | awk '{print $1}')
|
||||
PROCESS=$(ps -e | grep milvus | grep -v grep | awk '{print $1}')
|
||||
kill -9 $PROCESS
|
||||
echo "Milvus stopped"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user