freebsd-src/usr.bin/systat
Thomas Moestl 342e2faa09 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
2001-03-23 03:58:25 +00:00
..
cmds.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
cmdtab.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
devs.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
devs.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
extern.h Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
fetch.c Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
icmp.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
iostat.c Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
ip.c Count and show incoming UDP datagrams with no checksum. 2001-03-13 13:26:06 +00:00
keyboard.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
main.c Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
Makefile Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
mbufs.c Fix systat to use the kern.ipc.mbtypes sysctl instead of referencing a 2000-07-15 16:24:21 +00:00
mode.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
mode.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
netcmds.c Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
netstat.c Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
pigs.c Catch up to new proc flags. 2001-01-24 14:03:34 +00:00
swap.c Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
systat.1 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
systat.h Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
tcp.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vmstat.c Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00