process traffic statistics