https://en.wikipedia.org/wiki/Pest_control
Biological pest control
Mechanical pest control
Electronic pest control
Cockroaches respond to electronic pest control devices by moving about a bit more than usual, but don't appear eager to escape from the sound waves. This includes devices that emit a uniform frequency as well as those that emit changing frequencies of ultrasound. Researchers were able to use the increased cockroach activity to good effect by increasing the rate at which they caught the roaches in sticky traps.
"Rodent Bait Station, Chennai, India" by John Hill - Own work. Licensed under CC BY-SA 4.0 via Commons - https://commons.wikimedia.org/wiki/File:Rodent_Bait_Station,_Chennai,_India.jpg#/media/File:Rodent_Bait_Station,_Chennai,_India.jpg
Rat-catcher
"Professional ratcatchers Sydney 1900 Degotardi a147264" by Unknown - State Library of New South Wales. Licensed under Public Domain via Commons - https://commons.wikimedia.org/wiki/File:Professional_ratcatchers_Sydney_1900_Degotardi_a147264.jpg#/media/File:Professional_ratcatchers_Sydney_1900_Degotardi_a147264.jpg