We do something similar for Plan B, and are in the process of backporting that to Plan 9. See http://lsub.org/ls/export/bman/4/proc.html The man page is out of date but that doesn't matter here. Regarding process migration, please don't, ;-)