GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
JNETTOP(8) FreeBSD System Manager's Manual JNETTOP(8)

jnettop - View hosts/ports taking up the most network traffic

jnettop [options] [-i interface] [-d filename] [-f filename] [-x rule]

This manual page documents briefly the jnettop command. This manual page is OBSOLETE. Please use jnettop -h as a main source of information about usage.

jnettop captures traffic coming across the host it is running on and displays streams sorted by bandwidth they use. Result is a nice listing of communication on network by host and port, how many bytes went through this transport and the bandwidth it is consuming.

These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.

Show summary of options.
Show version of program.
show BPS In bits per second, not bytes per second
disable content filtering
write debug information into file
reads configuration from filename. defaults to ~/.jnettop. an example can be found at /usr/share/doc/jnettop/dot.jnettop. or in .jnettop file from original distribution package.
capture packets on specified interface
set local aggregation to specified value
disable resolving of ip addresses
enables promiscuous mode on the sniffed interface
set remote aggregation to specified value
selects one of the rules defined in .jnettop configuration file (by it's name)
allows for specification of custom filtering rule. this allows for tcpdump(1) style syntax. don't forget to enclolse the filter into quotes when running from a shell.

Program looks for settings in the file specified by parameter -f, which defaults to ~/.jnettop. Configuration file is an ordinary text file with keywords and their arguments. You HAVE to enclose arguments into double quotes. Available keywords are:

The interface keyword specifies network interface on which to start listening. Example:

interface "eth0"

The local_aggregation keyword specifies initial active local aggregation. Valid values are none, host and port. Example:

local_aggregation host

The promisc keyword specifies, whether jnettop captures packets in promiscuous mode. Example:

promisc on

The remote_aggregation keyword specifies initial active remote aggregation. Valid values are none, host and port. Example:

remote_aggregation port

The resolve keyword specifies, whether resolving is performed on the IP addresses or not.

resolve off

The resolve_rule keyword adds one resolver into list of resolvers for specified address. When resolving, jnettop examines all the rules in the order how they were specified in configuration file. If the network address matches specified range, declared resolver is used. Resolver can be normal, which means the standard DNS lookup or external, which executes specified external program to perform resolving. This can be used with bundled jnettop-lookup-nmb script, which looks up IP addresses using nmblookup(1) tool. If a tool returns empty string or DNS is not found, next rule is examined. If jnettop runs out of rules, than the standard DNS lookup is executed.

resolve_rule "192.168.0.0" "255.255.255.0" normal
resolve_rule "192.168.0.0" "255.255.255.0" external "/usr/share/jnettop/jnettop-lookup-nbm"

The rule keyword defines a set of predefined tcpdump(1)-like filters to apply. You can specify various filters as "show me what 192.168.1.32" sends:

rule "show 192.168.1.32" "src 192.168.1.32"

The select_rule keyword specifies initial active predefined rule. The rule must be defined before this keyword is used. Example:

select_rule "show 192.168.1.32"

The variable keyword introduces a string variable for use in future rule definitions. It can be used to shorten rule definitions. Example:

variable "intranet" "net 192.168.0.0/16 or 10.0.0.0/8 or 172.16.0.0/12"

This manual page was originally written by Ari Pollak <ari@debian.org>, for the Debian GNU/Linux system. Small changes were introduced by Jakub Skopal <j@kubs.cz>

April 8, 2006

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.