South Africa end day two of the Second Test against Australia on 230-2, on a day that has seen them dominate their hosts at the WACA.