Last modified 2 years ago
pms / om directory
for each /proc/$PID there is a pms/om directory, depending on your kernel version and a few other factors.
There are 3 files, debug, stay and where.
migrating
for locally running processes where should contain 'home'. to migrate a process;
echo $REMOTEIP > /proc/$PID/{om,pms}/where
This should start the process migrating. At this point if you;
cat /proc/$PID/{om,pms}/where
migrating
When it is finished migrating it should be the ip of the node it was migrated to. echo home to where and the process should return home.
