Scanmem[0] is a library that does this for the purposes of reading/modifying game memory and a useful resource. You can also poke around in /proc for some helpers
ls -la /proc/$PID/map_files
cat /proc/$PID/maps
cat /proc/$PID/status
[0]https://github.com/scanmem/scanmem