Monitor the number of ip addresses in Linux