Projects / pktstat

pktstat

pktstat listens to the network and shows the bandwidth being consumed by packets of various kinds in realtime. It understands some protocols (including FTP, HTTP, and X11) and adds a descriptive name next to the entry (e.g., 'RETR cd8.iso', 'GET http://slashdot.org/' or 'xclock -fg blue').

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  04 Mar 2012 15:48

    Release Notes: Minor enhancements including an SMTP tagger and better memory management of historic flow data.

    •  04 Sep 2007 15:04

      Release Notes: This release increases packet and octet counter ranges from 32 bit to 64 bit, improves window resize event handling, fixes an over-by-one buffer overflow bug, and adds a single-shot batch output mode.

      •  14 Nov 2006 13:21

        Release Notes: This release fixes a crash that occurs with unknown ethernet frames, and adds build support for Solaris and AIX.

        •  10 Nov 2006 07:27

          Release Notes: This release fixes a display bug which occurred when the window is resized and addresses many compile-time warnings on Linux. Linux RPM packages can now be built with "rpmbuild -tb".

          •  12 Feb 2006 14:37

            Release Notes: This release fixes a build problem on Linux and display issues with wait time entry.

            Recent comments

            04 Feb 2008 01:53 dleonard

            Re: pktstat 1.4.8 make error


            > I had to edit the config.h to change:

            > /* #undef HAVE_PCAP_H */

            > to:

            > #define HAVE_PCAP_H 1

            >

            > before main.c would compile.

            >

            > It seems to work very well!

            Hmmm, there is no config.h file distributed in the source :) But there IS a config.h.in file that configure uses to build a config.h. Perhaps it is configure not detecting pcap.h properly? Could you please file a bug at the bug tracker link above? Please include the OS you're building on and the output from running configure. Thanks!

            03 Feb 2008 19:40 Perler65

            pktstat 1.4.8 make error
            I had to edit the config.h to change:

            /* #undef HAVE_PCAP_H */

            to:

            #define HAVE_PCAP_H 1

            before main.c would compile.

            It seems to work very well!

            25 Aug 2003 16:53 lady3jane

            Re: error for 1.7.3a

            >
            > % GNUmakefile:15: *** target pattern
            > % contains no `%'. Stop.
            >
            >
            > sorry, dropped the "?" after "OBJS" in
            > GNUmakefile. new output here:
            >
            > ipx.c:29: parse error before
            > `__attribute__'
            > ipx.c:29: warning: no semicolon at end
            > of struct or union
            > ipx.c:30: warning: `__packed__'
            > attribute ignored
            > ipx.c:31: parse error before `}'
            > ipx.c:31: warning: data definition has
            > no type or storage class
            > ipx.c:37: parse error before
            > `ipx_addr_t'
            > ipx.c:37: warning: no semicolon at end
            > of struct or union
            > ipx.c:38: warning: `__packed__'
            > attribute ignored
            > ipx.c:38: warning: data definition has
            > no type or storage class
            > ipx.c:39: parse error before `}'
            > ipx.c: In function `ipx_tag':
            > ipx.c:135: storage size of `h' isn't
            > known
            > make: *** [ipx.o] Error 1
            >

            okay, after tiddying up ipx.c's typedef struct, back to square 1

            main.o: In function `main':
            main.o(.text+0x8a4): undefined reference to `atexit'
            main.o(.text+0x8a4): relocation truncated to fit: R_ARM_PC24 atexit
            collect2: ld returned 1 exit status
            make: *** [pktstat] Error 1

            25 Aug 2003 16:28 lady3jane

            Re: error for 1.7.3a

            > GNUmakefile:15: *** target pattern
            > contains no `%'. Stop.


            sorry, dropped the "?" after "OBJS" in GNUmakefile. new output here:

            ipx.c:29: parse error before `__attribute__'
            ipx.c:29: warning: no semicolon at end of struct or union
            ipx.c:30: warning: `__packed__' attribute ignored
            ipx.c:31: parse error before `}'
            ipx.c:31: warning: data definition has no type or storage class
            ipx.c:37: parse error before `ipx_addr_t'
            ipx.c:37: warning: no semicolon at end of struct or union
            ipx.c:38: warning: `__packed__' attribute ignored
            ipx.c:38: warning: data definition has no type or storage class
            ipx.c:39: parse error before `}'
            ipx.c: In function `ipx_tag':
            ipx.c:135: storage size of `h' isn't known
            make: *** [ipx.o] Error 1

            25 Aug 2003 15:28 lady3jane

            error for 1.7.3a
            GNUmakefile:15: *** target pattern contains no `%'. Stop.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.