]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340361, r345804: catch up on systat in head/
authorKyle Evans <kevans@FreeBSD.org>
Mon, 27 Apr 2020 16:11:59 +0000 (16:11 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Mon, 27 Apr 2020 16:11:59 +0000 (16:11 +0000)
commita70af2507f720c2d7f56f51a18d358123b4770a5
tree54f69faa73748a94b47181d77ab6a54f8daf2c42
parent3a23e9ba00cde653daed9782f3df5f5f43df38ec
MFC r340361, r345804: catch up on systat in head/

[Neither of these originally mine, but the latter commit referenced
fixes an -fno-common issue and the former is a bugfix]

r340361:
Fix printing of 64-bit counters on 32-bit ppc platforms.

Several statistic counters are uint64_t values and are printed by systat
using %lu. This results in displaying wrong numbers. Use PRIu64 instead.
While there, print variables of size_t using %zd.

r345804:
systat -zarc to display disk activities like -vm

PR: 213310
usr.bin/systat/devs.c
usr.bin/systat/devs.h
usr.bin/systat/iostat.c
usr.bin/systat/swap.c
usr.bin/systat/systat.h
usr.bin/systat/vmstat.c
usr.bin/systat/zarc.c