Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9343

Add ps command for Kafka and zookeeper process on z/OS.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0, 2.6.0, 2.4.2
    • tools
    • z/OS, OS/390

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zshuo Shuo Zhang
              zshuo Shuo Zhang
              Mickael Maison Mickael Maison
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified