[ 
https://issues.apache.org/jira/browse/KAFKA-9343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shuo Zhang updated KAFKA-9343:
------------------------------
    Description:     (was: +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.)

> 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
>            Priority: Major
>              Labels: OS/390, z/OS
>             Fix For: 2.5.0
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to