bash OSX: hours on a computer, list reboots

Hours on a system:

1
ac -p

Last reboot:

1
who -b

List of LAST events:

1
last

SOURCE: OkeyGeek