1b3999ae603037287e441df21146eff1d61d4429
[virt-top.git] / ChangeLog
1 2016-10-31  Richard W.M. Jones  <rjones@redhat.com>
2
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.
6
7         This is entirely refactoring and makes no functional change.
8
9         Also this fixes the MANIFEST file and removes old Transifex
10         configuration, fixing commit defe5bdd4a32e0206a786d279e0f9cfc238e5e17.
11
12 2016-01-04  Richard W.M. Jones  <rjones@redhat.com>
13
14         build: Add -g flag to ocamlopt.
15         Modern ocamlopt supports the -g flag fine (very old versions did not).
16
17 2015-02-21  Richard W.M. Jones  <rjones@redhat.com>
18
19         Update translations from Zanata.
20
21         Move upstream translations from Tranifex to Zanata.
22         This is at the request of the Fedora localization team.
23         For further information see:
24
25         https://www.redhat.com/archives/libguestfs/2015-February/msg00168.html
26
27 2014-08-02  Richard W.M. Jones  <rjones@redhat.com>
28
29         Disable warning about immutable strings (for OCaml 4.02).
30
31 2012-10-12  Richard W.M. Jones  <rjones@redhat.com>
32
33         Version 1.0.8.
34
35 2012-10-12  Hu Tao  <hutao@cn.fujitsu.com>
36
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:
42
43         PHYCPU %CPU example_domain
44            0   10.4 10.4  0.8
45            1    1.6  1.6  1.4
46            2    2.6  2.6  2.6
47            3    0.0  0.0  0.1
48
49         RWMJ: I cleaned up this patch a little, but it should be
50         functionally the same.
51
52         Rename find_usages_from_stats as find_cpu_usages.
53         This is just code motion.
54
55 2012-10-12  Richard W.M. Jones  <rjones@redhat.com>
56
57         OCaml stable dependencies.
58
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
62         API directly.
63
64 2012-09-28  Richard W.M. Jones  <rjones@redhat.com>
65
66         Make the main code and exception handling simpler.
67
68         Better error messages when parsing the init file (RHBZ#836231).
69
70         Add missing sort order options in --help output (RHBZ#807176).
71
72         Man page: Add an explanation of columns (RHBZ#834208).
73
74         man page: Update copyright date.
75
76 2012-03-06  Richard W.M. Jones  <rjones@redhat.com>
77
78         Version 1.0.7.
79
80         Ignore aclocal.m4.
81
82         Document requirements in README file.
83
84 2012-03-06  Lai Jiangshan  <laijs@cn.fujitsu.com>
85
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.
89
90         example(old "virt-top -1"):
91
92         PHYCPU %CPU rhel6  Windows
93            0    0.6  0.1=   0.5=
94            1    0.6  0.1=   0.5=#
95            2    0.6  0.1=   0.5=
96            3    0.6  0.1=#  0.5=
97
98         The output almost makes no sense(all the value are just average, not real).
99
100         This is new implement, it use cpuacct cgroup to gain *real* physical usages
101         via cpuacct cgroup by virDomainGetCPUStats() API.
102
103         new result:
104
105         PHYCPU %CPU rhel6  Windows
106            0    1.3  0.3     1.0
107            1    2.3  0.3     2.0
108            2    2.2  0.5     1.7
109            3    2.5  0.4     2.1
110
111         PHYCPU %CPU rhel6  Windows
112            0    1.7  0.4     1.3
113            1    3.6  1.0     2.7
114            2    1.6  0.4     1.2
115            3    4.8  3.1     1.7
116
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
120               between updates.
121
122         Changed from V3:
123                 use new virDomainGetCPUStats() libvirt-API.
124                 add a new function find_usages_from_stats() to gain cpu usages.
125
126 2011-08-15  Richard W.M. Jones  <rjones@redhat.com>
127
128         Ensure manpages get built when using native compiler (thanks Laurent Léonard).
129
130 2011-08-12  Richard W.M. Jones  <rjones@redhat.com>
131
132         Version 1.0.6.
133
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.
137
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
140         of a tuple here.
141
142         This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.
143
144 2011-08-11  Richard W.M. Jones  <rjones@redhat.com>
145
146         docs: Explain how to debug libvirt initialization problems (RHBZ#680031).
147
148 2011-04-02  Richard W.M. Jones  <rjones@redhat.com>
149
150         Pull translations from Transifex.
151
152 2011-03-08  Richard W.M. Jones  <rjones@redhat.com>
153
154         Fix --end-time option with absolute times.
155         Assume the user enters a local time, and convert it to UTC.
156
157         This also adds some clarifying comments to the relative time
158         code (but doesn't change that code).
159
160         Note that the obsolete Calendar1 code is *not* updated by this change.
161
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.
167
168         Remove generated man pages from git.
169
170 2011-03-07  KAMEZAWA Hiroyuki  <kamezawa@bluextal.(none)>
171
172         add memory stats to --csv mode.
173         In csv mode, memory usage in kbytes and %mem against total system
174         memory is shown.
175
176 2011-03-07  KAMEZAWA Hiroyuki  <kamezawa.hiroyu@jp.fujitsu.com>
177
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
181
182         Signged-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
183
184 2011-03-07  Richard W.M. Jones  <rjones@redhat.com>
185
186         Import virt-top into transifex.
187         http://www.transifex.net/projects/p/virttop/
188
189 2011-02-02  Richard W.M. Jones  <rjones@redhat.com>
190
191         Update generated man page files.
192
193 2011-02-02  KAMEZAWA Hiroyuki  <kamezawa.hiroyu@jp.fujitsu.com>
194
195         Add --block-in-bytes option.
196         This option and the 'B' key toggles block I/O stats between
197         requests and bytes.
198
199         Add --stream flag.
200         Output is sent to stdout (similar to the top -b option).
201
202 2011-01-24  Richard W.M. Jones  <rjones@redhat.com>
203
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.
207
208         The 'usleep' function has been renamed more accurately as 'millisleep'
209         since it sleeps for milliseconds not microseconds.
210
211 2011-01-06  Richard W.M. Jones  <rjones@redhat.com>
212
213         Version 1.0.5.
214
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
218         the build.
219
220         Re-add virt-top/README file.
221         This seems to have been dropped during the hg->git transition.
222
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
226
227         man page: Remove excess blank line.
228
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.
233
234         See also:
235         http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printexc.html
236
237         Note that this requires OCaml >= 3.11.0.
238
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:
243
244           String.sub str 0 (-1)
245
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.
249
250         See also:
251         https://bugzilla.redhat.com/show_bug.cgi?id=634435
252
253         Update dependencies.
254
255         Update generated man pages.
256
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.
262
263         Tested with TZ=UTC-05, TZ=UTC and TZ=UTC+05.
264
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.
267
268         Update dependencies file.
269
270         man page: memory option shows total guest memory (RHBZ#647991).
271
272         man page: Update copyright date and link to web pages.
273
274         Remove references to xm/xentop manual pages (RHBZ#648186).
275         These Xen tools are obsolete since virsh/virt-top works across
276         all hypervisors.
277
278 2010-09-02  Richard Jones  <rjones@redhat.com>
279
280         Change order of return values from getyx - fixes display of historical CPU.
281         In this commit:
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
286         by now.
287
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.
291
292 2010-06-15  Kiyoto Hashida  <khashida@redhat.com>
293
294         Update Japanese translations (RHBZ#493799).
295
296 2010-03-05  Yulia  <ypoyarko@redhat.com>
297
298         Updated Russian translations (RHBZ#493799).
299
300 2010-03-05  Richard Jones  <rjones@redhat.com>
301
302         Newer autoconf adds PACKAGE_URL definition.
303
304 2010-02-12  Richard Jones  <rjones@redhat.com>
305
306         zh_CN: Remove bogus Plural-Forms line.
307
308         Japanese: update bogus 'Plural-Forms: Plural-Forms'.
309
310 2010-02-12  Hajime Taira  <htaira@redhat.com>
311
312         Update Japanese translations (RHBZ#493799).
313
314 2010-01-28  Richard Jones  <rjones@redhat.com>
315
316         Rename te_IN.po -> te.po (Piotr Drąg).
317
318         Telugu translation added by Krishna Babu K (RHBZ#493799c32)
319
320         Polish translation updated by Piotr Drag (RHBZ#493799c31)
321
322         Portuguese translation added by Glaucia Cintra (RHBZ#493799c30)
323
324         Chinese translation updated by Wei Liu (RHBZ#493799c29)
325
326         Oriya translation added by Manoj Kumar Giri (RHBZ#493799c28)
327
328         Spanish translation updated by Daniel Cabrera (RHBZ#493799c27)
329
330 2009-12-30  Richard Jones  <rjones@redhat.com>
331
332         Update to ocaml-autoconf macros 1.1
333
334         Fix detection of ocaml-findlib.
335
336 2009-10-06  Richard Jones  <rjones@trick.home.annexia.org>
337
338         HACKING file, update (C) messages.
339
340         Update PO files.
341
342         Remove extra spaces after s_ and f_ operators.
343
344         Safer curses functions.
345         Add safer curses functions which don't require use of dangerous
346         ignore() function.
347
348         Replace failwith (sprintf...) with failwithf
349
350         Remove -w s and fix so it compiles without warnings.
351
352         Remove NSIS installer.
353
354         Change over to using ocaml.m4 macros.
355
356 2009-10-05  Richard Jones  <rjones@trick.home.annexia.org>
357
358         Updated MANIFEST.
359
360         TODO.virt-top renamed as TODO
361
362         Typo fixed.
363
364         Update manpage with --version option.
365
366         Add virt-top --version command line option.
367
368         Add the real virt-top version to help display.
369
370         Version 1.0.4 for release.
371
372         Fix changelog and manifest files.
373
374         gitlog-to-changelog: If the date field is empty, don't barf.
375
376         Added Jim Meyering's gitlog-to-changelog program.
377
378         Add total hardware memory field (RHBZ#521785)
379
380         Don't need to explicitly link against ncurses.
381
382         Update PO files.
383
384         Add Japanese to list of translations.
385
386         Use msgfmt to generate *.mo files correctly.
387
388         Update documentation.
389
390         Update dependencies.
391
392         Rename .hgignore -> .gitignore, update dependencies.