mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
630a02daae
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.
15 lines
262 B
Makefile
15 lines
262 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
PROG= w
|
|
SRCS= fmt.c pr_time.c proc_compare.c w.c
|
|
MAN= w.1 uptime.1
|
|
LIBADD= kvm sbuf util xo
|
|
#BINGRP= kmem
|
|
#BINMODE=2555
|
|
LINKS= ${BINDIR}/w ${BINDIR}/uptime
|
|
|
|
.PATH: ${.CURDIR}/../../bin/ps
|
|
|
|
.include <bsd.prog.mk>
|