Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

sostat: improve pf_ring output #461

Closed
GoogleCodeExporter opened this Issue Mar 24, 2015 · 2 comments

Comments

Projects
None yet
1 participant
        if [ -f /proc/net/pf_ring/info ]; then
                header "pf_ring stats"
                cat /proc/net/pf_ring/info
                if ls /proc/net/pf_ring/*-* >/dev/null 2>&1; then
                        echo
                        egrep -h "Appl. Name|Tot Packets|Tot Pkt Lost|Errors|Slots" /proc/net/pf_ring/*-*
                fi
        fi

Original issue reported on code.google.com by doug.bu...@gmail.com on 31 Dec 2013 at 12:15

        if [ -f /proc/net/pf_ring/info ]; then
                header "pf_ring stats"
                cat /proc/net/pf_ring/info
                ls /proc/net/pf_ring/*-* &>/dev/null && for i in /proc/net/pf_ring/*-* ; do
                        echo
                        echo $i
                        grep "Appl. Name" $i
                        grep "Tot Packets" $i
                        grep "Tot Pkt Lost" $i
                        grep "Errors" $i
                        grep "Min Num Slots" $i
                        grep "Num Free Slots" $i
                done
        fi

Original comment by doug.bu...@gmail.com on 31 Dec 2013 at 4:39

  • Changed title: sostat: improve pf_ring output
  • Added labels: ****
  • Removed labels: ****
Published:
http://blog.securityonion.net/2014/01/new-securityonion-sostat-package.html

Original comment by doug.bu...@gmail.com on 13 Jan 2014 at 1:34

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment