gaia and dwarfs file share implement go a step further.
gaia processid implement and add replace algorithm.