You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2022/04/28 08:25:59 UTC

[incubator-doris-manager] branch master updated: [Fix] fix the way to find the process number (#51)

This is an automated email from the ASF dual-hosted git repository.

jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris-manager.git


The following commit(s) were added to refs/heads/master by this push:
     new 888d685  [Fix] fix the way to find the process number (#51)
888d685 is described below

commit 888d6858b2041612b754d804d26442fc5fc9eb5a
Author: dh-cloud <60...@users.noreply.github.com>
AuthorDate: Thu Apr 28 16:25:54 2022 +0800

    [Fix] fix the way to find the process number (#51)
    
    fix the way to find the process number
---
 manager/manager-bin/stop_manager.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manager/manager-bin/stop_manager.sh b/manager/manager-bin/stop_manager.sh
index ff63321..04352f3 100644
--- a/manager/manager-bin/stop_manager.sh
+++ b/manager/manager-bin/stop_manager.sh
@@ -17,4 +17,4 @@
 # specific language governing permissions and limitations
 # under the License.
 
-ps -ef|grep doris-manager|grep -v grep|cut -c 9-15|xargs kill -9
\ No newline at end of file
+ps -ef|grep doris-manager|grep -v grep|awk '{print $2}'|xargs kill -9
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org