here's a knitty.com article on checking gauge.
the holes are really there to check your needle size - you slip the needle into the holes, the smallest one it will fit into is the needle's size.
but....i've also read if you have a yarn and no info on what needle size is recommended, you can try slipping the yarn through the holes to see which it "fits" into best an