命令如下,之后在补充各自的意义

 ps -ef  | grep file-flume-kafka | grep -v grep |awk '{print $2}' | xargs kill -9
[jiang@studyMachine mock0401]$ ps -ef  | grep file-flume-kafka | grep -v grep |awk '{print $2}'
8912
[jiang@studyMachine mock0401]$ ps -ef  | grep file-flume-kafka | grep -v grep |awk '{print $2}' | xargs kill -9
[jiang@studyMachine mock0401]$ ps -ef  | grep file-flume-kafka | grep -v grep |awk '{print $2}'
[1]+  Killed                  nohup /opt/module/flume/bin/flume-ng agent --conf-file /opt/module/flume/conf/file-flume-kafka.conf --name a1 -Dflume.root.logger=INFO,LOGFILE > /opt/gmall/mock0401/file-flume-kafka.log 2>&1
[jiang@studyMachine mock0401]$
Logo

Kafka开源项目指南提供详尽教程,助开发者掌握其架构、配置和使用,实现高效数据流管理和实时处理。它高性能、可扩展,适合日志收集和实时数据处理,通过持久化保障数据安全,是企业大数据生态系统的核心。

更多推荐