data-center/studio/install/16gslave/status16gslave.sh
2023-12-22 10:59:10 +08:00

25 lines
1002 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
source /etc/profile
pid=$(ps -ef | grep eureka.jar | grep -Ev 'color=auto' | awk '{print $2}')
echo "已启动eureka: $pid"
pid=$(ps -ef | grep data-market-service-mapping.jar | grep -Ev 'color=auto' | awk '{print $2}')
echo "已启动data-market-service-mapping: $pid"
pid=$(ps -ef | grep data-masterdata-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
echo "已启动data-masterdata-service: $pid"
pid=$(ps -ef | grep data-metadata-service-console.jar | grep -Ev 'color=auto' | awk '{print $2}')
echo "已启动data-metadata-service-console: $pid"
pid=$(ps -ef | grep data-quality-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
echo "已启动data-quality-service: $pid"
pid=$(ps -ef | grep workflow-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
echo "已启动workflow-service: $pid"
echo "启动列表data-market-service-mapping、data-masterdata-service、data-metadata-service-console、data-quality-service、eureka、gateway、workflow-service"