I have the following cmd that produces one line as an output and I would like to get the PID (the last column) from it.
netstat -anon | findstr 0.0.0.0:8088
netstat output:
TCP 0.0.0.0:8088 0.0.0.0:0 LISTENING 6348
What I want: 6348
I want to use this in a batch file to dump the memory of this java process