You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Shuo Zhang (Jira)" <ji...@apache.org> on 2020/07/23 08:53:00 UTC
[jira] [Assigned] (KAFKA-9343) Add ps command for Kafka and
zookeeper process on z/OS.
[ https://issues.apache.org/jira/browse/KAFKA-9343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shuo Zhang reassigned KAFKA-9343:
---------------------------------
Assignee: Shuo Zhang
> Add ps command for Kafka and zookeeper process on z/OS.
> -------------------------------------------------------
>
> Key: KAFKA-9343
> URL: https://issues.apache.org/jira/browse/KAFKA-9343
> Project: Kafka
> Issue Type: Task
> Components: tools
> Affects Versions: 2.4.0
> Environment: z/OS, OS/390
> Reporter: Shuo Zhang
> Assignee: Shuo Zhang
> Priority: Major
> Labels: OS/390, z/OS
> Fix For: 2.5.0, 2.4.2
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> +Note: since the final change scope changed, I changed the summary and description.+
> The existing method to check Kafka process for other platform doesn't applicable for z/OS, on z/OS, the best keyword we can use is the JOBNAME.
> PIDS=$(ps ax | grep -i 'kafka\.Kafka' | grep java | grep -v grep | awk '\{print $1}')
> -->
> PIDS=$(ps -A -o pid,jobname,comm | grep -i $JOBNAME | grep java | grep -v grep | awk '\{print $1}')
> So does the zookeeper process.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)