show `vcpu usages' by `virt-top -1'
[virt-top.git] / ChangeLog
index d501dcd..ded671f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,138 @@
+2012-03-06  Richard W.M. Jones  <rjones@redhat.com>
+
+       Version 1.0.7.
+
+       Ignore aclocal.m4.
+
+       Document requirements in README file.
+
+2012-03-06  Lai Jiangshan  <laijs@cn.fujitsu.com>
+
+       virt-top: correct "virt-top -1" command via cpuacct cgroup
+       Old "virt-top -1" is not correct, its output is generated by guess:
+       use average usage for pinned physical CPUs.
+
+       example(old "virt-top -1"):
+
+       PHYCPU %CPU rhel6  Windows
+          0    0.6  0.1=   0.5=
+          1    0.6  0.1=   0.5=#
+          2    0.6  0.1=   0.5=
+          3    0.6  0.1=#  0.5=
+
+       The output almost makes no sense(all the value are just average, not real).
+
+       This is new implement, it use cpuacct cgroup to gain *real* physical usages
+       via cpuacct cgroup by virDomainGetCPUStats() API.
+
+       new result:
+
+       PHYCPU %CPU rhel6  Windows
+          0    1.3  0.3     1.0
+          1    2.3  0.3     2.0
+          2    2.2  0.5     1.7
+          3    2.5  0.4     2.1
+
+       PHYCPU %CPU rhel6  Windows
+          0    1.7  0.4     1.3
+          1    3.6  1.0     2.7
+          2    1.6  0.4     1.2
+          3    4.8  3.1     1.7
+
+       Note: average flag(=) is dropped, there is not average value in here.
+       Note: running flag(#) is dropped, because if the value is not empty,
+             it means the guest was once running in the physical CPU in this period
+             between updates.
+
+       Changed from V3:
+               use new virDomainGetCPUStats() libvirt-API.
+               add a new function find_usages_from_stats() to gain cpu usages.
+
+2011-08-15  Richard W.M. Jones  <rjones@redhat.com>
+
+       Ensure manpages get built when using native compiler (thanks Laurent LĂ©onard).
+
+2011-08-12  Richard W.M. Jones  <rjones@redhat.com>
+
+       Version 1.0.6.
+
+       Update MANIFEST and fix 'make dist'.
+       make dist now copies the generated manual pages into the tarball, so
+       that we don't have to keep these generated files in git.
+
+       Fix ordering of csv_mode and stream_mode in tuple.
+       Note that this bug could have been avoided by using a struct instead
+       of a tuple here.
+
+       This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.
+
+2011-08-11  Richard W.M. Jones  <rjones@redhat.com>
+
+       docs: Explain how to debug libvirt initialization problems (RHBZ#680031).
+
+2011-04-02  Richard W.M. Jones  <rjones@redhat.com>
+
+       Pull translations from Transifex.
+
+2011-03-08  Richard W.M. Jones  <rjones@redhat.com>
+
+       Fix --end-time option with absolute times.
+       Assume the user enters a local time, and convert it to UTC.
+
+       This also adds some clarifying comments to the relative time
+       code (but doesn't change that code).
+
+       Note that the obsolete Calendar1 code is *not* updated by this change.
+
+       docs: Fix documentation for virt-top -c option.
+       Because of changes in libvirt, this no longer connects to Xen by
+       default.  Instead the default is to connect to the libvirt default
+       hypervisor (which could be Xen, KVM or others).  Update the --help
+       documentation and manual page accordingly.
+
+       Remove generated man pages from git.
+
+2011-03-07  KAMEZAWA Hiroyuki  <kamezawa@bluextal.(none)>
+
+       add memory stats to --csv mode.
+       In csv mode, memory usage in kbytes and %mem against total system
+       memory is shown.
+
+2011-03-07  KAMEZAWA Hiroyuki  <kamezawa.hiroyu@jp.fujitsu.com>
+
+       Record memory statistics information to 'rd' object.
+       This helps to share the calculation (between modes) and
+       will help to show memory statistics in --csv mode
+
+       Signged-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
+
+2011-03-07  Richard W.M. Jones  <rjones@redhat.com>
+
+       Import virt-top into transifex.
+       http://www.transifex.net/projects/p/virttop/
+
+2011-02-02  Richard W.M. Jones  <rjones@redhat.com>
+
+       Update generated man page files.
+
+2011-02-02  KAMEZAWA Hiroyuki  <kamezawa.hiroyu@jp.fujitsu.com>
+
+       Add --block-in-bytes option.
+       This option and the 'B' key toggles block I/O stats between
+       requests and bytes.
+
+       Add --stream flag.
+       Output is sent to stdout (similar to the top -b option).
+
+2011-01-24  Richard W.M. Jones  <rjones@redhat.com>
+
+       Obey virt-top --end-time down to near millisecond accuracy (RHBZ#637964).
+       Adjust the final delay down so that the --end-time option is obeyed
+       down to near millisecond accuracy.
+
+       The 'usleep' function has been renamed more accurately as 'millisleep'
+       since it sleeps for milliseconds not microseconds.
+
 2011-01-06  Richard W.M. Jones  <rjones@redhat.com>
 
        Version 1.0.5.