man page: Update copyright date.
[virt-top.git] / ChangeLog
1 2012-03-06  Richard W.M. Jones  <rjones@redhat.com>
2
3         Version 1.0.7.
4
5         Ignore aclocal.m4.
6
7         Document requirements in README file.
8
9 2012-03-06  Lai Jiangshan  <laijs@cn.fujitsu.com>
10
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.
14
15         example(old "virt-top -1"):
16
17         PHYCPU %CPU rhel6  Windows
18            0    0.6  0.1=   0.5=
19            1    0.6  0.1=   0.5=#
20            2    0.6  0.1=   0.5=
21            3    0.6  0.1=#  0.5=
22
23         The output almost makes no sense(all the value are just average, not real).
24
25         This is new implement, it use cpuacct cgroup to gain *real* physical usages
26         via cpuacct cgroup by virDomainGetCPUStats() API.
27
28         new result:
29
30         PHYCPU %CPU rhel6  Windows
31            0    1.3  0.3     1.0
32            1    2.3  0.3     2.0
33            2    2.2  0.5     1.7
34            3    2.5  0.4     2.1
35
36         PHYCPU %CPU rhel6  Windows
37            0    1.7  0.4     1.3
38            1    3.6  1.0     2.7
39            2    1.6  0.4     1.2
40            3    4.8  3.1     1.7
41
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
45               between updates.
46
47         Changed from V3:
48                 use new virDomainGetCPUStats() libvirt-API.
49                 add a new function find_usages_from_stats() to gain cpu usages.
50
51 2011-08-15  Richard W.M. Jones  <rjones@redhat.com>
52
53         Ensure manpages get built when using native compiler (thanks Laurent Léonard).
54
55 2011-08-12  Richard W.M. Jones  <rjones@redhat.com>
56
57         Version 1.0.6.
58
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.
62
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
65         of a tuple here.
66
67         This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.
68
69 2011-08-11  Richard W.M. Jones  <rjones@redhat.com>
70
71         docs: Explain how to debug libvirt initialization problems (RHBZ#680031).
72
73 2011-04-02  Richard W.M. Jones  <rjones@redhat.com>
74
75         Pull translations from Transifex.
76
77 2011-03-08  Richard W.M. Jones  <rjones@redhat.com>
78
79         Fix --end-time option with absolute times.
80         Assume the user enters a local time, and convert it to UTC.
81
82         This also adds some clarifying comments to the relative time
83         code (but doesn't change that code).
84
85         Note that the obsolete Calendar1 code is *not* updated by this change.
86
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.
92
93         Remove generated man pages from git.
94
95 2011-03-07  KAMEZAWA Hiroyuki  <kamezawa@bluextal.(none)>
96
97         add memory stats to --csv mode.
98         In csv mode, memory usage in kbytes and %mem against total system
99         memory is shown.
100
101 2011-03-07  KAMEZAWA Hiroyuki  <kamezawa.hiroyu@jp.fujitsu.com>
102
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
106
107         Signged-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
108
109 2011-03-07  Richard W.M. Jones  <rjones@redhat.com>
110
111         Import virt-top into transifex.
112         http://www.transifex.net/projects/p/virttop/
113
114 2011-02-02  Richard W.M. Jones  <rjones@redhat.com>
115
116         Update generated man page files.
117
118 2011-02-02  KAMEZAWA Hiroyuki  <kamezawa.hiroyu@jp.fujitsu.com>
119
120         Add --block-in-bytes option.
121         This option and the 'B' key toggles block I/O stats between
122         requests and bytes.
123
124         Add --stream flag.
125         Output is sent to stdout (similar to the top -b option).
126
127 2011-01-24  Richard W.M. Jones  <rjones@redhat.com>
128
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.
132
133         The 'usleep' function has been renamed more accurately as 'millisleep'
134         since it sleeps for milliseconds not microseconds.
135
136 2011-01-06  Richard W.M. Jones  <rjones@redhat.com>
137
138         Version 1.0.5.
139
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
143         the build.
144
145         Re-add virt-top/README file.
146         This seems to have been dropped during the hg->git transition.
147
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
151
152         man page: Remove excess blank line.
153
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.
158
159         See also:
160         http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printexc.html
161
162         Note that this requires OCaml >= 3.11.0.
163
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:
168
169           String.sub str 0 (-1)
170
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.
174
175         See also:
176         https://bugzilla.redhat.com/show_bug.cgi?id=634435
177
178         Update dependencies.
179
180         Update generated man pages.
181
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.
187
188         Tested with TZ=UTC-05, TZ=UTC and TZ=UTC+05.
189
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.
192
193         Update dependencies file.
194
195         man page: memory option shows total guest memory (RHBZ#647991).
196
197         man page: Update copyright date and link to web pages.
198
199         Remove references to xm/xentop manual pages (RHBZ#648186).
200         These Xen tools are obsolete since virsh/virt-top works across
201         all hypervisors.
202
203 2010-09-02  Richard Jones  <rjones@redhat.com>
204
205         Change order of return values from getyx - fixes display of historical CPU.
206         In this commit:
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
211         by now.
212
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.
216
217 2010-06-15  Kiyoto Hashida  <khashida@redhat.com>
218
219         Update Japanese translations (RHBZ#493799).
220
221 2010-03-05  Yulia  <ypoyarko@redhat.com>
222
223         Updated Russian translations (RHBZ#493799).
224
225 2010-03-05  Richard Jones  <rjones@redhat.com>
226
227         Newer autoconf adds PACKAGE_URL definition.
228
229 2010-02-12  Richard Jones  <rjones@redhat.com>
230
231         zh_CN: Remove bogus Plural-Forms line.
232
233         Japanese: update bogus 'Plural-Forms: Plural-Forms'.
234
235 2010-02-12  Hajime Taira  <htaira@redhat.com>
236
237         Update Japanese translations (RHBZ#493799).
238
239 2010-01-28  Richard Jones  <rjones@redhat.com>
240
241         Rename te_IN.po -> te.po (Piotr Drąg).
242
243         Telugu translation added by Krishna Babu K (RHBZ#493799c32)
244
245         Polish translation updated by Piotr Drag (RHBZ#493799c31)
246
247         Portuguese translation added by Glaucia Cintra (RHBZ#493799c30)
248
249         Chinese translation updated by Wei Liu (RHBZ#493799c29)
250
251         Oriya translation added by Manoj Kumar Giri (RHBZ#493799c28)
252
253         Spanish translation updated by Daniel Cabrera (RHBZ#493799c27)
254
255 2009-12-30  Richard Jones  <rjones@redhat.com>
256
257         Update to ocaml-autoconf macros 1.1
258
259         Fix detection of ocaml-findlib.
260
261 2009-10-06  Richard Jones  <rjones@trick.home.annexia.org>
262
263         HACKING file, update (C) messages.
264
265         Update PO files.
266
267         Remove extra spaces after s_ and f_ operators.
268
269         Safer curses functions.
270         Add safer curses functions which don't require use of dangerous
271         ignore() function.
272
273         Replace failwith (sprintf...) with failwithf
274
275         Remove -w s and fix so it compiles without warnings.
276
277         Remove NSIS installer.
278
279         Change over to using ocaml.m4 macros.
280
281 2009-10-05  Richard Jones  <rjones@trick.home.annexia.org>
282
283         Updated MANIFEST.
284
285         TODO.virt-top renamed as TODO
286
287         Typo fixed.
288
289         Update manpage with --version option.
290
291         Add virt-top --version command line option.
292
293         Add the real virt-top version to help display.
294
295         Version 1.0.4 for release.
296
297         Fix changelog and manifest files.
298
299         gitlog-to-changelog: If the date field is empty, don't barf.
300
301         Added Jim Meyering's gitlog-to-changelog program.
302
303         Add total hardware memory field (RHBZ#521785)
304
305         Don't need to explicitly link against ncurses.
306
307         Update PO files.
308
309         Add Japanese to list of translations.
310
311         Use msgfmt to generate *.mo files correctly.
312
313         Update documentation.
314
315         Update dependencies.
316
317         Rename .hgignore -> .gitignore, update dependencies.