How do you get servo position in arduino?

Some servos can be hacked to provide a closed-loop access to the potentiometer position. I would describe it, but this guy does a great job with plenty of pictures.

The actual wiring may differ slightly between servo types, but you might get lucky by googling for information about a particular servo part number.