Commit graph

5 commits

Author SHA1 Message Date
Kevin Butler
cf136e1ff4 Try to read BOOT_TIME from utmpx if /proc/uptime fails. 2014-03-25 17:28:31 +00:00
Kevin Butler
25ee699756 Remove unused import. 2014-03-25 16:16:38 +00:00
Kevin Butler
f3c4657a94 Truncate load averages to 2 decimal places 2014-03-25 16:15:14 +00:00
Kevin Butler
4b857105c9 Fix OSX crash for uptime 2014-03-25 15:59:29 +00:00
José Neder
ef4a5e965d Implement uptime
Move utmp struct from users to common/utmpx.rs
2014-03-18 09:42:44 -03:00