We recently presented evidence of a strong correlation between the energy in the high-frequency part of the acoustic spectrum of the Sun and the solar X-ray flux (Karoff & Kjeldsen, 2008). The discovery indicates that flares drive global oscillations in the Sun. If this indication turns out to be true we might be able to use the relation between flares and the energy in the high-frequency part of the acoustic spectrum to detect e.g. flares on the far side of the Sun and flares on other solar-like stars. The last possibility will be tested with observations from the nearly launched Kepler satellite as part of a larger project of sounding stellar cycles with asteroseismology. Asteroseismology can sound stellar cycles by studying periodic changes, in the amplitudes and frequencies of the oscillation modes in the stars, that follow the stellar cycles. By comparing these measurements with conventional ground-based crohmospheric activity measurements we might be able to increase our understanding of the relation between the chromospheric changes and the changes in the oscillation modes. Also, asteroseismic measurements of e.g. the depth of the convection zone and internal differential rotation could enable us to answer the question: Are the stellar cycles driven at the top or the base of the convection zone?