Hi,
So instead of working on what I should have done I played a bit with awk...
One of the things I noticed in the output was that the last argument that I was after was just after a string "-D 4" so I search for that and filter some more.
ps x -o "pid command" | awk '{ match($0,"D 4");print $1 substr($0,RSTART+2,length($0)) }' | grep [v]mx
This works for me, not sure if it is universal enough to work everywhere, but seems it works for me for Fusion 7 up to Fusion 8.5
Also see attachment for a scripted version so you do not have to remember that mish mash from above.
( vmware-show-pid.sh )
--
Wil







