1 2016-10-31 Richard W.M. Jones <rjones@redhat.com>
3 Rename source directory and files.
4 This renames the source directory from virt-top to src/ and removes
5 the unnecessary virt_top_* prefix from many source files.
7 This is entirely refactoring and makes no functional change.
9 Also this fixes the MANIFEST file and removes old Transifex
10 configuration, fixing commit defe5bdd4a32e0206a786d279e0f9cfc238e5e17.
12 2016-01-04 Richard W.M. Jones <rjones@redhat.com>
14 build: Add -g flag to ocamlopt.
15 Modern ocamlopt supports the -g flag fine (very old versions did not).
17 2015-02-21 Richard W.M. Jones <rjones@redhat.com>
19 Update translations from Zanata.
21 Move upstream translations from Tranifex to Zanata.
22 This is at the request of the Fedora localization team.
23 For further information see:
25 https://www.redhat.com/archives/libguestfs/2015-February/msg00168.html
27 2014-08-02 Richard W.M. Jones <rjones@redhat.com>
29 Disable warning about immutable strings (for OCaml 4.02).
31 2012-10-12 Richard W.M. Jones <rjones@redhat.com>
35 2012-10-12 Hu Tao <hutao@cn.fujitsu.com>
37 show `vcpu usages' by `virt-top -1'
38 Before this patch, `virt-top -1' shows total cpu usages
39 which euqal to `vcpu usages' + `hypervisor usages'. This
40 patch adds another column for domains showing `vcpu
41 usages'. An example is:
43 PHYCPU %CPU example_domain
49 RWMJ: I cleaned up this patch a little, but it should be
50 functionally the same.
52 Rename find_usages_from_stats as find_cpu_usages.
53 This is just code motion.
55 2012-10-12 Richard W.M. Jones <rjones@redhat.com>
57 OCaml stable dependencies.
59 Remove D.get_cpu_stats second parameter.
60 In upstream ocaml-libvirt, this second parameter has been removed,
61 because it was found that nr_pcpus can be found by calling the libvirt
64 2012-09-28 Richard W.M. Jones <rjones@redhat.com>
66 Make the main code and exception handling simpler.
68 Better error messages when parsing the init file (RHBZ#836231).
70 Add missing sort order options in --help output (RHBZ#807176).
72 Man page: Add an explanation of columns (RHBZ#834208).
74 man page: Update copyright date.
76 2012-03-06 Richard W.M. Jones <rjones@redhat.com>
82 Document requirements in README file.
84 2012-03-06 Lai Jiangshan <laijs@cn.fujitsu.com>
86 virt-top: correct "virt-top -1" command via cpuacct cgroup
87 Old "virt-top -1" is not correct, its output is generated by guess:
88 use average usage for pinned physical CPUs.
90 example(old "virt-top -1"):
92 PHYCPU %CPU rhel6 Windows
98 The output almost makes no sense(all the value are just average, not real).
100 This is new implement, it use cpuacct cgroup to gain *real* physical usages
101 via cpuacct cgroup by virDomainGetCPUStats() API.
105 PHYCPU %CPU rhel6 Windows
111 PHYCPU %CPU rhel6 Windows
117 Note: average flag(=) is dropped, there is not average value in here.
118 Note: running flag(#) is dropped, because if the value is not empty,
119 it means the guest was once running in the physical CPU in this period
123 use new virDomainGetCPUStats() libvirt-API.
124 add a new function find_usages_from_stats() to gain cpu usages.
126 2011-08-15 Richard W.M. Jones <rjones@redhat.com>
128 Ensure manpages get built when using native compiler (thanks Laurent Léonard).
130 2011-08-12 Richard W.M. Jones <rjones@redhat.com>
134 Update MANIFEST and fix 'make dist'.
135 make dist now copies the generated manual pages into the tarball, so
136 that we don't have to keep these generated files in git.
138 Fix ordering of csv_mode and stream_mode in tuple.
139 Note that this bug could have been avoided by using a struct instead
142 This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.
144 2011-08-11 Richard W.M. Jones <rjones@redhat.com>
146 docs: Explain how to debug libvirt initialization problems (RHBZ#680031).
148 2011-04-02 Richard W.M. Jones <rjones@redhat.com>
150 Pull translations from Transifex.
152 2011-03-08 Richard W.M. Jones <rjones@redhat.com>
154 Fix --end-time option with absolute times.
155 Assume the user enters a local time, and convert it to UTC.
157 This also adds some clarifying comments to the relative time
158 code (but doesn't change that code).
160 Note that the obsolete Calendar1 code is *not* updated by this change.
162 docs: Fix documentation for virt-top -c option.
163 Because of changes in libvirt, this no longer connects to Xen by
164 default. Instead the default is to connect to the libvirt default
165 hypervisor (which could be Xen, KVM or others). Update the --help
166 documentation and manual page accordingly.
168 Remove generated man pages from git.
170 2011-03-07 KAMEZAWA Hiroyuki <kamezawa@bluextal.(none)>
172 add memory stats to --csv mode.
173 In csv mode, memory usage in kbytes and %mem against total system
176 2011-03-07 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
178 Record memory statistics information to 'rd' object.
179 This helps to share the calculation (between modes) and
180 will help to show memory statistics in --csv mode
182 Signged-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
184 2011-03-07 Richard W.M. Jones <rjones@redhat.com>
186 Import virt-top into transifex.
187 http://www.transifex.net/projects/p/virttop/
189 2011-02-02 Richard W.M. Jones <rjones@redhat.com>
191 Update generated man page files.
193 2011-02-02 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
195 Add --block-in-bytes option.
196 This option and the 'B' key toggles block I/O stats between
200 Output is sent to stdout (similar to the top -b option).
202 2011-01-24 Richard W.M. Jones <rjones@redhat.com>
204 Obey virt-top --end-time down to near millisecond accuracy (RHBZ#637964).
205 Adjust the final delay down so that the --end-time option is obeyed
206 down to near millisecond accuracy.
208 The 'usleep' function has been renamed more accurately as 'millisleep'
209 since it sleeps for milliseconds not microseconds.
211 2011-01-06 Richard W.M. Jones <rjones@redhat.com>
215 Add aclocal.m4 file to git.
216 This file is sort of generated, but at the moment only has
217 a single line which includes m4/ocaml.m4, that is vital for
220 Re-add virt-top/README file.
221 This seems to have been dropped during the hg->git transition.
223 Document background noise of RX packets from bridges (RHBZ#647987).
224 For more information see:
225 https://bugzilla.redhat.com/show_bug.cgi?id=647987#c9
227 man page: Remove excess blank line.
229 main: Record and print full exception stack traces.
230 This turns on stack trace recording unconditionally (the same
231 effect as if OCAMLRUNPARAM=b was always supplied), and also prints
232 stack traces to the log file if there is an exception.
235 http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printexc.html
237 Note that this requires OCaml >= 3.11.0.
239 Fix pad function to work for negative widths (RHBZ#634435).
240 The pad function is supposed to pad a string to a width. Under some
241 circumstances, the width parameter could be negative resulting in a
242 call to String.sub such as:
244 String.sub str 0 (-1)
246 which caused an exception to be thrown and not caught, causing
247 virt-top to exit. Fix the pad function to return an empty string if
248 width <= 0 instead of throwing an exception.
251 https://bugzilla.redhat.com/show_bug.cgi?id=634435
255 Update generated man pages.
257 Fix virt-top --end-time option when TZ<>UTC (RHBZ#637964).
258 Return the end time as seconds since 1970, and don't adjust it
259 for timezone. In the main module the end time is compared against
260 the result of Unix.gettimeofday, which is also seconds since 1970,
261 so the comparison now works.
263 Tested with TZ=UTC-05, TZ=UTC and TZ=UTC+05.
265 NB: This has not been tested against ocaml-calendar 1.x, although
266 that version of calendar is obsolete and no one should be using it.
268 Update dependencies file.
270 man page: memory option shows total guest memory (RHBZ#647991).
272 man page: Update copyright date and link to web pages.
274 Remove references to xm/xentop manual pages (RHBZ#648186).
275 These Xen tools are obsolete since virsh/virt-top works across
278 2010-09-02 Richard Jones <rjones@redhat.com>
280 Change order of return values from getyx - fixes display of historical CPU.
282 http://cvs.savannah.gnu.org/viewvc/ocaml-tmk/functions.c?root=ocaml-tmk&r1=1.2&r2=1.3
283 Sam changed (fixed) the order that the coordinates are returned
284 from the ncurses 'getyx' call. Since this commit was made 3 years
285 ago it should be safe to assume everyone is using the new ocaml-ncurses
288 This meant the historical %CPU was being displayed off the bottom of
289 the screen instead of on the top row at the right. Now it is displayed
290 in the correct place.
292 2010-06-15 Kiyoto Hashida <khashida@redhat.com>
294 Update Japanese translations (RHBZ#493799).
296 2010-03-05 Yulia <ypoyarko@redhat.com>
298 Updated Russian translations (RHBZ#493799).
300 2010-03-05 Richard Jones <rjones@redhat.com>
302 Newer autoconf adds PACKAGE_URL definition.
304 2010-02-12 Richard Jones <rjones@redhat.com>
306 zh_CN: Remove bogus Plural-Forms line.
308 Japanese: update bogus 'Plural-Forms: Plural-Forms'.
310 2010-02-12 Hajime Taira <htaira@redhat.com>
312 Update Japanese translations (RHBZ#493799).
314 2010-01-28 Richard Jones <rjones@redhat.com>
316 Rename te_IN.po -> te.po (Piotr Drąg).
318 Telugu translation added by Krishna Babu K (RHBZ#493799c32)
320 Polish translation updated by Piotr Drag (RHBZ#493799c31)
322 Portuguese translation added by Glaucia Cintra (RHBZ#493799c30)
324 Chinese translation updated by Wei Liu (RHBZ#493799c29)
326 Oriya translation added by Manoj Kumar Giri (RHBZ#493799c28)
328 Spanish translation updated by Daniel Cabrera (RHBZ#493799c27)
330 2009-12-30 Richard Jones <rjones@redhat.com>
332 Update to ocaml-autoconf macros 1.1
334 Fix detection of ocaml-findlib.
336 2009-10-06 Richard Jones <rjones@trick.home.annexia.org>
338 HACKING file, update (C) messages.
342 Remove extra spaces after s_ and f_ operators.
344 Safer curses functions.
345 Add safer curses functions which don't require use of dangerous
348 Replace failwith (sprintf...) with failwithf
350 Remove -w s and fix so it compiles without warnings.
352 Remove NSIS installer.
354 Change over to using ocaml.m4 macros.
356 2009-10-05 Richard Jones <rjones@trick.home.annexia.org>
360 TODO.virt-top renamed as TODO
364 Update manpage with --version option.
366 Add virt-top --version command line option.
368 Add the real virt-top version to help display.
370 Version 1.0.4 for release.
372 Fix changelog and manifest files.
374 gitlog-to-changelog: If the date field is empty, don't barf.
376 Added Jim Meyering's gitlog-to-changelog program.
378 Add total hardware memory field (RHBZ#521785)
380 Don't need to explicitly link against ncurses.
384 Add Japanese to list of translations.
386 Use msgfmt to generate *.mo files correctly.
388 Update documentation.
392 Rename .hgignore -> .gitignore, update dependencies.