Dmitry Morozovsky
2015-Jul-09  22:35 UTC
rather old regression: unability to search for reboot times
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 ***
------------------------------------------------------------------------
Matthew Seaman
2015-Jul-10  06:46 UTC
rather old regression: unability to search for reboot times
On 09/07/2015 23:35, Dmitry Morozovsky wrote:> 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:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168844 Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 971 bytes Desc: OpenPGP digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150710/ee31bae1/attachment.bin>