How can I throttle the CPU Power in Ubuntu to prevent over heating?

A post was merged into an existing topic: How can I measure real-time Power usage (Watts) of my Ubuntu desktop PC?