# look for glitches in scheduling

# xterm scroll option
#   -j - do jump scroll
#   +j - do one line scroll
# if SCROLL is specified that's used instead
scroll=${SCROLL:-"+j"}

for n in 1 2 3 4; do
  vpos=$[(n-1)*80+50]
  xterm -geom 100x2-0+${vpos} ${scroll} -e bash -c "while true; do echo \$RANDOM; done" &
done

uname -r >gl_impr.tmp

vmstat 1 >gl_vmstat.tmp &

glxgears

