Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

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

        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
Copy link
Author

        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
Copy link
Author

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant