A procedure used to check for abnormalities in the rectum, prostate and nearby structures in which a probe that sends out high-energy sound waves is inserted into the rectum to create a sonogram.