Add command to print ports assigned to local addresses

Also to print extensive information about processes