In 5 minutes, the spaghetti with be done. If you want softer spaghetti, add 1-2 minutes to cooking time.
If you like saucy spaghetti, add more pesto sauce. You can also add some heavy cream to make this a creamy pesto spaghetti.
Before opening the pressure cooker, use one of the included plastic or other utensil to carefully turn the pressure valve to "RELEASE" and then wait 2-3 minutes for the steam to be released and the red floater valve is in the down position before opening the cooker. When opening the cooker, use pot holders, and always keep your body, face and hands away from the steam vent. Be sure to stand behind the lid as you open it so the hot steam and condensation don't get on you. As with all kitchen appliances, be sure to keep the cooker out of reach of children.