14.1. A small Test Script

The fastest way to test your openMosix cluster is by creating a small script with the following content.
awk 'BEGIN {for(i=0;i<10000;i++)for(j=0;j<10000;j++);}' &
I've saved it as test_mosix, now when I want to see If everything works I start op mosmon and I launch this script for a zillion times as in
for i in `ls /etc/` ; do ./test_mosix ; done 
Now watch openMosix kicking in after a few seconds ...

Just pkill awk on the home node to kill'em all ;)

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:58:29