1 2012-03-06 Richard W.M. Jones <rjones@redhat.com>
7 Document requirements in README file.
9 2012-03-06 Lai Jiangshan <laijs@cn.fujitsu.com>
11 virt-top: correct "virt-top -1" command via cpuacct cgroup
12 Old "virt-top -1" is not correct, its output is generated by guess:
13 use average usage for pinned physical CPUs.
15 example(old "virt-top -1"):
17 PHYCPU %CPU rhel6 Windows
23 The output almost makes no sense(all the value are just average, not real).
25 This is new implement, it use cpuacct cgroup to gain *real* physical usages
26 via cpuacct cgroup by virDomainGetCPUStats() API.
30 PHYCPU %CPU rhel6 Windows
36 PHYCPU %CPU rhel6 Windows
42 Note: average flag(=) is dropped, there is not average value in here.
43 Note: running flag(#) is dropped, because if the value is not empty,
44 it means the guest was once running in the physical CPU in this period
48 use new virDomainGetCPUStats() libvirt-API.
49 add a new function find_usages_from_stats() to gain cpu usages.
51 2011-08-15 Richard W.M. Jones <rjones@redhat.com>
53 Ensure manpages get built when using native compiler (thanks Laurent Léonard).
55 2011-08-12 Richard W.M. Jones <rjones@redhat.com>
59 Update MANIFEST and fix 'make dist'.
60 make dist now copies the generated manual pages into the tarball, so
61 that we don't have to keep these generated files in git.
63 Fix ordering of csv_mode and stream_mode in tuple.
64 Note that this bug could have been avoided by using a struct instead
67 This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.
69 2011-08-11 Richard W.M. Jones <rjones@redhat.com>
71 docs: Explain how to debug libvirt initialization problems (RHBZ#680031).
73 2011-04-02 Richard W.M. Jones <rjones@redhat.com>
75 Pull translations from Transifex.
77 2011-03-08 Richard W.M. Jones <rjones@redhat.com>
79 Fix --end-time option with absolute times.
80 Assume the user enters a local time, and convert it to UTC.
82 This also adds some clarifying comments to the relative time
83 code (but doesn't change that code).
85 Note that the obsolete Calendar1 code is *not* updated by this change.
87 docs: Fix documentation for virt-top -c option.
88 Because of changes in libvirt, this no longer connects to Xen by
89 default. Instead the default is to connect to the libvirt default
90 hypervisor (which could be Xen, KVM or others). Update the --help
91 documentation and manual page accordingly.
93 Remove generated man pages from git.
95 2011-03-07 KAMEZAWA Hiroyuki <kamezawa@bluextal.(none)>
97 add memory stats to --csv mode.
98 In csv mode, memory usage in kbytes and %mem against total system
101 2011-03-07 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
103 Record memory statistics information to 'rd' object.
104 This helps to share the calculation (between modes) and
105 will help to show memory statistics in --csv mode
107 Signged-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
109 2011-03-07 Richard W.M. Jones <rjones@redhat.com>
111 Import virt-top into transifex.
112 http://www.transifex.net/projects/p/virttop/
114 2011-02-02 Richard W.M. Jones <rjones@redhat.com>
116 Update generated man page files.
118 2011-02-02 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
120 Add --block-in-bytes option.
121 This option and the 'B' key toggles block I/O stats between
125 Output is sent to stdout (similar to the top -b option).
127 2011-01-24 Richard W.M. Jones <rjones@redhat.com>
129 Obey virt-top --end-time down to near millisecond accuracy (RHBZ#637964).
130 Adjust the final delay down so that the --end-time option is obeyed
131 down to near millisecond accuracy.
133 The 'usleep' function has been renamed more accurately as 'millisleep'
134 since it sleeps for milliseconds not microseconds.
136 2011-01-06 Richard W.M. Jones <rjones@redhat.com>
140 Add aclocal.m4 file to git.
141 This file is sort of generated, but at the moment only has
142 a single line which includes m4/ocaml.m4, that is vital for
145 Re-add virt-top/README file.
146 This seems to have been dropped during the hg->git transition.
148 Document background noise of RX packets from bridges (RHBZ#647987).
149 For more information see:
150 https://bugzilla.redhat.com/show_bug.cgi?id=647987#c9
152 man page: Remove excess blank line.
154 main: Record and print full exception stack traces.
155 This turns on stack trace recording unconditionally (the same
156 effect as if OCAMLRUNPARAM=b was always supplied), and also prints
157 stack traces to the log file if there is an exception.
160 http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printexc.html
162 Note that this requires OCaml >= 3.11.0.
164 Fix pad function to work for negative widths (RHBZ#634435).
165 The pad function is supposed to pad a string to a width. Under some
166 circumstances, the width parameter could be negative resulting in a
167 call to String.sub such as:
169 String.sub str 0 (-1)
171 which caused an exception to be thrown and not caught, causing
172 virt-top to exit. Fix the pad function to return an empty string if
173 width <= 0 instead of throwing an exception.
176 https://bugzilla.redhat.com/show_bug.cgi?id=634435
180 Update generated man pages.
182 Fix virt-top --end-time option when TZ<>UTC (RHBZ#637964).
183 Return the end time as seconds since 1970, and don't adjust it
184 for timezone. In the main module the end time is compared against
185 the result of Unix.gettimeofday, which is also seconds since 1970,
186 so the comparison now works.
188 Tested with TZ=UTC-05, TZ=UTC and TZ=UTC+05.
190 NB: This has not been tested against ocaml-calendar 1.x, although
191 that version of calendar is obsolete and no one should be using it.
193 Update dependencies file.
195 man page: memory option shows total guest memory (RHBZ#647991).
197 man page: Update copyright date and link to web pages.
199 Remove references to xm/xentop manual pages (RHBZ#648186).
200 These Xen tools are obsolete since virsh/virt-top works across
203 2010-09-02 Richard Jones <rjones@redhat.com>
205 Change order of return values from getyx - fixes display of historical CPU.
207 http://cvs.savannah.gnu.org/viewvc/ocaml-tmk/functions.c?root=ocaml-tmk&r1=1.2&r2=1.3
208 Sam changed (fixed) the order that the coordinates are returned
209 from the ncurses 'getyx' call. Since this commit was made 3 years
210 ago it should be safe to assume everyone is using the new ocaml-ncurses
213 This meant the historical %CPU was being displayed off the bottom of
214 the screen instead of on the top row at the right. Now it is displayed
215 in the correct place.
217 2010-06-15 Kiyoto Hashida <khashida@redhat.com>
219 Update Japanese translations (RHBZ#493799).
221 2010-03-05 Yulia <ypoyarko@redhat.com>
223 Updated Russian translations (RHBZ#493799).
225 2010-03-05 Richard Jones <rjones@redhat.com>
227 Newer autoconf adds PACKAGE_URL definition.
229 2010-02-12 Richard Jones <rjones@redhat.com>
231 zh_CN: Remove bogus Plural-Forms line.
233 Japanese: update bogus 'Plural-Forms: Plural-Forms'.
235 2010-02-12 Hajime Taira <htaira@redhat.com>
237 Update Japanese translations (RHBZ#493799).
239 2010-01-28 Richard Jones <rjones@redhat.com>
241 Rename te_IN.po -> te.po (Piotr Drąg).
243 Telugu translation added by Krishna Babu K (RHBZ#493799c32)
245 Polish translation updated by Piotr Drag (RHBZ#493799c31)
247 Portuguese translation added by Glaucia Cintra (RHBZ#493799c30)
249 Chinese translation updated by Wei Liu (RHBZ#493799c29)
251 Oriya translation added by Manoj Kumar Giri (RHBZ#493799c28)
253 Spanish translation updated by Daniel Cabrera (RHBZ#493799c27)
255 2009-12-30 Richard Jones <rjones@redhat.com>
257 Update to ocaml-autoconf macros 1.1
259 Fix detection of ocaml-findlib.
261 2009-10-06 Richard Jones <rjones@trick.home.annexia.org>
263 HACKING file, update (C) messages.
267 Remove extra spaces after s_ and f_ operators.
269 Safer curses functions.
270 Add safer curses functions which don't require use of dangerous
273 Replace failwith (sprintf...) with failwithf
275 Remove -w s and fix so it compiles without warnings.
277 Remove NSIS installer.
279 Change over to using ocaml.m4 macros.
281 2009-10-05 Richard Jones <rjones@trick.home.annexia.org>
285 TODO.virt-top renamed as TODO
289 Update manpage with --version option.
291 Add virt-top --version command line option.
293 Add the real virt-top version to help display.
295 Version 1.0.4 for release.
297 Fix changelog and manifest files.
299 gitlog-to-changelog: If the date field is empty, don't barf.
301 Added Jim Meyering's gitlog-to-changelog program.
303 Add total hardware memory field (RHBZ#521785)
305 Don't need to explicitly link against ncurses.
309 Add Japanese to list of translations.
311 Use msgfmt to generate *.mo files correctly.
313 Update documentation.
317 Rename .hgignore -> .gitignore, update dependencies.