To _measure_ how much memory _consumes_ one logical switch _with_ fixed number of ports invoke the script as follows: