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
Unknown Object (File)
Fri, Dec 12, 2:26 AM
Unknown Object (File)
Tue, Dec 9, 2:29 PM
Unknown Object (File)
Thu, Nov 27, 9:10 PM
Unknown Object (File)
Mon, Nov 24, 3:47 PM
Unknown Object (File)
Sun, Nov 23, 12:26 PM
Unknown Object (File)
Wed, Nov 19, 5:41 PM
Unknown Object (File)
Nov 10 2025, 8:29 AM
Unknown Object (File)
Nov 8 2025, 10:47 PM
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

Lint
Lint Skipped
Unit
Tests Skipped