On Mon, 16 Dec 2002 11:24:39 +0200, "The Sorcerer" <[EMAIL PROTECTED]>
said:
> 
> On Mon, 16 Dec 2002 00:35:41 +0100
> "Ciprian Niculescu" <[EMAIL PROTECTED]> wrote:
> 
> > pentru trafic instantaneu:
> > 1. iptraf cu filtrele lui, ar trebui sa mearga
> > 2. tcpstat direct sau prin tcpdump
> 
>       iptraf este bun insa mie mi se pare prea stufos (adevaru' e ca
> nici nu l-am sapat prea adanc), iar tcpstat nu afisheaza ce ma
> intereseaza shi pe mine: un anumit ip

# tcpstat -?
tcpstat version 1.4
usage: tcpstat [-?haeFlp] [-b bps] [-B bps] [-f filter expr] [-i
interface]
            [-o output] [-R seconds] [-r filename] [-s seconds]
            [interval]
        -?, -h          - display this help
        -a              - accounting mode
        -b bps          - bandwidth mode, where bps is bits/second
        -B bps          - dumb bandwidth mode, where bps is bits/second
        -e              - do not print empty intervals
        -F              - flush stdout after printing each line
        -f filter expr  - packet filter expression (like in tcpdump)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

        -i interface    - do live capture on [interface], not from file
        -l              - include linklayer in packet size calc
        -p              - non-promiscuous mode when doing live capture
        -o output       - format for the output of stats (see manpage)
        -R seconds      - display time relative to [seconds]
        -r filename     - read data from [filename]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
asta daca vrei sa il pipe cu tcpdump

        -s seconds      - capture only [seconds] long (-1 is infinite)

        interval        - time interval (seconds) for taking samples

singura parte proasta cu tcpstat este ca daca nu are trafic se blockeaza,
si tre sa il kill, este de la un semnal de timeout

>       deci ? shtie cineva un program care sa afisheze pe un server cat
> trafic face un anumit ip la un anume moment dat ?
>       trafic global pe o anumita interfatza, LIVE (adica face refresh
> f. rapid) in mod text, impartzit in upload, download ar fi netrate, eu
> pe asta l-am folosit pana acum.

eu iptraf si recunosc ca netrate nu am testat :)))

C

---
Pentru dezabonare, trimiteti mail la 
[EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui