#
368931 |
|
05-Jan-2021 |
mr |
MFC 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.
Approved by: re (gjb@) Differential Revision: https://reviews.freebsd.org/D17838
(cherry picked from commit 45e9405ea4b05926b22a743237cbfe918206db50)
systat: use and correctly display 64bit counters.
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
(cherry picked from commit 90dd3e79cc4d721b17c473fdaf3ba3d6d912b138)
Order declarations alphabetically. Match signess of the format and the value.
Noted by: bde Sponsored by: The FreeBSD Foundation
(cherry picked from commit 1b7a3d1f5ffe700203f12654cd01a08a84551b4a)
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 (cherry picked from commit a70af2507f720c2d7f56f51a18d358123b4770a5)
MFC r360919,r360929,r361084:
Patch systat -zarc to display cumulative rate and round down large numbers by SI units
Introduce sysputpage() to display large page size with human readable format. Using UI units allows to fit larger numbers in columns. Stop calling v_page_size - this is a value that doesn't change at runtime. Renamed WINDOW *wnd to *wd to avoid conflict with global *wnd variable. Use bit-shift to convert page size to byte.
PR: 237664, 246458 Submitted by: ota@j.email.ne.jp
(cherry picked from commit 65d1fd13ac2182f7ca0c223bb723fba6d780740f)
MFC r363095: Handle device removal and removal+add cases to fix infinity rate.
PR: 219829 Submitted by: ota@j.email.ne.jp Reported by: rezo@live.cn Differential Revision: https://reviews.freebsd.org/D25226
(cherry picked from commit 7a446028cedb13a0d2004cf6f584291a976392da)
PR: 219829, 237664, 246458, 213310, 2137
Git Hash: 72b42d209ff5b37c615048fb251d7bf9eb276381 Git Author: tuexen@FreeBSD.org
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
289873 |
|
24-Oct-2015 |
tuexen |
Add support to systat to display SCTP statistics.
MFC after: 1 week
|
#
288306 |
|
27-Sep-2015 |
mr |
Add support to systat to display zfs arc cache status/info
PR: 195460 Submitted by: ota
|
#
284068 |
|
06-Jun-2015 |
bapt |
Bump WARNS level to 1
|
#
275042 |
|
25-Nov-2014 |
bapt |
Convert to usr.bin/ to LIBADD Reduce overlinking
|
#
266157 |
|
15-May-2014 |
brooks |
Revert r261296. This removes the WITHOUT_NCURSESW option.
It was the wrong direction. We will instead remove use of the non-wide-character supporting libncurses.
|
#
265420 |
|
06-May-2014 |
imp |
Use src.opts.mk in preference to bsd.own.mk except where we need stuff from the latter.
|
#
261296 |
|
30-Jan-2014 |
brooks |
Merge from CheriBSD: commit c1acf022c533c5ae27e0cd556977eafe3f5959eb Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Fri Jan 17 21:46:44 2014 +0000
Add an option WITHOUT_NCURSESW to suppress building and linking to libncursesw. While wide character support it useful we'd like to only need one ncurses library on embedded systems.
MFC after: 4 weeks Sponsored by: DARPA, AFRL
|
#
253360 |
|
15-Jul-2013 |
glebius |
Nuke "systat -mbuf". It was broken since FreeBSD 5, and since there haven't been any complaints, no one used it.
|
#
204329 |
|
25-Feb-2010 |
ru |
Fixed dependencies (make checkdpadd).
|
#
202200 |
|
13-Jan-2010 |
ed |
Perform all trivial ports to utmpx for usr.bin/.
They were already converted to use libulog, so it's easy to convert them to utmpx.
|
#
201386 |
|
02-Jan-2010 |
ed |
Build usr.bin/ with WARNS=6 by default.
Also add some missing $FreeBSD$ to keep svn happy.
|
#
200167 |
|
05-Dec-2009 |
ed |
Let systat's vmstat use utmpx.
|
#
199242 |
|
13-Nov-2009 |
ume |
Use ncursesw to output the date field of vmstat display with multi-byte string, correctly.
|
#
172674 |
|
15-Oct-2007 |
netchild |
Backout sensors framework.
Requested by: phk Discussed on: cvs-all
|
#
172631 |
|
14-Oct-2007 |
netchild |
Import OpenBSD's sysctl hardware sensors framework.
This commit includes the following core components:
* sample configuration file for sensorsd * rc(8) script and glue code for sensorsd(8) * sysctl(3) doc fixes for CTL_HW tree * sysctl(3) documentation for hardware sensors * sysctl(8) documentation for hardware sensors * support for the sensor structure for sysctl(8) * rc.conf(5) documentation for starting sensorsd(8) * sensor_attach(9) et al documentation * /sys/kern/kern_sensors.c o sensor_attach(9) API for drivers to register ksensors o sensor_task_register(9) API for the update task o sysctl(3) glue code o hw.sensors shadow tree for sysctl(8) internal magic * <sys/sensors.h> * HW_SENSORS definition for <sys/sysctl.h> * sensors display for systat(1), including documentation * sensorsd(8) and all applicable documentation
The userland part of the framework is entirely source-code compatible with OpenBSD 4.1, 4.2 and -current as of today.
All sensor readings can be viewed with `sysctl hw.sensors`, monitored in semi-realtime with `systat -sensors` and also logged with `sensorsd`.
Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
|
#
164695 |
|
27-Nov-2006 |
yar |
Back out rev. 1.17: arch-dependent WARNS level.
The policy is that the WARNS level should characterize the quality of a piece of code irrespective of any conditions. Otherwise the code doesn't deserve the WARNS level assigned.
Requested by: ru
|
#
164681 |
|
27-Nov-2006 |
yar |
systat(1) reaches WARNS=6 on i386 and amd64. This is good for catching general regressions in future. Unfortunately, it still displays some problems at WARNS=6 on architectures with stricter alignment requirements, e.g., ia64.
|
#
160750 |
|
27-Jul-2006 |
yar |
Obey MK_INET6_SUPPORT.
|
#
125431 |
|
04-Feb-2004 |
ru |
Put libdevstat before libkvm, because the former depends on the latter.
|
#
118318 |
|
01-Aug-2003 |
dwmalone |
Add ip6 and icmp6 displays to systat.
MFC after: 2 weeks
|
#
108684 |
|
04-Jan-2003 |
phk |
Add "ifstat" display:
ifstat Display the network traffic going through active interfaces on the system. Idle interfaces will not be displayed until they receive some traffic.
For each interface being displayed, the current, peak and total statistics are displayed for incoming and outgoing traffic. By default, the ifstat display will automatically scale the units being used so that they are in a human-read- able format. The scaling units used for the current and peak traffic columns can be altered by the scale command.
Submitted by: Trent Nelson <trent@arpa.com>
|
#
90416 |
|
08-Feb-2002 |
markm |
Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.
|
#
87715 |
|
11-Dec-2001 |
markm |
WARNS=2 fixes with NO_WERROR set, as there are some header issues with namelists. use __FBSDID().
|
#
76812 |
|
18-May-2001 |
ru |
Removed -I${.CURDIR}/.../sys from CFLAGS.
|
#
74671 |
|
23-Mar-2001 |
tmm |
Get rid of setgid kmem for systat, and while being there, fix some bugs and compiler warnings. The data for network statistics are still obtained via the kvm interface if systat was started with the needed privileges, otherwise sysctls are used. The reason for this is that with really many open sockets, the sysctl method is probably slower, but it systat -netstat is probably not really usable in either mode under these conditions.
Approved by: rwatson
|
#
65910 |
|
16-Sep-2000 |
ache |
Remove unneded -ltermcap
|
#
39261 |
|
15-Sep-1998 |
gibbs |
Reference new files for device stat support.
|
#
29881 |
|
26-Sep-1997 |
wollman |
Having done ICMP, UDP, and IP, could a TCP display be far behind?
|
#
29839 |
|
24-Sep-1997 |
wollman |
Emboldened by the success of yesterday's ICMP statistics display, I've now added one that does IP (and also UDP) statistics.
|
#
29759 |
|
24-Sep-1997 |
wollman |
Add a mode to display ICMP statistics.
Inspired by: IRIX netstat -C
|
#
18050 |
|
05-Sep-1996 |
bde |
Fixed DPADD.
|
#
4723 |
|
20-Nov-1994 |
phk |
Another absolute path...
|
#
1591 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|
#
1590 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Usr.bin Sources
|