Fix process monitoring example