Date: Thu, 22 Mar 2001 19:58:26 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/systat Makefile extern.h fetch.c iostat.c main.c netcmds.c netstat.c swap.c systat.h vmstat.c Message-ID: <200103230358.f2N3wQH70210@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tmm 2001/03/22 19:58:26 PST
Modified files:
usr.bin/systat Makefile extern.h fetch.c iostat.c main.c
netcmds.c netstat.c swap.c systat.h
vmstat.c
Log:
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
Revision Changes Path
1.9 +1 -3 src/usr.bin/systat/Makefile
1.8 +5 -0 src/usr.bin/systat/extern.h
1.3 +95 -1 src/usr.bin/systat/fetch.c
1.14 +3 -2 src/usr.bin/systat/iostat.c
1.14 +26 -4 src/usr.bin/systat/main.c
1.10 +2 -2 src/usr.bin/systat/netcmds.c
1.16 +143 -24 src/usr.bin/systat/netstat.c
1.15 +2 -5 src/usr.bin/systat/swap.c
1.4 +9 -1 src/usr.bin/systat/systat.h
1.45 +118 -116 src/usr.bin/systat/vmstat.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103230358.f2N3wQH70210>
