You can ask if any upgrades are available, but when you get to the gate there will be a flat screen monitor overhead that will show you the status of upgrades and standby passengers. Most airlines assume that all frequent flyers want to apply for upgrades, so you get put into the queue as soon as you buy your ticket.