freebsd-src/usr.bin/w
Allan Jude 630a02daae Fix libxo output from uptime command
the libxo output for uptime returned multiple 'uptime' keys, one each for number of days, hours, and minutes of uptime.
This is invalid JSON.
This patch makes the output the raw number of seconds, as well as adding keys for the individual unit values
A string of the original output from the plain-text uptime command is also added

Differential Revision:	https://reviews.freebsd.org/D2063
Reviewed by:	jmg
Approved by:	marcel
Sponsored by:	ScaleEngine Inc.
2015-04-16 22:09:37 +00:00
..
extern.h Fix whitespace. 2012-11-17 16:47:05 +00:00
Makefile Fix libxo output from uptime command 2015-04-16 22:09:37 +00:00
pr_time.c Convert to use libxo. 2014-11-05 23:54:33 +00:00
proc_compare.c Fix whitespace. 2012-11-17 16:47:05 +00:00
uptime.1 Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
w.1 Sort the references in "SEE ALSO" by section first; then alphabetically. 2014-11-06 16:17:41 +00:00
w.c Fix libxo output from uptime command 2015-04-16 22:09:37 +00:00