1 2021-10-01 Richard W.M. Jones <rjones@redhat.com>
3 Convert to using automake
5 2020-09-21 Richard W.M. Jones <rjones@redhat.com>
7 Merge remote-tracking branch 'weblate/master' into master
9 2020-09-13 Emilio Herrera <ehespinosa57@gmail.com>
11 Translated using Weblate (Spanish)
12 Currently translated at 84.5% (71 of 84 strings)
14 Translation: virt-top/master
15 Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/es/
17 2020-08-28 Julien Humbert <julroy67@gmail.com>
19 Translated using Weblate (French)
20 Currently translated at 20.2% (17 of 84 strings)
22 Translation: virt-top/master
23 Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/fr/
25 2020-08-28 Yuri Chornoivan <yurchor@ukr.net>
27 Translated using Weblate (Ukrainian)
28 Currently translated at 100.0% (84 of 84 strings)
30 Translation: virt-top/master
31 Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/uk/
33 2020-08-28 Göran Uddeborg <goeran@uddeborg.se>
35 Translated using Weblate (Swedish)
36 Currently translated at 100.0% (84 of 84 strings)
38 Translation: virt-top/master
39 Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/sv/
41 2020-08-28 Oğuz Ersen <oguzersen@protonmail.com>
43 Translated using Weblate (Turkish)
44 Currently translated at 100.0% (84 of 84 strings)
46 Translation: virt-top/master
47 Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/tr/
49 2020-08-28 Piotr Drąg <piotrdrag@gmail.com>
51 Translated using Weblate (Polish)
52 Currently translated at 100.0% (84 of 84 strings)
54 Translation: virt-top/master
55 Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/pl/
57 Translated using Weblate (Polish)
59 Currently translated at 100.0% (84 of 84 strings)
61 Translation: virt-top/master
62 Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/pl/
64 2020-08-28 Weblate <noreply@weblate.org>
66 Update translation files
67 Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
69 Translation: virt-top/master
70 Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/
72 2020-08-27 Richard W.M. Jones <rjones@redhat.com>
74 Update translations from Zanata (RHBZ#1868108).
76 2019-08-21 Stephane Glondu <steph@glondu.net>
78 libvirt: Handle VIR_DOMAIN_PMSUSPENDED state.
79 Fixes FTBFS with ocaml-libvirt 0.6.1.5.
81 RWMJ: Added documentation and changed the letter to 'M'.
83 2019-08-20 Richard W.M. Jones <rjones@redhat.com>
87 src/top.ml: Don't depend on exact value of Failure argument.
88 File "top.ml", line 423, characters 14-31:
89 423 | Failure "float_of_string" ->
91 Warning 52: Code should not depend on the actual values of
92 this constructor's arguments. They are only for information
93 and may change in future versions. (See manual section 9.5)
95 2018-09-20 Richard W.M. Jones <rjones@redhat.com>
97 build: Pass through CFLAGS and LDFLAGS to ocaml compiler (RHBZ#1630636).
99 2017-11-18 Richard W.M. Jones <rjones@redhat.com>
101 Link with -fPIC runtime.
103 Fixes for -safe-string in OCaml 4.06.
105 2017-03-28 Richard W.M. Jones <rjones@redhat.com>
107 chmod -x COPYING* files.
109 Use virConnectGetAllDomainStats API to collect domain stats (RHBZ#1422795).
110 This is much faster than using the basic libvirt APIs to collect
111 stats for each domain individually.
113 Note this will not work unless you have the latest ocaml-libvirt
114 package which includes this new API binding.
116 Remove unused variable is_calendar2.
117 Fixes commit effd1ec5897a2cac6e897ae7bce72f6b1e617b90.
119 2017-03-27 Richard W.M. Jones <rjones@redhat.com>
121 Move block_in_bytes entirely to the presentation layer.
122 Simplifies and updates commit dbef8dd3bf00417e75a12c851b053e49c9e1a79e.
124 Split up huge Top module into smaller modules.
125 This change is hopefully pure refactoring, splitting up the very large
126 and highly interlinked module into more manageable modules with
127 well-defined (or at least *better*-defined) interfaces between them.
129 src: Fix some comments which referred to the old filenames.
130 Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
132 Remove support for OCaml Calendar v1.
133 Calendar v2 was released in 2008 (9 years ago!), thus remove support
136 This was already broken by commit dc0e217390132f7e76a4d9c0a8a81a9556d19081
137 so it likely didn't work anyway.
141 Fix po/POTFILES for new location of source files.
142 Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
144 Refresh HACKING file.
145 Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
147 Remove +x (executable) permission on several source files.
148 Not sure why it was there, but it was incorrect.
150 Enable same warnings as libguestfs.
151 In particular 'warning 3' was still enabled before, meaning that the
152 code would fail with newer OCaml compilers:
154 File "top.ml", line 377, characters 12-25:
155 Warning 3: deprecated: String.create
156 Use Bytes.create instead.
158 Since we want to continue using old OCaml for now, don't enable
161 2016-10-31 Richard W.M. Jones <rjones@redhat.com>
163 Rename source directory and files.
164 This renames the source directory from virt-top to src/ and removes
165 the unnecessary virt_top_* prefix from many source files.
167 This is entirely refactoring and makes no functional change.
169 Also this fixes the MANIFEST file and removes old Transifex
170 configuration, fixing commit defe5bdd4a32e0206a786d279e0f9cfc238e5e17.
172 2016-01-04 Richard W.M. Jones <rjones@redhat.com>
174 build: Add -g flag to ocamlopt.
175 Modern ocamlopt supports the -g flag fine (very old versions did not).
177 2015-02-21 Richard W.M. Jones <rjones@redhat.com>
179 Update translations from Zanata.
181 Move upstream translations from Tranifex to Zanata.
182 This is at the request of the Fedora localization team.
183 For further information see:
185 https://www.redhat.com/archives/libguestfs/2015-February/msg00168.html
187 2014-08-02 Richard W.M. Jones <rjones@redhat.com>
189 Disable warning about immutable strings (for OCaml 4.02).
191 2012-10-12 Richard W.M. Jones <rjones@redhat.com>
195 2012-10-12 Hu Tao <hutao@cn.fujitsu.com>
197 show `vcpu usages' by `virt-top -1'
198 Before this patch, `virt-top -1' shows total cpu usages
199 which euqal to `vcpu usages' + `hypervisor usages'. This
200 patch adds another column for domains showing `vcpu
201 usages'. An example is:
203 PHYCPU %CPU example_domain
209 RWMJ: I cleaned up this patch a little, but it should be
210 functionally the same.
212 Rename find_usages_from_stats as find_cpu_usages.
213 This is just code motion.
215 2012-10-12 Richard W.M. Jones <rjones@redhat.com>
217 OCaml stable dependencies.
219 Remove D.get_cpu_stats second parameter.
220 In upstream ocaml-libvirt, this second parameter has been removed,
221 because it was found that nr_pcpus can be found by calling the libvirt
224 2012-09-28 Richard W.M. Jones <rjones@redhat.com>
226 Make the main code and exception handling simpler.
228 Better error messages when parsing the init file (RHBZ#836231).
230 Add missing sort order options in --help output (RHBZ#807176).
232 Man page: Add an explanation of columns (RHBZ#834208).
234 man page: Update copyright date.
236 2012-03-06 Richard W.M. Jones <rjones@redhat.com>
242 Document requirements in README file.
244 2012-03-06 Lai Jiangshan <laijs@cn.fujitsu.com>
246 virt-top: correct "virt-top -1" command via cpuacct cgroup
247 Old "virt-top -1" is not correct, its output is generated by guess:
248 use average usage for pinned physical CPUs.
250 example(old "virt-top -1"):
252 PHYCPU %CPU rhel6 Windows
258 The output almost makes no sense(all the value are just average, not real).
260 This is new implement, it use cpuacct cgroup to gain *real* physical usages
261 via cpuacct cgroup by virDomainGetCPUStats() API.
265 PHYCPU %CPU rhel6 Windows
271 PHYCPU %CPU rhel6 Windows
277 Note: average flag(=) is dropped, there is not average value in here.
278 Note: running flag(#) is dropped, because if the value is not empty,
279 it means the guest was once running in the physical CPU in this period
283 use new virDomainGetCPUStats() libvirt-API.
284 add a new function find_usages_from_stats() to gain cpu usages.
286 2011-08-15 Richard W.M. Jones <rjones@redhat.com>
288 Ensure manpages get built when using native compiler (thanks Laurent Léonard).
290 2011-08-12 Richard W.M. Jones <rjones@redhat.com>
294 Update MANIFEST and fix 'make dist'.
295 make dist now copies the generated manual pages into the tarball, so
296 that we don't have to keep these generated files in git.
298 Fix ordering of csv_mode and stream_mode in tuple.
299 Note that this bug could have been avoided by using a struct instead
302 This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.
304 2011-08-11 Richard W.M. Jones <rjones@redhat.com>
306 docs: Explain how to debug libvirt initialization problems (RHBZ#680031).
308 2011-04-02 Richard W.M. Jones <rjones@redhat.com>
310 Pull translations from Transifex.
312 2011-03-08 Richard W.M. Jones <rjones@redhat.com>
314 Fix --end-time option with absolute times.
315 Assume the user enters a local time, and convert it to UTC.
317 This also adds some clarifying comments to the relative time
318 code (but doesn't change that code).
320 Note that the obsolete Calendar1 code is *not* updated by this change.
322 docs: Fix documentation for virt-top -c option.
323 Because of changes in libvirt, this no longer connects to Xen by
324 default. Instead the default is to connect to the libvirt default
325 hypervisor (which could be Xen, KVM or others). Update the --help
326 documentation and manual page accordingly.
328 Remove generated man pages from git.
330 2011-03-07 KAMEZAWA Hiroyuki <kamezawa@bluextal.(none)>
332 add memory stats to --csv mode.
333 In csv mode, memory usage in kbytes and %mem against total system
336 2011-03-07 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
338 Record memory statistics information to 'rd' object.
339 This helps to share the calculation (between modes) and
340 will help to show memory statistics in --csv mode
342 Signged-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
344 2011-03-07 Richard W.M. Jones <rjones@redhat.com>
346 Import virt-top into transifex.
347 http://www.transifex.net/projects/p/virttop/
349 2011-02-02 Richard W.M. Jones <rjones@redhat.com>
351 Update generated man page files.
353 2011-02-02 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
355 Add --block-in-bytes option.
356 This option and the 'B' key toggles block I/O stats between
360 Output is sent to stdout (similar to the top -b option).
362 2011-01-24 Richard W.M. Jones <rjones@redhat.com>
364 Obey virt-top --end-time down to near millisecond accuracy (RHBZ#637964).
365 Adjust the final delay down so that the --end-time option is obeyed
366 down to near millisecond accuracy.
368 The 'usleep' function has been renamed more accurately as 'millisleep'
369 since it sleeps for milliseconds not microseconds.
371 2011-01-06 Richard W.M. Jones <rjones@redhat.com>
375 Add aclocal.m4 file to git.
376 This file is sort of generated, but at the moment only has
377 a single line which includes m4/ocaml.m4, that is vital for
380 Re-add virt-top/README file.
381 This seems to have been dropped during the hg->git transition.
383 Document background noise of RX packets from bridges (RHBZ#647987).
384 For more information see:
385 https://bugzilla.redhat.com/show_bug.cgi?id=647987#c9
387 man page: Remove excess blank line.
389 main: Record and print full exception stack traces.
390 This turns on stack trace recording unconditionally (the same
391 effect as if OCAMLRUNPARAM=b was always supplied), and also prints
392 stack traces to the log file if there is an exception.
395 http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printexc.html
397 Note that this requires OCaml >= 3.11.0.
399 Fix pad function to work for negative widths (RHBZ#634435).
400 The pad function is supposed to pad a string to a width. Under some
401 circumstances, the width parameter could be negative resulting in a
402 call to String.sub such as:
404 String.sub str 0 (-1)
406 which caused an exception to be thrown and not caught, causing
407 virt-top to exit. Fix the pad function to return an empty string if
408 width <= 0 instead of throwing an exception.
411 https://bugzilla.redhat.com/show_bug.cgi?id=634435
415 Update generated man pages.
417 Fix virt-top --end-time option when TZ<>UTC (RHBZ#637964).
418 Return the end time as seconds since 1970, and don't adjust it
419 for timezone. In the main module the end time is compared against
420 the result of Unix.gettimeofday, which is also seconds since 1970,
421 so the comparison now works.
423 Tested with TZ=UTC-05, TZ=UTC and TZ=UTC+05.
425 NB: This has not been tested against ocaml-calendar 1.x, although
426 that version of calendar is obsolete and no one should be using it.
428 Update dependencies file.
430 man page: memory option shows total guest memory (RHBZ#647991).
432 man page: Update copyright date and link to web pages.
434 Remove references to xm/xentop manual pages (RHBZ#648186).
435 These Xen tools are obsolete since virsh/virt-top works across
438 2010-09-02 Richard Jones <rjones@redhat.com>
440 Change order of return values from getyx - fixes display of historical CPU.
442 http://cvs.savannah.gnu.org/viewvc/ocaml-tmk/functions.c?root=ocaml-tmk&r1=1.2&r2=1.3
443 Sam changed (fixed) the order that the coordinates are returned
444 from the ncurses 'getyx' call. Since this commit was made 3 years
445 ago it should be safe to assume everyone is using the new ocaml-ncurses
448 This meant the historical %CPU was being displayed off the bottom of
449 the screen instead of on the top row at the right. Now it is displayed
450 in the correct place.
452 2010-06-15 Kiyoto Hashida <khashida@redhat.com>
454 Update Japanese translations (RHBZ#493799).
456 2010-03-05 Yulia <ypoyarko@redhat.com>
458 Updated Russian translations (RHBZ#493799).
460 2010-03-05 Richard Jones <rjones@redhat.com>
462 Newer autoconf adds PACKAGE_URL definition.
464 2010-02-12 Richard Jones <rjones@redhat.com>
466 zh_CN: Remove bogus Plural-Forms line.
468 Japanese: update bogus 'Plural-Forms: Plural-Forms'.
470 2010-02-12 Hajime Taira <htaira@redhat.com>
472 Update Japanese translations (RHBZ#493799).
474 2010-01-28 Richard Jones <rjones@redhat.com>
476 Rename te_IN.po -> te.po (Piotr Drąg).
478 Telugu translation added by Krishna Babu K (RHBZ#493799c32)
480 Polish translation updated by Piotr Drag (RHBZ#493799c31)
482 Portuguese translation added by Glaucia Cintra (RHBZ#493799c30)
484 Chinese translation updated by Wei Liu (RHBZ#493799c29)
486 Oriya translation added by Manoj Kumar Giri (RHBZ#493799c28)
488 Spanish translation updated by Daniel Cabrera (RHBZ#493799c27)
490 2009-12-30 Richard Jones <rjones@redhat.com>
492 Update to ocaml-autoconf macros 1.1
494 Fix detection of ocaml-findlib.
496 2009-10-06 Richard Jones <rjones@trick.home.annexia.org>
498 HACKING file, update (C) messages.
502 Remove extra spaces after s_ and f_ operators.
504 Safer curses functions.
505 Add safer curses functions which don't require use of dangerous
508 Replace failwith (sprintf...) with failwithf
510 Remove -w s and fix so it compiles without warnings.
512 Remove NSIS installer.
514 Change over to using ocaml.m4 macros.
516 2009-10-05 Richard Jones <rjones@trick.home.annexia.org>
520 TODO.virt-top renamed as TODO
524 Update manpage with --version option.
526 Add virt-top --version command line option.
528 Add the real virt-top version to help display.
530 Version 1.0.4 for release.
532 Fix changelog and manifest files.
534 gitlog-to-changelog: If the date field is empty, don't barf.
536 Added Jim Meyering's gitlog-to-changelog program.
538 Add total hardware memory field (RHBZ#521785)
540 Don't need to explicitly link against ncurses.
544 Add Japanese to list of translations.
546 Use msgfmt to generate *.mo files correctly.
548 Update documentation.
552 Rename .hgignore -> .gitignore, update dependencies.