support `list` flag to show running instances and indexes