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 ;)

Copyright © 2010-2018 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout