gaurav-narula commented on code in PR #22990:
URL: https://github.com/apache/kafka/pull/22990#discussion_r3676421929
##########
bin/kafka-server-stop.sh:
##########
@@ -30,7 +30,7 @@ if [[ "$OSNAME" == "OS/390" ]]; then
elif [[ "$OSNAME" == "OS400" ]]; then
PIDS=$(ps -Af | grep -i 'kafka\.Kafka' | grep java | grep -v grep | awk
'{print $2}')
else
- PIDS=$(ps ax | grep ' kafka\.Kafka ' | grep java | grep -v grep | awk
'{print $1}'| xargs)
+ PIDS=$(ps axww | grep ' kafka\.Kafka ' | grep java | grep -v grep | awk
'{print $1}'| xargs)
Review Comment:
For posterity, `w` flag has been accepted as a part of POSIX:
https://austingroupbugs.net/view.php?id=905
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]