Re: [PATCH v1 16/19] tools/kvm_stat: add new interactive command 't'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.06.2017 14:34, Paolo Bonzini wrote:
> 
> 
> On 20/06/2017 11:10, Stefan Raspl wrote:
>> On 08.06.2017 18:21, Paolo Bonzini wrote:
>>>
>>>
>>> On 07/06/2017 21:08, Stefan Raspl wrote:
>>>> It might be handy to display the full history of event stats in some cases.
>>>> Since we have that available for debugfs, we offer a respective command to
>>>> display what's available.
>>>> Note that this command does not toggle - one merely has to reset the stats
>>>> via 'r' to do the next best thing to reverting the effect of 't'.
>>>
>>> It's not clear to me what this does...  Can you explain it better?
>>
>> Sure:
>> While debugfs provides the total number of events since system
>> start, kvm_stat only displays the number of events since kvm_stat
>> was started. Press 't' to display the number of events since the
>> system was started.
>> Note that this command does not toggle, i.e. pressing it again will
>> not restore the number of events since kvm_stat was started. One
>> merely has to reset the stats via 'r' to do the next best thing to
>> reverting the effect of 't'.
>>
>> Is that more clear?
> 
> Sorry for the stupid question, when can this be useful? :)

When you have several guests running for weeks, and want to have a
quick check whether any of the events was triggered in an excessive
manner while you weren't looking (via kvm_stat or similar)?

Ciao,
Stefan




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux