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  -  TRAFSTATD (8)

NAME

trafstatd - ip traffic statistics daemon.

CONTENTS

Synopsis
Description
     Usage
     Installation
     Retrieve current traffic statistic.
Options
Exit Status
Files
Compatibility
See Also
Authors

SYNOPSIS

trafstatd [-V] [-L logfile]

DESCRIPTION

TrafStatD daemon allow remote requests of the current traffic statistic, collected via trafd (see trafd(8)).

Client program for trafstatd is named trafstat (see trafstat(1)). The telnet program (see telnet(1)) can use as an alternative client.

    Usage

Trafstatd is normally invoked by the internet server (see inetd(8)) for requests to connect to the selected port (for example, 150) as indicated by the /etc/services file (see services(5)). If you run trafstatd manually, it display error message. Run trafstatd with -V option for display version number.

    Installation

After compilation and installation BPFT programs do following steps:
  1. Add line to /etc/services for use some (not used by other application) tcp port for incoming connections to trafstatd, for example:

    
    trafstat 150/tcp # network traffic statistic
    
    
    .Be
  2. Add line to /etc/inetd.conf for invoke trafstatd from inetd for incoming connections to trafstat tcp port, for example:

    trafstat stream tcp nowait root /usr/local/sbin/trafstatd trafstatd
    .Be

  3. Force inetd to re-read config file:

    killall -HUP inetd
    .Be

    (or kill -1 with the PID number of the inetd)

    Retrieve current traffic statistic.

Run the trafstat program (see trafstat(1)) for connect to trafstat port or run the " telnet host port " (see telnet(1)) and put the string of command line parameters to remote trafstat.

OPTIONS

-L logfile
  Write log messages to file logfile
-V Print version number and exit.

EXIT STATUS

-1 error (run not from inetd, trafstat not found, call error or illegal command line parameter)
1 Normal return where called from inetd
0 Normal return where called vith -V option from command line.

FILES

/var/log/trafstat.log

    log file.

/usr/local/bin/trafstat

    program for show traffic statistic, called from trafstatd.

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)) don’t present in previous versions of the
.Fx

SEE ALSO

trafstat(1), trafd(8), traflog(1), trafshow(1), bpf(4).

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 8 |  Main Index


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