90dd3e79cc
Following struct vmtotal changes, make systat use and correctly display 64-bit counters. Switch to humanize_number(3) to overcome homegrown arithmetics limits in pretty printing large numbers. Use 1024 as a divisor for memory fields to make it consistent with other tools and users expectations. Submitted by: Pawel Biernacki <pawel.biernacki@gmail.com> Sponsored by: Mysterious Code Ltd. PR: 2137 Differential revision: https://reviews.freebsd.org/D13105
22 lines
420 B
Makefile
22 lines
420 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= systat
|
|
SRCS= cmds.c cmdtab.c devs.c fetch.c iostat.c keyboard.c main.c \
|
|
netcmds.c netstat.c pigs.c swap.c icmp.c \
|
|
mode.c ip.c sctp.c tcp.c zarc.c \
|
|
vmstat.c convtbl.c ifcmds.c ifstat.c
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
SRCS+= icmp6.c ip6.c
|
|
CFLAGS+= -DINET6
|
|
.endif
|
|
|
|
WARNS?= 1
|
|
|
|
LIBADD= ncursesw m devstat kvm util
|
|
|
|
.include <bsd.prog.mk>
|