Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sostat: improve pf_ring output #461

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

sostat: improve pf_ring output #461

GoogleCodeExporter opened this issue Mar 24, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 24, 2015

        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

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 24, 2015

        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: ****
@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 24, 2015

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
Projects
None yet
1 participant
You can’t perform that action at this time.