bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64937: "who" reports funny dates


From: Thorsten Kukuk
Subject: bug#64937: "who" reports funny dates
Date: Tue, 8 Aug 2023 17:34:30 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, Aug 08, Robert Pluim wrote:

> >>>>> On Tue, 8 Aug 2023 14:29:27 +0000, Thorsten Kukuk <kukuk@suse.com> said:
>     Thorsten> Which means tools like who just don't show anything. And emacs 
> will
>     Thorsten> never find out the boot time with the current code.
> 
> What API do you suggest we use instead?

For me clock_gettime works very well:
https://github.com/thkukuk/utmpx/blob/main/utmp-to-logind.md#determine-boot-time

  Thorsten


-- 
Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies
SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, 
Germany
Managing Director: Ivo Totev, Andrew McDonald, Werner Knoblich
(HRB 36809, AG Nürnberg)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]