netstat -nltp sometimes can not output pid/progname, like ``` tcp 0 0 0.0.0.0:10033 0.0.0.0:* LISTEN - tcp6 0 0 :::10033 :::* LISTEN - ```
so we can't detect whether port has been taken by this rsync process or not.
seems lsof is much reliable. so we change to lsof for all platforms
http://bazaar.launchpad.net/~codership/codership-mysql/wsrep-5.5/revision/3980 http://bazaar.launchpad.net/~codership/codership-mysql/5.6/revision/4075
netstat -nltp sometimes can not output pid/progname, like
```
tcp 0 0 0.0.0.0:10033 0.0.0.0:* LISTEN -
tcp6 0 0 :::10033 :::* LISTEN -
```
so we can't detect whether port has been taken by this rsync process or not.
seems lsof is much reliable. so we change to lsof for all platforms
http:// bazaar. launchpad. net/~codership/ codership- mysql/wsrep- 5.5/revision/ 3980 bazaar. launchpad. net/~codership/ codership- mysql/5. 6/revision/ 4075
http://