Monitoring of the accelerator beam distributions for internal target facilities