Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

14.6.4. Saving a Screenshot

The virsh screenshot command takes a screenshot of a current domain console and stores it into a file. If however the hypervisor supports more displays for a domain, using the --screen and giving a screen ID will specify which screen to capture. In the case where there are multiple graphics cards, where the heads are numerated before their devices, screen ID 5 addresses the second head on the second card.