mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 18:15:51 +00:00
9 lines
276 B
Bash
9 lines
276 B
Bash
#!/bin/bash
|
|
|
|
echo "stop all service"
|
|
ps -ef | grep cfs-server | grep -v grep | awk '{print $2}' | xargs kill -9
|
|
|
|
echo "stop client"
|
|
mount | grep cubefs | awk '{print $3}' | xargs umount -l
|
|
ps -ef | grep "build/bin/cfs-client" | grep -v grep | awk '{print $2}' | xargs kill -9
|