Skip to content
Snippets Groups Projects
Commit f9efe804 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update interface filter

parent 4639e5bb
No related branches found
No related tags found
1 merge request!136update interface filter - netio
...@@ -72,7 +72,7 @@ typeset -i iSpeedTrans=0 ...@@ -72,7 +72,7 @@ typeset -i iSpeedTrans=0
typeset -i iTotalRead=0 typeset -i iTotalRead=0
typeset -i iTotalTrans=0 typeset -i iTotalTrans=0
data=$( cat /proc/net/dev | grep ":" | grep -v "lo:") data=$( cat /proc/net/dev | grep ":" | grep -vE "(lo|bond.*|ppp.*):")
allInterfaces=$( cut -f 1 -d ":" <<< "$data" | tr -d " " ) allInterfaces=$( cut -f 1 -d ":" <<< "$data" | tr -d " " )
sInterface=$( ph.getValueWithParam "$allInterfaces" "i" "$@" | sort ) sInterface=$( ph.getValueWithParam "$allInterfaces" "i" "$@" | sort )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment