55a7877609a8491c113f2ee3d92eea242d197605
[virt-top.git] / virt-top / virt-top.1
1 .\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)
2 .\"
3 .\" Standard preamble:
4 .\" ========================================================================
5 .de Sp \" Vertical space (when we can't use .PP)
6 .if t .sp .5v
7 .if n .sp
8 ..
9 .de Vb \" Begin verbatim text
10 .ft CW
11 .nf
12 .ne \\$1
13 ..
14 .de Ve \" End verbatim text
15 .ft R
16 .fi
17 ..
18 .\" Set up some character translations and predefined strings.  \*(-- will
19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
20 .\" double quote, and \*(R" will give a right double quote.  \*(C+ will
21 .\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
22 .\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
23 .\" nothing in troff, for use with C<>.
24 .tr \(*W-
25 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
26 .ie n \{\
27 .    ds -- \(*W-
28 .    ds PI pi
29 .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
31 .    ds L" ""
32 .    ds R" ""
33 .    ds C` ""
34 .    ds C' ""
35 'br\}
36 .el\{\
37 .    ds -- \|\(em\|
38 .    ds PI \(*p
39 .    ds L" ``
40 .    ds R" ''
41 'br\}
42 .\"
43 .\" Escape single quotes in literal strings from groff's Unicode transform.
44 .ie \n(.g .ds Aq \(aq
45 .el       .ds Aq '
46 .\"
47 .\" If the F register is turned on, we'll generate index entries on stderr for
48 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
49 .\" entries marked with X<> in POD.  Of course, you'll have to process the
50 .\" output yourself in some meaningful fashion.
51 .ie \nF \{\
52 .    de IX
53 .    tm Index:\\$1\t\\n%\t"\\$2"
54 ..
55 .    nr % 0
56 .    rr F
57 .\}
58 .el \{\
59 .    de IX
60 ..
61 .\}
62 .\"
63 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
64 .\" Fear.  Run.  Save yourself.  No user-serviceable parts.
65 .    \" fudge factors for nroff and troff
66 .if n \{\
67 .    ds #H 0
68 .    ds #V .8m
69 .    ds #F .3m
70 .    ds #[ \f1
71 .    ds #] \fP
72 .\}
73 .if t \{\
74 .    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
75 .    ds #V .6m
76 .    ds #F 0
77 .    ds #[ \&
78 .    ds #] \&
79 .\}
80 .    \" simple accents for nroff and troff
81 .if n \{\
82 .    ds ' \&
83 .    ds ` \&
84 .    ds ^ \&
85 .    ds , \&
86 .    ds ~ ~
87 .    ds /
88 .\}
89 .if t \{\
90 .    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
91 .    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
92 .    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
93 .    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
94 .    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
95 .    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
96 .\}
97 .    \" troff and (daisy-wheel) nroff accents
98 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
99 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
100 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
101 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
102 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
103 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
104 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
105 .ds ae a\h'-(\w'a'u*4/10)'e
106 .ds Ae A\h'-(\w'A'u*4/10)'E
107 .    \" corrections for vroff
108 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
109 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
110 .    \" for low resolution devices (crt and lpr)
111 .if \n(.H>23 .if \n(.V>19 \
112 \{\
113 .    ds : e
114 .    ds 8 ss
115 .    ds o a
116 .    ds d- d\h'-1'\(ga
117 .    ds D- D\h'-1'\(hy
118 .    ds th \o'bp'
119 .    ds Th \o'LP'
120 .    ds ae ae
121 .    ds Ae AE
122 .\}
123 .rm #[ #] #H #V #F C
124 .\" ========================================================================
125 .\"
126 .IX Title "VIRT-TOP 1"
127 .TH VIRT-TOP 1 "2011-02-02" "virt-top-1.0.5" "Virtualization Support"
128 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
129 .\" way too many mistakes in technical documents.
130 .if n .ad l
131 .nh
132 .SH "NAME"
133 virt\-top \- 'top'\-like utility for virtualization stats
134 .SH "SUMMARY"
135 .IX Header "SUMMARY"
136 virt-top [\-options]
137 .SH "DESCRIPTION"
138 .IX Header "DESCRIPTION"
139 virt-top is a \fItop\fR\|(1)\-like utility for showing stats of virtualized
140 domains.  Many keys and command line options are the same as for
141 ordinary \fItop\fR.
142 .PP
143 It uses libvirt so it is capable of showing stats across a variety of
144 different virtualization systems.
145 .SH "OPTIONS"
146 .IX Header "OPTIONS"
147 .IP "\fB\-1\fR" 4
148 .IX Item "-1"
149 Display physical CPUs by default (instead of domains).
150 When virt-top is running, use the \fI1\fR key to toggle
151 between physical CPUs and domains display.
152 .IP "\fB\-2\fR" 4
153 .IX Item "-2"
154 Display network interfaces by default (instead of domains).
155 When virt-top is running, use the \fI2\fR key to toggle
156 between network interfaces and domains display.
157 .IP "\fB\-3\fR" 4
158 .IX Item "-3"
159 Display block devices (virtual disks) by default (instead of domains).
160 When virt-top is running, use the \fI3\fR key to toggle
161 between block devices and domains display.
162 .IP "\fB\-b\fR" 4
163 .IX Item "-b"
164 Batch mode.  In this mode keypresses are ignored.
165 .IP "\fB\-c uri\fR or \fB\-\-connect uri\fR" 4
166 .IX Item "-c uri or --connect uri"
167 Connect to \s-1URI\s0 given.  The default is to connect to the Xen
168 hypervisor.
169 .Sp
170 To connect to \s-1QEMU/KVM\s0 you would normally do \fI\-c qemu:///system\fR
171 .Sp
172 To connect to libvirtd on a remote machine you would normally do
173 \&\fI\-c xen://host/\fR
174 .Sp
175 Full details on connection URIs is available at
176 <http://libvirt.org/uri.html>
177 .IP "\fB\-d delay\fR" 4
178 .IX Item "-d delay"
179 Set the delay between screen updates in seconds.
180 The default is 3.0 seconds.  You can change this
181 while virt-top is running by pressing either \fIs\fR or \fId\fR key.
182 .IP "\fB\-n iterations\fR" 4
183 .IX Item "-n iterations"
184 Set the number of iterations to run.  The default
185 is to run continuously.
186 .IP "\fB\-o sort\fR" 4
187 .IX Item "-o sort"
188 Set the sort order to one of:
189 \&\fBcpu\fR (sort by \f(CW%CPU\fR used),
190 \&\fBmem\fR (sort by total memory),
191 \&\fBtime\fR (sort by total time),
192 \&\fBid\fR (sort by domain \s-1ID\s0),
193 \&\fBname\fR (sort by domain name),
194 \&\fBnetrx\fR (sort by network received bytes),
195 \&\fBnettx\fR (sort by network transmitted bytes),
196 \&\fBblockrdrq\fR (sort by block device [disk] read requests),
197 \&\fBblockwrrq\fR (sort by block device [disk] write requests).
198 .Sp
199 While virt-top is running you can change the sort
200 order using keys \fIP\fR (cpu), \fIM\fR (memory),
201 \&\fIT\fR (total time), \fIN\fR (domain \s-1ID\s0),
202 \&\fIF\fR (interactively select the sort field).
203 .IP "\fB\-s\fR" 4
204 .IX Item "-s"
205 Secure mode.  Currently this does nothing.
206 .IP "\fB\-\-hist\-cpu secs\fR" 4
207 .IX Item "--hist-cpu secs"
208 Set the time in seconds between updates of the historical
209 \&\f(CW%CPU\fR at the top right of the display.
210 .IP "\fB\-\-csv file.csv\fR" 4
211 .IX Item "--csv file.csv"
212 Write the statistics to file \fIfile.csv\fR.  First a header is written
213 showing the statistics being recorded in each column, then one line is
214 written for each screen update.  The \s-1CSV\s0 file can be loaded directly
215 by most spreadsheet programs.
216 .Sp
217 Currently the statistics which this records vary between releases of
218 virt-top (but the column headers will stay the same, so you can use
219 those to process the \s-1CSV\s0 file).
220 .Sp
221 Not every version of virt-top supports \s-1CSV\s0 output \- it depends how the
222 program was compiled (see \fI\s-1README\s0\fR file in the source distribution
223 for details).
224 .Sp
225 To save space you can compress your \s-1CSV\s0 files (if your shell supports
226 this feature, eg. \fIbash\fR):
227 .Sp
228 .Vb 1
229 \& virt\-top \-\-csv >(gzip \-9 > output.csv.gz)
230 .Ve
231 .Sp
232 You can use a similar trick to split the \s-1CSV\s0 file up.  In this example
233 the \s-1CSV\s0 file is split every 1000 lines into files called
234 \&\fIoutput.csv.00\fR, \fIoutput.csv.01\fR etc.
235 .Sp
236 .Vb 1
237 \& virt\-top \-\-csv >(split \-d \-l 1000 \- output.csv.)
238 .Ve
239 .IP "\fB\-\-no\-csv\-cpu\fR" 4
240 .IX Item "--no-csv-cpu"
241 Disable domain \s-1CPU\s0 stats in \s-1CSV\s0 output.
242 .IP "\fB\-\-no\-csv\-block\fR" 4
243 .IX Item "--no-csv-block"
244 Disable domain block device stats in \s-1CSV\s0 output.
245 .IP "\fB\-\-no\-csv\-net\fR" 4
246 .IX Item "--no-csv-net"
247 Disable domain network interface stats in \s-1CSV\s0 output.
248 .IP "\fB\-\-debug filename\fR" 4
249 .IX Item "--debug filename"
250 Send debug and error messages to \fIfilename\fR.
251 To send error messages to syslog you can do:
252 .Sp
253 .Vb 1
254 \& virt\-top \-\-debug >(logger \-t virt\-top)
255 .Ve
256 .Sp
257 See also \s-1REPORTING\s0 \s-1BUGS\s0 below.
258 .IP "\fB\-\-init\-file filename\fR" 4
259 .IX Item "--init-file filename"
260 Read \fIfilename\fR as the init file instead of the default which is
261 \&\fI\f(CI$HOME\fI/.virt\-toprc\fR.  See also \s-1INIT\s0 \s-1FILE\s0 below.
262 .IP "\fB\-\-no\-init\-file\fR" 4
263 .IX Item "--no-init-file"
264 Do not read any init file.
265 .IP "\fB\-\-script\fR" 4
266 .IX Item "--script"
267 Script mode.  There will be no user interface.  This is most useful
268 when used together with the \fI\-\-csv\fR and \fI\-n\fR options.
269 .IP "\fB\-\-stream\fR" 4
270 .IX Item "--stream"
271 Stream mode.  All output is sent to stdout.  This can be used from
272 shell scripts etc.  There is no user interface.
273 .IP "\fB\-\-block\-in\-bytes\fR" 4
274 .IX Item "--block-in-bytes"
275 Show I/O statistics in Bytes. Default is shown in the number of Requests.
276 .IP "\fB\-\-end\-time time\fR" 4
277 .IX Item "--end-time time"
278 The program will exit at the \fItime\fR given.
279 .Sp
280 The time may be given in one of the following formats:
281 .RS 4
282 .IP "\fIYYYY-MM-DD \s-1HH:MM:SS\s0\fR" 4
283 .IX Item "YYYY-MM-DD HH:MM:SS"
284 End time is the date and time given.
285 .IP "\fI\s-1HH:MM:SS\s0\fR" 4
286 .IX Item "HH:MM:SS"
287 End time is the time given, today.
288 .IP "\fI+HH:MM:SS\fR" 4
289 .IX Item "+HH:MM:SS"
290 End time is \s-1HH\s0 hours, \s-1MM\s0 minutes, \s-1SS\s0 seconds in the future (counted
291 from the moment that program starts).
292 .IP "\fI+secs\fR" 4
293 .IX Item "+secs"
294 End time is \fIsecs\fR seconds in the future.
295 .RE
296 .RS 4
297 .Sp
298 For example to run the program for 3 minutes you could do:
299 .Sp
300 .Vb 1
301 \& virt\-top \-\-end\-time +00:03:00
302 .Ve
303 .Sp
304 or:
305 .Sp
306 .Vb 1
307 \& virt\-top \-\-end\-time +180
308 .Ve
309 .Sp
310 Not every version of virt-top supports this option \- it depends how the
311 program was compiled (see \fI\s-1README\s0\fR file in the source distribution
312 for details).
313 .RE
314 .IP "\fB\-\-help\fR" 4
315 .IX Item "--help"
316 Display usage summary.
317 .IP "\fB\-\-version\fR" 4
318 .IX Item "--version"
319 Display version number and exit.
320 .SH "KEYS"
321 .IX Header "KEYS"
322 Note that keys are case sensitive.  For example use upper-case \fIP\fR
323 (shift P) to sort by \f(CW%CPU\fR.  \fI^\fR before a key means a Ctrl key, so
324 \&\fI^L\fR is Ctrl L.
325 .IP "\fIspace\fR or \fI^L\fR" 4
326 .IX Item "space or ^L"
327 Updates the display.
328 .IP "\fIq\fR" 4
329 .IX Item "q"
330 Quits the program.
331 .IP "\fIh\fR" 4
332 .IX Item "h"
333 Displays help.
334 .IP "\fIs\fR or \fId\fR" 4
335 .IX Item "s or d"
336 Change the delay between screen updates.
337 .IP "\fIB\fR" 4
338 .IX Item "B"
339 Toggle Block I/O statistics so they are shown in either bytes or requests.
340 .IP "\fI0\fR (number 0)" 4
341 .IX Item "0 (number 0)"
342 Show the normal list of domains display.
343 .IP "\fI1\fR (number 1)" 4
344 .IX Item "1 (number 1)"
345 Toggle into showing physical CPUs.  If pressed
346 again toggles back to showing domains (the normal
347 display).
348 .IP "\fI2\fR" 4
349 .IX Item "2"
350 Toggle into showing network interfaces.  If pressed
351 again toggles back to showing domains.
352 .IP "\fI3\fR" 4
353 .IX Item "3"
354 Toggle into showing block devices (virtual disks).  If pressed again
355 toggles back to showing domains.
356 .IP "\fIP\fR" 4
357 .IX Item "P"
358 Sort by \f(CW%CPU\fR.
359 .IP "\fIM\fR" 4
360 .IX Item "M"
361 Sort by total memory.  Note that this shows the total memory
362 allocated to the guest, not the memory being used.
363 .IP "\fIT\fR" 4
364 .IX Item "T"
365 Sort by total time.
366 .IP "\fIN\fR" 4
367 .IX Item "N"
368 Sort by domain \s-1ID\s0.
369 .IP "\fIF\fR" 4
370 .IX Item "F"
371 Select the sort field interactively (there are other
372 sort fields you can choose using this key).
373 .IP "\fIW\fR" 4
374 .IX Item "W"
375 This creates or overwrites the init file with the current settings.
376 .Sp
377 This key is disabled if \fI\-\-no\-init\-file\fR was specified on the
378 command line or if \fIoverwrite-init-file false\fR is given in
379 the init file.
380 .SH "INIT FILE"
381 .IX Header "INIT FILE"
382 When virt-top starts up, it reads initial settings from the
383 file \fI.virt\-toprc\fR in the user's home directory.
384 .PP
385 The name of this file may be overridden using the \fI\-\-init\-file
386 filename\fR command line option or may be disabled entirely using
387 \&\fI\-\-no\-init\-file\fR.
388 .PP
389 The init file has a simple format.  Blank lines and comments
390 beginning with \fI#\fR are ignored.  Everything else is a set of
391 \&\fIkey value\fR pairs, described below.
392 .IP "\fBdisplay\fR \fItask|pcpu|block|net\fR" 4
393 .IX Item "display task|pcpu|block|net"
394 Sets the major display mode to one of \fItask\fR (tasks, the
395 default), \fIpcpu\fR (physical CPUs), \fIblock\fR (block devices),
396 or \fInet\fR (network interfaces).
397 .IP "\fBdelay\fR \fIsecs\fR" 4
398 .IX Item "delay secs"
399 Sets the delay between display updates in seconds.
400 .IP "\fBhist-cpu\fR \fIsecs\fR" 4
401 .IX Item "hist-cpu secs"
402 Sets the historical \s-1CPU\s0 delay in seconds.
403 .IP "\fBiterations\fR \fIn\fR" 4
404 .IX Item "iterations n"
405 Sets the number of iterations to run before we exit.  Setting
406 this to \fI\-1\fR means to run continuously.
407 .IP "\fBsort\fR \fIcpu|mem|time|id|name|...\fR" 4
408 .IX Item "sort cpu|mem|time|id|name|..."
409 Sets the sort order.  The option names are the same as for
410 the command line \fI\-o\fR option.
411 .IP "\fBconnect\fR \fIuri\fR" 4
412 .IX Item "connect uri"
413 Sets the default connection \s-1URI\s0.
414 .IP "\fBdebug\fR \fIfilename\fR" 4
415 .IX Item "debug filename"
416 Sets the default filename to use for debug and error messages.
417 .IP "\fBcsv\fR \fIfilename\fR" 4
418 .IX Item "csv filename"
419 Enables \s-1CSV\s0 output to the named file.
420 .IP "\fBcsv-cpu\fR \fItrue|false\fR" 4
421 .IX Item "csv-cpu true|false"
422 Enable or disable domain \s-1CPU\s0 stats in \s-1CSV\s0 output.
423 .IP "\fBcsv-block\fR \fItrue|false\fR" 4
424 .IX Item "csv-block true|false"
425 Enable or disable domain block device stats in \s-1CSV\s0 output.
426 .IP "\fBcsv-net\fR \fItrue|false\fR" 4
427 .IX Item "csv-net true|false"
428 Enable or disable domain network interface stats in \s-1CSV\s0 output.
429 .IP "\fBbatch\fR \fItrue|false\fR" 4
430 .IX Item "batch true|false"
431 Sets batch mode.
432 .IP "\fBsecure\fR \fItrue|false\fR" 4
433 .IX Item "secure true|false"
434 Sets secure mode.
435 .IP "\fBscript\fR \fItrue|false\fR" 4
436 .IX Item "script true|false"
437 Sets script mode.
438 .IP "\fBstream\fR \fItrue|false\fR" 4
439 .IX Item "stream true|false"
440 Sets stream mode.
441 .IP "\fBblock-in-bytes\fR \fItrue|false\fR" 4
442 .IX Item "block-in-bytes true|false"
443 Show block device statistics in bytes.
444 .IP "\fBend-time\fR \fItime\fR" 4
445 .IX Item "end-time time"
446 Set the time at which the program exits.  See above for the
447 time formats supported.
448 .IP "\fBoverwrite-init-file\fR \fIfalse\fR" 4
449 .IX Item "overwrite-init-file false"
450 If set to \fIfalse\fR then the \fIW\fR key will not overwrite the
451 init file.
452 .PP
453 Note that in the current implementation, options specified in
454 the init file override options specified on the command line.
455 This is a bug and this behaviour may change in the future.
456 .SH "NOTES"
457 .IX Header "NOTES"
458 .SS "Block I/O statistics"
459 .IX Subsection "Block I/O statistics"
460 This I/O value is the amount of I/O since the previous iteration
461 of virt-top. To calculate speed of I/O, you should divide
462 the number by delay secs.
463 .SS "\s-1NETWORK\s0 \s-1RX\s0 \s-1BYTES\s0 \s-1AND\s0 \s-1PACKETS\s0"
464 .IX Subsection "NETWORK RX BYTES AND PACKETS"
465 Libvirt/virt\-top has no way to know that a packet transmitted to a
466 guest was received (eg. if the guest is not listening).  In the
467 network \s-1RX\s0 stats, virt-top reports the packets transmitted to the
468 guest, on the basis that the guest might receive them.
469 .PP
470 In particular this includes broadcast packets.  Because of the way
471 that Linux bridges work, if the guest is connected to a bridge, it
472 will probably see a steady \*(L"background noise\*(R" of \s-1RX\s0 packets even when
473 the network interface is idle or down.  These are caused by \s-1STP\s0
474 packets generated by the bridge.
475 .SH "SEE ALSO"
476 .IX Header "SEE ALSO"
477 \&\fItop\fR\|(1),
478 \&\fIvirsh\fR\|(1),
479 <http://www.libvirt.org/ocaml/>,
480 <http://www.libvirt.org/>,
481 <http://people.redhat.com/~rjones/>,
482 <http://caml.inria.fr/>
483 .SH "AUTHORS"
484 .IX Header "AUTHORS"
485 Richard W.M. Jones <rjones @ redhat . com>
486 .SH "COPYRIGHT"
487 .IX Header "COPYRIGHT"
488 (C) Copyright 2007\-2011 Red Hat Inc., Richard W.M. Jones
489 http://libvirt.org/
490 .PP
491 This program is free software; you can redistribute it and/or modify
492 it under the terms of the \s-1GNU\s0 General Public License as published by
493 the Free Software Foundation; either version 2 of the License, or
494 (at your option) any later version.
495 .PP
496 This program is distributed in the hope that it will be useful,
497 but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of
498 \&\s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0.  See the
499 \&\s-1GNU\s0 General Public License for more details.
500 .PP
501 You should have received a copy of the \s-1GNU\s0 General Public License
502 along with this program; if not, write to the Free Software
503 Foundation, Inc., 675 Mass Ave, Cambridge, \s-1MA\s0 02139, \s-1USA\s0.
504 .SH "REPORTING BUGS"
505 .IX Header "REPORTING BUGS"
506 Bugs can be viewed on the Red Hat Bugzilla page:
507 <https://bugzilla.redhat.com/>.
508 .PP
509 If you find a bug in virt-top, please follow these steps to report it:
510 .IP "1. Check for existing bug reports" 4
511 .IX Item "1. Check for existing bug reports"
512 Go to <https://bugzilla.redhat.com/> and search for similar bugs.
513 Someone may already have reported the same bug, and they may even
514 have fixed it.
515 .IP "2. Capture debug and error messages" 4
516 .IX Item "2. Capture debug and error messages"
517 Run
518 .Sp
519 .Vb 1
520 \& virt\-top \-\-debug virt\-top.log
521 .Ve
522 .Sp
523 and keep \fIvirt\-top.log\fR.  It contains error messages which you
524 should submit with your bug report.
525 .IP "3. Get version of virt-top and version of libvirt." 4
526 .IX Item "3. Get version of virt-top and version of libvirt."
527 Use:
528 .Sp
529 .Vb 1
530 \& virt\-top \-\-version
531 .Ve
532 .Sp
533 If you can get the precise version of libvirt you are using
534 then that too is helpful.
535 .IP "4. Submit a bug report." 4
536 .IX Item "4. Submit a bug report."
537 Go to <https://bugzilla.redhat.com/> and enter a new bug.
538 Please describe the problem in as much detail as possible.
539 .Sp
540 Remember to include the version numbers (step 3) and the debug
541 messages file (step 2).
542 .IP "5. Assign the bug to rjones @ redhat.com" 4
543 .IX Item "5. Assign the bug to rjones @ redhat.com"
544 Assign or reassign the bug to \fBrjones @ redhat.com\fR (without the
545 spaces).  You can also send me an email with the bug number if you
546 want a faster response.