Ubuntu linux has a rich set of commands for getting system info.

Most likely the uptime/w commands utilize this information.

The first 3 values contain system load averages for the past 1, 5, and 15 minutes.