There's certainly nothing wrong with headspacing a surplus gun, and if you want the guages go to Midway or Brownells. Basically you have 2 guages which go into the chamber like a cartridge. They are marked "go" or minimum and "no-go" or maximum. The maximum guage is a guage that is too large, or would indicate that the headspace is excessive. The "minimum" is a the opposite, it indicates that the headspace is enough, but not too small.
How they work is, you chamber the "go" guage, the bolt should close easily on it. Then, you chamber the "no-go" headspace guage. The bolt should NOT close on it. If it does, then the headspace is excessive. That's the short answer.
That said, I have never nor will I ever headspace one. I put the gun on the bench, put a sandbag over the action, duck my head below the bench and fire the gun. Then, I see if the round is hard to extract, has any visible signs of cracking, pressure rings or pierced primers. If everything's cool, the case looks good, guess what? It's got good headspace.
The 762x54r headspaces on the rim, not the shoulder, btw.