diff --git a/examples/guestfs-recipes.pod b/examples/guestfs-recipes.pod index 6683b1517..2679b6885 100644 --- a/examples/guestfs-recipes.pod +++ b/examples/guestfs-recipes.pod @@ -278,6 +278,35 @@ listing who was logged in recently L +=head1 Hanging guests + +There are various ways to use libguestfs to find out why a guest +is hanging or unresponsive: + +=over 4 + +=item 1. + +Read the log files using virt-cat: + + virt-cat Guest /var/log/messages | less + +=item 2. + +Read the Windows Event Log (Windows Vista or later only): + +L + +=item 3. + +Find out which files were last updated in a guest: + +L + +This might give you a clue as to what program is running. + +=back + =head1 Install RPMs in a guest The link below contains a method to install RPMs in a guest. In fact