You can use gmx energy (g_energy). Follow the online manual at http://manual.gromacs.org/documentation/2018/onlinehelp/gmx-energy.html Regards -- Tushar Ranjan Moharana B. Tech, NIT Warangal Ph D Student, CCMB