I am trying to find the boot time of Ubuntu.
The following tells me that my last reboot took 1 minutes 39 second.
$ last reboot
reboot system boot 3.8.0-29-generic Wed Jan 8 14:55 - 16:35 (01:39)
reboot system boot 3.8.0-29-generic Wed Jan 8 14:38 - 14:55 (00:16)
reboot system boot 3.8.0-29-generic Wed Jan 8 14:27 - 14:38 (00:10)
reboot system boot 3.8.0-29-generic Wed Jan 8 11:07 - 14:27 (03:19)
reboot system boot 3.8.0-29-generic Wed Jan 8 00:03 - 00:31 (00:27)
reboot system boot 3.8.0-29-generic Tue Jan 7 10:39 - 14:22 (03:43)
reboot system boot 3.8.0-29-generic Mon Jan 6 10:51 - 18:42 (07:50)
reboot system boot 3.8.0-29-generic Sun Jan 5 22:08 - 00:19 (02:11)
reboot system boot 3.8.0-29-generic Sat Jan 4 11:34 - 15:47 (04:12)
While when I looked at dmesg
:
[ 14.707210] type=1400 audit(1389173157.301:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1018 comm="apparmor_parser"
This shows that the total boot time is 14.707210. So as per the above two methods which is the actual boot time?