migrategroup(1) migrategroup(1) >>
The migdrop feature is an additional "miggroup"-/proc
entry for each process
(it was added to the openMosix kernel in version
2.4.20-openMosix-3).
If a new process is created the "miggroup" proc-file con-
tains "0". The value in this file can be easily set by
user-applications like "echo" or any other programs which
are using the regular open(), read() and write() func-
tions.
The main ideas behind this new /proc-entry is that you can
now group your processes by setting the same value to
their "miggroup" file ( /proc/[PID]/miggroup ). Then those
created process-groups can be easily managed by adminis-
tration-tools and/or scripts.
joingroup [PID](,[PDI],[PID],...)[process-group]
make processes join a miggroup
migrategroup [process-group][node-ID]
migrate a miggroup to another node
resetgroup [options]
reset a specific miggroup
showgroup [process-group]
show all processes from a specific miggroup
- make processes join a miggroup:
[root@node1 miggroup]# joingroup 1300 1332 1364 1396 1428
1460 1
miggroup = 1
processes = 1300 1332 1364 1396 1428 1460
process 1300 joins the miggroup 1 now
process 1332 joins the miggroup 1 now
process 1364 joins the miggroup 1 now
process 1396 joins the miggroup 1 now
process 1428 joins the miggroup 1 now
process 1460 joins the miggroup 1 now
- show all processes from a specific miggroup:
[root@node1 miggroup]# showgroup 1
1300 with commandline bash belongs to 1
1332 with commandline bash belongs to 1
1364 with commandline bash belongs to 1
1396 with commandline bash belongs to 1
1428 with commandline bash belongs to 1
1460 with commandline bash belongs to 1
- migrate a miggroup to another node:
[root@node1 miggroup]# migrategroup 1 2
migrate 1300 to 2
migrate 1332 to 2
migrate 1364 to 2
migrate 1396 to 2
migrate 1428 to 2
migrate 1460 to 2
- reset a specific miggroup:
[root@node1 miggroup]# resetgroup 1
resetet 1300
resetet 1332
resetet 1364
resetet 1396
resetet 1428
resetet 1460
[root@node1 miggroup]#
man page created by Matt Rechenburg <mosixview@t-
online.de>
http://source-
forge.net/tracker/index.php?group_id=46729&atid=447171
openMosix Bug-tracker
openMosix is the GPLv2, Open Source, project to extend the
outstanding MOSIX project. New releases of MOSIX became
proprietary software in late 2001 and openMosix was begun
February 10, 2002 by Moshe Bar to keep this highly
regarded Linux Clustering solution available as open
source.
Legal openMosix is Copyright (c) 2002, 2003 by Moshe Bar.
Mosix is Copyright (c) 2002 by Amnon Barak. The Mosix is a
trademark of Amnon Barak. Linux is a Registered Trademark
of Linus Torvalds. openMosix is licensed under version 2
of the GNU General Public License as published by the Free
Software Foundation.
openmosix(1), cpujob(1), fastdecay(1), iojob(1), join-
group(1), migrate(1), migrategroup(1), mosmon(1), mosctl(1),
mosrun(1), mps(1), mtop(1), nodecay(1), nomig(1),
omdiscd(1), resetgroup(1), runhome(1), runon(1), setpe(1),
showgroup(1), slowdecay(1)
Last modified: Fri, 01 Oct 2004 - 15:24:09 CEST