different times for last boot between last and uptime -s

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Mon Dec 5 22:48:55 UTC 2022


----- On 5 Dec, 2022, at 18:56,  ubuntu at howorth.org.uk wrote:

> What does a plain uptime show?

The same difference:
root at crispor-server:~# date
Mon 05 Dec 2022 11:41:58 PM CET
root at crispor-server:~#
root at crispor-server:~# uptime -s
2022-12-02 21:37:18
root at crispor-server:~#
root at crispor-server:~# uptime
 23:42:17 up 3 days,  2:04,  1 user,  load average: 0.00, 0.09, 0.15

Btw: the correct boot time is 21:37, so uptime is correct but not last.

Bernd
(null)
Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH), Ingolstadter Landstr. 1, 85764 Neuherberg, www.helmholtz-munich.de. Geschaeftsfuehrung:  Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther, Daniela Sommer (kom.) | Aufsichtsratsvorsitzende: Prof. Dr. Veronika von Messling | Registergericht: Amtsgericht Muenchen  HRB 6466 | USt-IdNr. DE 129521671




More information about the ubuntu-users mailing list