| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
retrieve statistic information for them.
Pointed out by: Pawel Worach < pawel.worach at gmail.com >
|
|
|
|
|
| |
that critical as the program exits after this point anyway, but this may
not always be the case.
|
|
|
|
| |
Pointed out by: ru
|
|
|
|
|
|
|
|
|
|
|
|
| |
-- Made the synopses more precise.
-- Added argument to flag in option description.
-- Moved -b default and limits to option description (to un-hide).
-- Noted several behaviors that were not mentioned.
-- A few more trivial changes.
PR: docs/46787
Approved by: keramida
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a -B option which causes bpf peers to be printed. This option can be
used in conjunction with -I if information about specific interfaces
is desired. This is similar to what NetBSD added to their version of
netstat.
$ netstat -B
Pid Netif Flags Recv Drop Match Sblen Hblen Command
1137 lo0 p--s-- 0 0 0 0 0 tcpdump
205 sis0 -ifs-l 37331 0 1 0 0 dhclient
$
$ netstat -I lo0 -B
Pid Netif Flags Recv Drop Match Sblen Hblen Command
1174 lo0 p--s-- 0 0 0 0 0 tcpdump
$
-Add bpf.c which stores all the code for retrieving and parsing bpf
related statistics.
-Modify main.c to add support for the -B option and hook it into the
program logic.
-Add bpf.c to the build.
-Document this new functionality in the man page and bump the revision
date.
-Add prototype for bpf_stats function.
|
| |
|
|
|
|
|
|
|
|
| |
type should be int rather than Boolean.
PR: bin/84528
Submitted by: Max Okumoto <okumoto@ucsd.edu>
MFC after: 3 weeks
|
| |
|
|
|
|
| |
getsockopt().
|
| |
|
|
|
|
|
| |
the generated code still doesn't compile as we lack tinfo, t_getinfo and
friends.
|
|
|
|
|
|
|
| |
more than 4 days - waste of memory.
Obtained from: DragonFlyBSD (liamfoy)
MFC after: 3 days
|
| |
|
|
|
|
| |
Also remove the SIG_PF macro, there is no need to cast closedown.
|
|
|
|
|
|
|
|
| |
flag was specified. If all files are generated at once, those functions are
static and shouldn't appear in the header.
PR: 84450
Reviewed by: alfred
|
|
|
|
|
| |
- Include rpc_scan.h before rpc_util.h for the tok_kind enum.
- Nuke unused declarations.
|
| |
|
|
|
|
| |
Remove a non-bug from the BUGS section.
|
|
|
|
| |
instead of a file operand; this is not compatible with POSIX.
|
| |
|
|
|
|
|
|
|
| |
tell pkill(1)/pgrep(1) to try to flock(2) pidfile before reading PID from
there.
Discussed with: jhb, gad
|
|
|
|
|
| |
PR: bin/84995
Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
|
|
|
|
|
| |
Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
PR: bin/84991
|
|
|
|
| |
an argument has to be locked.
|
|
|
|
|
|
| |
display of netstat(1).
MFC after: 3 days
|
|
|
|
|
| |
MFC after: 3 weeks
Sponsored by: Sophos/ActiveState
|
|
|
|
|
|
|
|
| |
[0-9a-f]{64}, so exclude portsnap's compressed snapshots from locate's
indexing.
Suggested by: silby
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
if none was specified on the command line. This is not permitted by
POSIX, and no longer needed now that we have the -a option.
PR: 85099
Submitted by: Toby Peterson (Apple Computer)
|
|
|
|
|
| |
"all interfaces" mode. (Only works with -w, but still better
than nothing.)
|
| |
|
|
|
|
|
|
|
| |
statistics in human readable form.
In collaboration with: vsevolod
Reviewed by: cperciva
|
|
|
|
|
| |
daylight-saving, this was actually wrong because mktime() already does that for
us.
|
|
|
|
|
|
| |
these files spuriously changing each time they are built.
Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
|
|
|
|
| |
declaration of independence, not after the first world war.
|
|
|
|
|
|
| |
from the output.
Obtained from: DragonFlyBSD
|
|
|
|
| |
this information from the core dump.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
integer to an unsigned long. This lifts variables like the maximum
number of pages available for shared memory from 2^31 to 2^32 on 32
bit architectures, and from 2^31 to 2^64 on 64 bit architectures.
It should be noted that this changes breaks ABI on 64 bit architectures
because the size of the shmmax, shmmin, shmmni, shmseg and shmall members
of the shminfo structure has changed.
Silence on: current@
|
| |
|
|
|
|
|
|
| |
wrong place.
Pointy hat to: cperciva
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
constructing and applying binary patches; in particular, they perform
well (in the sense of constructing small patches) for executable code.
Both portsnap (coming to the base system Real Soon Now) and FreeBSD
Update (coming to the base system a bit later) use bspatch.
This is the same code as the bsdiff-4.2 which has been in the ports
tree (misc/bsdiff) for the past year, with the following exceptions:
1. The license is now the traditional 2-clause BSD;
2. Instead of forking and execing bzip2, the code now uses libbz2; and
3. Some minor changes have been made to fit this code into the base
system (adding $FreeBSD$ tags, putting bsdiff and bspatch into separate
directories, etc.)
This code is rather ugly and has lots of style bugs (mostly because I
wrote it before I had ever heard of style(9)). Some day I'll come
back and clean it up.
Discussed on: freebsd-arch
MFC before: 5.5-RELEASE
Tested by: Several million users (earlier version).
|
| |
|
| |
|
| |
|
| |
|
| |
|