RE: Network Statistics Collection

From: Huber, George K RDECOM CERDEC STCD SRI (George.K.Huber_at_us.army.mil)
Date: 09/21/04

  • Next message: Evgeniy Polyakov: "Re: Kernel connector - userspace <-> kernelspace "linker"."
    To: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org, linux-c-programming@vger.kernel.org, linux-admin@vger.kernel.org, linux-newbie@vger.kernel.org
    Date:	Tue, 21 Sep 2004 09:54:23 -0400
    
    

    Tejas wondered:

    >I am working on a company project and as a part of it - I have to
    >collect and show some network information on the Monitoring utility.
    >Please help to find out that how can I collect these information from
    >a Linux Machine.

    >1. Number of active TCP connection
    >2. Information of Active connections (Source and Dest IP, Source and Dest
    Port)
    >3. Retransmitted packets due to Duplicate ACK and SACK
    >4. Connection Duration and RTT
    >5. Transmission Troughput (in KB/Sec)
    >6. Number of Newly Created TCP Connections
    >7. Closed TCP Connections
    >8. Total Data transmitted (in byte)
    >9. Total Data Retransmitted (in byte)

    Take a look at iptraf - it does most (if not all of what you want). Through
    a
    study of its source code you should be able to figure out how to do what you
    want.

    George
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Evgeniy Polyakov: "Re: Kernel connector - userspace <-> kernelspace "linker"."

    Relevant Pages

    • Network Statistics Collection
      ... Number of Newly Created TCP Connections ... Total Data Retransmitted ... does anybody have any information on Watchdaog or how to use ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: bandwidth for bkbits.net (good news)
      ... short and new TCP connections) and that a little settling time is OK. ... There is a reason that the phone networks don't work like IP networks. ... Doing optimistic allocation and then backing off means that the phones ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH][SELINUX] Add name_connect permission check
      ... >> from the general controls over sending and receiving packets. ... all my outgoing TCP connections at a guess due to this patch.. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • wait_event_interruptible_timeout problem
      ... I have a kernel module where I have ... opened multiple tcp connections. ... i want my process to sleep. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)