Page MenuHomeFreeBSD

w: Fix idle time in json output, add login/idle times to json output
ClosedPublic

Authored by marius.h_lden.org on Aug 29 2025, 1:40 PM.
Tags
None
Referenced Files
F132096691: D52237.diff
Mon, Oct 13, 3:57 PM
Unknown Object (File)
Sun, Oct 12, 7:27 PM
Unknown Object (File)
Fri, Oct 10, 8:54 PM
Unknown Object (File)
Fri, Oct 10, 8:50 PM
Unknown Object (File)
Fri, Oct 10, 8:43 PM
Unknown Object (File)
Fri, Oct 10, 8:43 PM
Unknown Object (File)
Fri, Oct 10, 3:16 PM
Unknown Object (File)
Wed, Oct 8, 5:43 AM
Subscribers

Details

Summary

Currently the idle time will show as true part of the time in the json output and quoting depends on what is being printed. Make sure it's always printed correctly and for consistency treated as a string in the json output.

Login time delta and since times are currently exposed in the xml output, expose these times in the json output as well.

In the json and xml outputs expose the number of seconds idle as a new field or attribute respectively.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable