kagarwal06 commented on code in PR #16046:
URL: https://github.com/apache/kafka/pull/16046#discussion_r1617119324


##########
tests/kafkatest/services/kafka/kafka.py:
##########
@@ -926,7 +932,7 @@ def run_features_command(self, op, new_version):
     def pids(self, node):
         """Return process ids associated with running processes on the given 
node."""
         try:
-            cmd = "jcmd | grep -e %s | awk '{print $1}'" % 
self.java_class_name()

Review Comment:
   `jcmd` command won't work if Kafka is running in the native mode.
   Replacing it with `ps ax`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to