Who rated this post

cancel
Showing results for 
Search instead for 
Did you mean: 

Arne_Boettger
Collaborator

Hello Heiko,

we used this command yesterday and found bond-interfaces with misleading information. I tried my best to modify your oneliner to remove matches for bondX.YZ when searching for bondX. Please find my changed oneliner below and check if it matches your expectations:


   ifconfig -a |grep -B 1 inet |grep encap| awk '{print $1}' | grep -v lo | grep -v ":" | grep -v ^lo | xargs -I % sh -c 'echo %;echo -n " VIP "; cphaprob -a if |grep "% "|grep -v U|grep -v D | cut -c16-| tr -d 
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


(1)
Who rated this post