I live in south africa where our telecom caps our adsl lines at a certain amount of usage. Sadly they don't disconnect the pppoe totally, it just stops to pass traffic. Now I'm looking for a command that graps the xxx "received-bits-per-second: xxx kbps" from this command "interface monitor-traffic pppoe.out.interface once" If it equals 0 I want to execute commands.
Any idea how to grap only the xxx part?