rather old regression: unability to search for reboot times

Dmitry Morozovsky marck at rinet.ru
Thu Jul 9 22:35:32 UTC 2015


Dear colleagues,

after transition to utx.log (actually, long enough ago, but quick googling 
does not show reports), there are no simple way to query 'last' for 
crash/reboot times:

marck at briareus:~> last -10
marck      pts/7    jennie.wpub.woozle.net Fri Jul 10 01:24   still logged in
marck      pts/6    jennie.wpub.woozle.net Fri Jul 10 01:24   still logged in
marck      pts/5    jennie.wpub.woozle.net Fri Jul 10 01:24   still logged in
marck      pts/4    jennie.wpub.woozle.net Fri Jul 10 01:24   still logged in
marck      pts/3    jennie.wpub.woozle.net Fri Jul 10 01:24   still logged in
marck      pts/2    jennie.wpub.woozle.net Fri Jul 10 01:24   still logged in
marck      pts/1    jennie.wpub.woozle.net Fri Jul 10 01:24   still logged in
marck      pts/0    jennie.wpub.woozle.net Fri Jul 10 01:24 - 01:24  (00:00)
boot time                                  Fri Jul 10 01:23
marck      pts/4    jennie.wpub.woozle.net Thu Jul  9 12:51 - crash  (12:32)
marck at briareus:~> last boot

utx.log begins Wed Jul  1 13:08:48 MSK 2015
marck at briareus:~> last 'boot time'

utx.log begins Wed Jul  1 13:08:48 MSK 2015

previously, ``last reboot'' shows them.

also, even on man last there are a paragraph which is currently incorrect:


     The pseudo-user reboot logs in at reboots of the system, thus .last
     reboot. will give an indication of mean time between reboot.


Are there any standards for these? Could we add additional abilities to do so?

Thanks!

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-stable mailing list