What does temperature measure?

kinetic energy of a system
potential energy of a system
how hot a system is
equilibrium of a system