[libvirt-users] does virsh have a history with timestamps ?

Peter Krempa pkrempa at redhat.com
Tue Aug 13 07:41:41 UTC 2019


On Mon, Aug 12, 2019 at 19:24:29 +0200, Lentes, Bernd wrote:
> Hi,
> 
> i knwo that virsh has its own history, but are somewhere the respective timestamps logged ?

No, libvirt uses readline's history infrastructure which does not record
timestamps with the entries. This is similar to for example bash_history
which also does not record history.

Also note that non-interactive use of virsh (e.g. 'virsh start DOMNAME')
is not recorded at all in virsh's history file.

In this case it's way better to look at the libvirtd log files which
should contain log entries for any operation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20190813/6505c612/attachment.sig>


More information about the libvirt-users mailing list