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


Manual Reference Pages  -  TRAFSTAT (1)

NAME

trafstat - grab current traffic statistics from daemon

CONTENTS

Synopsis
Description
Options
Exit Status
Files
Compatibility
See Also
Authors

SYNOPSIS

trafstat [-V] trafstat [-i iface] [-b-| -fnN ] [host [port]]

DESCRIPTION

trafstat show current traffic statistic collected in trafd internal buffer (see trafd(8)).

Output formatted to 7 columns:
From packet’s source address
(from) Port
  packet’s source port (for tcp or udp)
To packet’s destination address
(to) Port
  packet’s destination port (for tcp or udp)
Proto protocol (see protocols(5) and /etc/protocols)
Data size of the packet data frame
All full size of the IP packet (traffic value)

OPTIONS

-V Print version number and exit.
-i iface
  Interface name, which trafd listen traffic
-A Resolve local network and broadcast adresses (default not resolved)
-b Binary output (use for save to file)
-f Resolve addresses only for hosts in local network.
-n Don’t resolve addresses to host names.
-N Output only host names (without domain name).
host Request traffic statistic from remote host (traffic server).
port Remote traffic server port.

EXIT STATUS

1 Error (see log)
0 Success.

FILES

/var/log/trafstat.log

    log file.

COMPATIBILITY

Tested on: BSDI BSD/386 1.0 (BPFT versions 1.0-2.0),
.Fx 2.2.8 (BPFT version 2.0),
.Fx 3.0 and above,
.Fx 4.0 and above (BPFT version 3.0 and above).

BPFT versions 3.*, 4.* work only on
.Fx 3.0 and above: requred library pcap (see pcap(3)) not included into previous versions of the
.Fx

SEE ALSO

trafstatd(8), trafd(8), traflog(1), trafshow(1), bpf(4), pcap(3).

AUTHORS


.An Vladimir Vorobyev Aq bob@turbo.nsk.su

    autor of the BPFT project, versions 1.0..2.0


.An Vitaly V. Belekhov Aq vitaly@riss-telecom.ru

    3.0 release


.An Stas Degteff Aq g@grumbler.org

    4.0 release, man pages

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


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