Usman Khawaja has played the greatest innings of his Test career to help Australia tighten the screws on Sri Lanka in a series opener fast slipping away from the hosts.
Khawaja (232), milestone man Steve Smith (141) and debutant Josh Inglis (102) feasted in Galle on day two as Australia declared on 6-654, their largest total for any innings on the subcontinent.
Sri Lanka (3-44) then lost three wickets within an hour and could have been four down had substitute fielder Nathan McSweeney held onto Dinesh Chandimal's edge above the slips.