This is a file for reading RAPL, please run:

sudo bash ./read_rapl.sh

tested on AWS ec2 baremetal.