retrieve the status of an interface