Open terminal and run

 

uptime