VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-debugvm.xml@ 94247

Last change on this file since 94247 was 93803, checked in by vboxsync, 3 years ago

doc/manual: Clean up the entity inclusion into all manpages, eliminating current and avoiding future warnings about unknown entity product-name. Minor further cleanups.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 28.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage debugvm
4
5 Copyright (C) 2006-2020 Oracle Corporation
6
7 This file is part of VirtualBox Open Source Edition (OSE), as
8 available from http://www.virtualbox.org. This file is free software;
9 you can redistribute it and/or modify it under the terms of the GNU
10 General Public License (GPL) as published by the Free Software
11 Foundation, in version 2 as it comes in the "COPYING" file of the
12 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14 -->
15<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
16 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
17<!ENTITY % all.entities SYSTEM "all-entities.ent">
18%all.entities;
19]>
20<refentry id="vboxmanage-debugvm" lang="en">
21 <refentryinfo>
22 <pubdate>$Date: 2022-02-16 19:28:38 +0000 (Wed, 16 Feb 2022) $</pubdate>
23 <title>VBoxManage debugvm</title>
24 </refentryinfo>
25
26 <refmeta>
27 <refentrytitle>VBoxManage-debugvm</refentrytitle>
28 <manvolnum>1</manvolnum>
29 </refmeta>
30
31 <refnamediv>
32 <refname>VBoxManage-debugvm</refname>
33 <refpurpose>introspection and guest debugging</refpurpose>
34 <refclass>&product-name;</refclass>
35 </refnamediv>
36
37 <refsynopsisdiv>
38 <cmdsynopsis id="synopsis-vboxmanage-debugvm-dumpvmcore">
39 <command>VBoxManage debugvm</command>
40 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
41 <arg choice="plain">dumpvmcore</arg>
42 <arg>--filename=<replaceable>name</replaceable></arg>
43 </cmdsynopsis>
44 <cmdsynopsis id="synopsis-vboxmanage-debugvm-info">
45 <command>VBoxManage debugvm</command>
46 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
47 <arg choice="plain">info</arg>
48 <arg choice="req"><replaceable>item</replaceable></arg>
49 <arg rep="repeat"><replaceable>args</replaceable></arg>
50 </cmdsynopsis>
51 <cmdsynopsis id="synopsis-vboxmanage-debugvm-injectnmi">
52 <command>VBoxManage debugvm</command>
53 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
54 <arg choice="plain">injectnmi</arg>
55 </cmdsynopsis>
56 <cmdsynopsis id="synopsis-vboxmanage-debugvm-log">
57 <command>VBoxManage debugvm</command>
58 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
59 <arg choice="plain">log</arg>
60 <group><arg>--release</arg><arg>--debug</arg></group>
61 <arg rep="repeat"><replaceable>group-settings</replaceable></arg>
62 </cmdsynopsis>
63 <cmdsynopsis id="synopsis-vboxmanage-debugvm-logdest">
64 <command>VBoxManage debugvm</command>
65 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
66 <arg choice="plain">logdest</arg>
67 <group><arg>--release</arg><arg>--debug</arg></group>
68 <arg rep="repeat"><replaceable>destinations</replaceable></arg>
69 </cmdsynopsis>
70 <cmdsynopsis id="synopsis-vboxmanage-debugvm-logflags">
71 <command>VBoxManage debugvm</command>
72 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
73 <arg choice="plain">logflags</arg>
74 <group><arg>--release</arg><arg>--debug</arg></group>
75 <arg rep="repeat"><replaceable>flags</replaceable></arg>
76 </cmdsynopsis>
77 <cmdsynopsis id="synopsis-vboxmanage-debugvm-osdetect">
78 <command>VBoxManage debugvm</command>
79 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
80 <arg choice="plain">osdetect</arg>
81 </cmdsynopsis>
82 <cmdsynopsis id="synopsis-vboxmanage-debugvm-osinfo">
83 <command>VBoxManage debugvm</command>
84 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
85 <arg choice="plain">osinfo</arg>
86 </cmdsynopsis>
87 <cmdsynopsis id="synopsis-vboxmanage-debugvm-osdmesg">
88 <command>VBoxManage debugvm</command>
89 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
90 <arg choice="plain">osdmesg</arg>
91 <arg>--lines=<replaceable>lines</replaceable></arg>
92 </cmdsynopsis>
93 <cmdsynopsis id="synopsis-vboxmanage-debugvm-getregisters">
94 <command>VBoxManage debugvm</command>
95 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
96 <arg choice="plain">getregisters</arg>
97 <arg>--cpu=<replaceable>id</replaceable></arg>
98 <arg rep="repeat"><replaceable>reg-set.reg-name</replaceable></arg>
99 </cmdsynopsis>
100 <cmdsynopsis id="synopsis-vboxmanage-debugvm-setregisters">
101 <command>VBoxManage debugvm</command>
102 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
103 <arg choice="plain">setregisters</arg>
104 <arg>--cpu=<replaceable>id</replaceable></arg>
105 <arg rep="repeat"><replaceable>reg-set.reg-name</replaceable>=<replaceable>value</replaceable></arg>
106 </cmdsynopsis>
107 <cmdsynopsis id="synopsis-vboxmanage-debugvm-show">
108 <command>VBoxManage debugvm</command>
109 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
110 <arg choice="plain">show</arg>
111 <group><arg>--human-readable</arg><arg>--sh-export</arg><arg>--sh-eval</arg><arg>--cmd-set</arg></group>
112 <arg rep="repeat"><replaceable>settings-item</replaceable></arg>
113 </cmdsynopsis>
114 <cmdsynopsis id="synopsis-vboxmanage-debugvm-stack">
115 <command>VBoxManage debugvm</command>
116 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
117 <arg choice="plain">stack</arg>
118 <arg>--cpu=<replaceable>id</replaceable></arg>
119 </cmdsynopsis>
120 <cmdsynopsis id="synopsis-vboxmanage-debugvm-statistics">
121 <command>VBoxManage debugvm</command>
122 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
123 <arg choice="plain">statistics</arg>
124 <arg>--reset</arg>
125 <arg>--descriptions</arg>
126 <arg>--pattern=<replaceable>pattern</replaceable></arg>
127 </cmdsynopsis>
128 <cmdsynopsis id="synopsis-vboxmanage-debugvm-guestsample">
129 <command>VBoxManage debugvm</command>
130 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
131 <arg choice="plain">guestsample</arg>
132 <arg>--filename=<replaceable>filename</replaceable></arg>
133 <arg>--sample-interval-us=<replaceable>interval</replaceable></arg>
134 <arg>--sample-time-us=<replaceable>time</replaceable></arg>
135 </cmdsynopsis>
136 </refsynopsisdiv>
137 <refsect1>
138 <title>Description</title>
139
140 <para>The "debugvm" commands are for experts who want to tinker with the
141 exact details of virtual machine execution. Like the VM debugger
142 described in <xref linkend="ts_debugger" />, these commands are only useful if you are
143 very familiar with the details of the PC architecture and how to debug
144 software.</para>
145
146 <refsect2 id="vboxmanage-debugvm-common-options">
147 <title>Common options</title>
148 <remark role="help-scope" condition="GLOBAL"/>
149 <para>The subcommands of <command>debugvm</command> all operate on a running virtual
150 machine:</para>
151 <variablelist>
152 <varlistentry>
153 <term><replaceable>uuid|vmname</replaceable></term>
154 <listitem><para>Either the UUID or the name (case sensitive) of a VM.</para></listitem>
155 </varlistentry>
156 </variablelist>
157 </refsect2>
158
159 <refsect2 id="vboxmanage-debugvm-dumpvmcore">
160 <title>debugvm dumpvmcore</title>
161 <remark role="help-copy-synopsis"/>
162 <para>
163 Creates a system dump file of the specified VM. This file will have
164 the standard ELF core format (with custom sections); see
165 <xref linkend="ts_guest-core-format" />.
166 </para>
167 <para>
168 This corresponds to the <command>writecore</command> command in the debugger.
169 </para>
170 <variablelist>
171 <varlistentry>
172 <term><option>--filename=<replaceable>filename</replaceable></option></term>
173 <listitem><para>The name of the output file.</para></listitem>
174 </varlistentry>
175 </variablelist>
176 </refsect2>
177
178 <refsect2 id="vboxmanage-debugvm-info">
179 <title>debugvm info</title>
180 <remark role="help-copy-synopsis"/>
181 <para>
182 Displays info items relating to the VMM, device emulations and
183 associated drivers.
184 </para>
185 <para>
186 This corresponds to the <command>info</command> command in the debugger.
187 </para>
188 <variablelist>
189 <varlistentry>
190 <term><replaceable>item</replaceable></term>
191 <listitem>
192 <para>Name of the info item to display. The special name
193 <option>help</option> will list all the available info items and
194 hints about optional arguments.</para>
195 </listitem>
196 </varlistentry>
197 <varlistentry>
198 <term><replaceable>args</replaceable></term>
199 <listitem>
200 <para>Optional argument string for the info item handler. Most info items
201 does not take any extra arguments. Arguments not recognized are generally
202 ignored.</para>
203 </listitem>
204 </varlistentry>
205 </variablelist>
206 </refsect2>
207
208 <refsect2 id="vboxmanage-debugvm-injectnmi">
209 <title>debugvm injectnmi</title>
210 <remark role="help-copy-synopsis"/>
211 <para>
212 Causes a non-maskable interrupt (NMI) to be injected into the guest. This
213 might be useful for certain debugging scenarios. What happens exactly is
214 dependent on the guest operating system, but an NMI can crash the whole
215 guest operating system. Do not use unless you know what you're doing.
216 </para>
217 </refsect2>
218
219 <refsect2 id="vboxmanage-debugvm-log">
220 <title>debugvm log</title>
221 <remark role="help-copy-synopsis"/>
222 <para>
223 Changes the group settings for either debug (<option>--debug</option>)
224 or release (<option>--release</option>) logger of the VM process.
225 </para>
226 <para>
227 The <replaceable>group-settings</replaceable> are typically strings on the form
228 <computeroutput>em.e.f.l</computeroutput>, <computeroutput>hm=~0</computeroutput>
229 and <computeroutput>-em.f</computeroutput>. Basic wildcards are supported for
230 group matching. The <computeroutput>all</computeroutput> group is an alias for
231 all the groups.
232 </para>
233 <para>
234 Please do keep in mind that the group settings are applied as modifications
235 to the current ones.
236 </para>
237 <para>
238 This corresponds to the <command>log</command> command in the debugger.
239 </para>
240 </refsect2>
241
242 <refsect2 id="vboxmanage-debugvm-logdest">
243 <title>debugvm logdest</title>
244 <remark role="help-copy-synopsis"/>
245 <para>
246 Changes the destination settings for either debug (<option>--debug</option>)
247 or release (<option>--release</option>) logger of the VM process. For details
248 on the destination format, the best source is src/VBox/Runtime/common/log/log.cpp.
249 </para>
250 <para>
251 The <replaceable>destinations</replaceable> is one or more mnemonics, optionally
252 prefixed by "no" to disable them. Some of them take values after a ":" or "="
253 separator. Multiple mnemonics can be separated by space or given as separate
254 arguments on the command line.
255 </para>
256 <para>
257 List of available destination:
258 </para>
259 <variablelist>
260 <varlistentry>
261 <term><option>file[=<replaceable>file</replaceable>], nofile</option></term>
262 <listitem><para>Specifies a log file. If no filename is given, one will be
263 generated based on the current UTC time and VM process name and placed in
264 the current directory of the VM process. Note that this will currently not
265 have any effect if the log file has already been opened.
266 </para></listitem>
267 </varlistentry>
268 <varlistentry>
269 <term><option>dir=<replaceable>directory</replaceable>, nodir</option></term>
270 <listitem><para>Specifies the output directory for log files. Note that this
271 will currently not have any effect if the log file has already been opened.
272 </para></listitem>
273 </varlistentry>
274 <varlistentry>
275 <term><option>history=<replaceable>count</replaceable>, nohistory</option></term>
276 <listitem><para>A non-zero value enables log historization, with the value
277 specifying how many old log files to keep.
278 </para></listitem>
279 </varlistentry>
280 <varlistentry>
281 <term><option>histsize=<replaceable>bytes</replaceable></option></term>
282 <listitem><para>The max size of a log file before it is historized. Default is infinite.</para></listitem>
283 </varlistentry>
284 <varlistentry>
285 <term><option>histtime=<replaceable>seconds</replaceable></option></term>
286 <listitem><para>The max age (in seconds) of a log file before it is historized. Default is infinite.</para></listitem>
287 </varlistentry>
288 <varlistentry>
289 <term><option>ringbuffer, noringbuffer</option></term>
290 <listitem><para>Only log to the log buffer until an explicit flush (e.g. via an assertion)
291 occurs. This is fast and saves diskspace.</para></listitem>
292 </varlistentry>
293 <varlistentry>
294 <term><option>stdout, nostdout</option></term>
295 <listitem><para>Write the log content to standard output.</para></listitem>
296 </varlistentry>
297 <varlistentry>
298 <term><option>stdout, nostdout</option></term>
299 <listitem><para>Write the log content to standard error.</para></listitem>
300 </varlistentry>
301 <varlistentry>
302 <term><option>debugger, nodebugger</option></term>
303 <listitem><para>Write the log content to the debugger, if supported by the host OS.</para></listitem>
304 </varlistentry>
305 <varlistentry>
306 <term><option>com, nocom</option></term>
307 <listitem><para>Writes logging to the COM port. This is only applicable for raw-mode and ring-0 logging.</para></listitem>
308 </varlistentry>
309 <varlistentry>
310 <term><option>user, nouser</option></term>
311 <listitem><para>Custom destination which has no meaning to VM processes..</para></listitem>
312 </varlistentry>
313 </variablelist>
314 <para>
315 This corresponds to the <command>logdest</command> command in the debugger.
316 </para>
317 </refsect2>
318
319 <refsect2 id="vboxmanage-debugvm-logflags">
320 <title>debugvm logflags</title>
321 <remark role="help-copy-synopsis"/>
322 <para>
323 Changes the flags on either debug (<option>--debug</option>) or release
324 (<option>--release</option>) logger of the VM process. Please note that the
325 modifications are applied onto the existing changes, they are not replacing them.
326 </para>
327 <para>
328 The <replaceable>flags</replaceable> are a list of flag mnemonics, optionally
329 prefixed by a "no", "!", "~" or "-" to negate their meaning. The "+" prefix
330 can be used to undo previous negation or use as a separator, though better use
331 whitespace or separate arguments for that.
332 </para>
333 <para>
334 List of log flag mnemonics, with their counter form where applicable
335 (asterisk indicates defaults):
336 </para>
337 <variablelist>
338 <varlistentry>
339 <term><option>enabled*, disabled</option></term>
340 <listitem><para>Enables or disables logging.</para></listitem>
341 </varlistentry>
342 <varlistentry>
343 <term><option>buffered, unbuffered*</option></term>
344 <listitem><para>Enabling buffering of log output before it hits the destinations.</para></listitem>
345 </varlistentry>
346 <varlistentry>
347 <term><option>writethrough(/writethru)</option></term>
348 <listitem><para>Whether to open the destination file with writethru buffering settings or not.</para></listitem>
349 </varlistentry>
350 <varlistentry>
351 <term><option>flush</option></term>
352 <listitem><para>Enables flushing of the output file (to disk) after each log statement.</para></listitem>
353 </varlistentry>
354 <!-- Prefixes -->
355 <varlistentry>
356 <term><option>lockcnts</option></term>
357 <listitem><para>Prefix each log line with lock counts for the current thread.</para></listitem>
358 </varlistentry>
359 <varlistentry>
360 <term><option>cpuid</option></term>
361 <listitem><para>Prefix each log line with the ID of the current CPU.</para></listitem>
362 </varlistentry>
363 <varlistentry>
364 <term><option>pid</option></term>
365 <listitem><para>Prefix each log line with the current process ID.</para></listitem>
366 </varlistentry>
367 <varlistentry>
368 <term><option>flagno</option></term>
369 <listitem><para>Prefix each log line with the numberic flags corresponding to the log statement.</para></listitem>
370 </varlistentry>
371 <varlistentry>
372 <term><option>flag</option></term>
373 <listitem><para>Prefix each log line with the flag mnemonics corresponding to the log statement.</para></listitem>
374 </varlistentry>
375 <varlistentry>
376 <term><option>groupno</option></term>
377 <listitem><para>Prefix each log line with the log group number for the log statement producing it.</para></listitem>
378 </varlistentry>
379 <varlistentry>
380 <term><option>group</option></term>
381 <listitem><para>Prefix each log line with the log group name for the log statement producing it.</para></listitem>
382 </varlistentry>
383 <varlistentry>
384 <term><option>tid</option></term>
385 <listitem><para>Prefix each log line with the current thread identifier.</para></listitem>
386 </varlistentry>
387 <varlistentry>
388 <term><option>thread</option></term>
389 <listitem><para>Prefix each log line with the current thread name.</para></listitem>
390 </varlistentry>
391 <varlistentry>
392 <term><option>time</option></term>
393 <listitem><para>Prefix each log line with the current UTC wall time.</para></listitem>
394 </varlistentry>
395 <varlistentry>
396 <term><option>timeprog</option></term>
397 <listitem><para>Prefix each log line with the current monotonic time since the start of the program.</para></listitem>
398 </varlistentry>
399 <varlistentry>
400 <term><option>msprog</option></term>
401 <listitem><para>Prefix each log line with the current monotonic timestamp value in milliseconds since the start of the program.</para></listitem>
402 </varlistentry>
403 <varlistentry>
404 <term><option>ts</option></term>
405 <listitem><para>Prefix each log line with the current monotonic timestamp value in nanoseconds.</para></listitem>
406 </varlistentry>
407 <varlistentry>
408 <term><option>tsc</option></term>
409 <listitem><para>Prefix each log line with the current CPU timestamp counter (TSC) value.</para></listitem>
410 </varlistentry>
411 <varlistentry>
412 <term><option>rel, abs*</option></term>
413 <listitem><para>Selects the whether <computeroutput>ts</computeroutput> and
414 <computeroutput>tsc</computeroutput> prefixes should be displayed as relative to the
415 previous log line or as absolute time.</para></listitem>
416 </varlistentry>
417 <varlistentry>
418 <term><option>hex*, dec</option></term>
419 <listitem><para>Selects the whether the <computeroutput>ts</computeroutput> and
420 <computeroutput>tsc</computeroutput> prefixes should be formatted as hexadecimal
421 or decimal.</para></listitem>
422 </varlistentry>
423
424 <!-- Suffixes and weird stuff. -->
425 <varlistentry>
426 <term><option>custom</option></term>
427 <listitem><para>Custom log prefix, has by default no meaning for VM processes.</para></listitem>
428 </varlistentry>
429
430 <varlistentry>
431 <term><option>usecrlf, uself*</option></term>
432 <listitem><para>Output with DOS style (CRLF) or just UNIX style (LF) line endings.</para></listitem>
433 </varlistentry>
434 <varlistentry>
435 <term><option>overwrite*, append</option></term>
436 <listitem><para>Overwrite the destination file or append to it.</para></listitem>
437 </varlistentry>
438 </variablelist>
439
440 <para>
441 This corresponds to the <command>logflags</command> command in the debugger.
442 </para>
443 </refsect2>
444
445 <refsect2 id="vboxmanage-debugvm-osdetect">
446 <title>debugvm osdetect</title>
447 <remark role="help-copy-synopsis"/>
448 <para>
449 Make the VMM's debugger facility (re)-detect the guest operating system (OS).
450 This will first load all debugger plug-ins.
451 </para>
452 <para>
453 This corresponds to the <command>detect</command> command in the debugger.
454 </para>
455 </refsect2>
456
457 <refsect2 id="vboxmanage-debugvm-osinfo">
458 <title>debugvm osinfo</title>
459 <remark role="help-copy-synopsis"/>
460 <para>
461 Displays information about the guest operating system (OS) previously
462 detected by the VMM's debugger facility.
463 </para>
464 </refsect2>
465
466 <refsect2 id="vboxmanage-debugvm-osdmesg">
467 <title>debugvm osdmesg</title>
468 <remark role="help-copy-synopsis"/>
469 <para>
470 Displays the guest OS kernel log, if detected and supported.
471 </para>
472 <variablelist>
473 <varlistentry>
474 <term><option>--lines=<replaceable>lines</replaceable></option></term>
475 <listitem><para>Number of lines of the log to display, counting from
476 the end. The default is infinite.</para></listitem>
477 </varlistentry>
478 </variablelist>
479 </refsect2>
480
481 <refsect2 id="vboxmanage-debugvm-getregisters">
482 <title>debugvm getregisters</title>
483 <remark role="help-copy-synopsis"/>
484 <para>
485 Retrieves register values for guest CPUs and emulated devices.
486 </para>
487 <variablelist>
488 <varlistentry>
489 <term><replaceable>reg-set.reg-name</replaceable></term>
490 <listitem>
491 <para>One of more registers, each having one of the following forms:</para>
492 <orderedlist>
493 <listitem><para>register-set.register-name.sub-field</para></listitem>
494 <listitem><para>register-set.register-name</para></listitem>
495 <listitem><para>cpu-register-name.sub-field</para></listitem>
496 <listitem><para>cpu-register-name</para></listitem>
497 <listitem><para>all</para></listitem>
498 </orderedlist>
499 <para>The <replaceable>all</replaceable> form will cause all registers
500 to be shown (no sub-fields). The registers names are case-insensitive.
501 </para>
502 </listitem>
503 </varlistentry>
504 <varlistentry>
505 <term><option>--cpu=<replaceable>id</replaceable></option></term>
506 <listitem><para>Selects the CPU register set when specifying just a
507 CPU register (3rd and 4th form). The default is 0.</para>
508 </listitem>
509 </varlistentry>
510 </variablelist>
511 </refsect2>
512
513 <refsect2 id="vboxmanage-debugvm-setregisters">
514 <title>debugvm setregisters</title>
515 <remark role="help-copy-synopsis"/>
516 <para>
517 Changes register values for guest CPUs and emulated devices.
518 </para>
519 <variablelist>
520 <varlistentry>
521 <term><replaceable>reg-set.reg-name=value</replaceable></term>
522 <listitem>
523 <para>One of more register assignment, each having one of the following forms:</para>
524 <orderedlist>
525 <listitem><para>register-set.register-name.sub-field=value</para></listitem>
526 <listitem><para>register-set.register-name=value</para></listitem>
527 <listitem><para>cpu-register-name.sub-field=value</para></listitem>
528 <listitem><para>cpu-register-name=value</para></listitem>
529 </orderedlist>
530 <para>The value format should be in the same style as what
531 <command>getregisters</command> displays, with the exception that
532 both octal and decimal can be used instead of hexadecimal.</para>
533 </listitem>
534 </varlistentry>
535 <varlistentry>
536 <term><option>--cpu=<replaceable>id</replaceable></option></term>
537 <listitem><para>Selects the CPU register set when specifying just a
538 CPU register (3rd and 4th form). The default is 0.</para>
539 </listitem>
540 </varlistentry>
541 </variablelist>
542 </refsect2>
543
544 <refsect2 id="vboxmanage-debugvm-show">
545 <title>debugvm show</title>
546 <remark role="help-copy-synopsis"/>
547 <para>
548 Shows logging settings for the VM.
549 </para>
550 <variablelist>
551 <varlistentry>
552 <term><option>--human-readable</option></term>
553 <listitem><para>Selects human readable output.</para></listitem>
554 </varlistentry>
555 <varlistentry>
556 <term><option>--sh-export</option></term>
557 <listitem><para>Selects output format as bourne shell style <command>export</command> commands.</para></listitem>
558 </varlistentry>
559 <varlistentry>
560 <term><option>--sh-eval</option></term>
561 <listitem><para>Selects output format as bourne shell style <command>eval</command> command input.</para></listitem>
562 </varlistentry>
563 <varlistentry>
564 <term><option>--cmd-set</option></term>
565 <listitem><para>Selects output format as DOS style <command>SET</command> commands.</para></listitem>
566 </varlistentry>
567 <varlistentry>
568 <term><replaceable>settings-item</replaceable></term>
569 <listitem>
570 <para>What to display. One or more of the following:</para>
571 <itemizedlist>
572 <listitem><para>logdbg-settings - debug log settings.</para></listitem>
573 <listitem><para>logrel-settings - release log settings.</para></listitem>
574 <listitem><para>log-settings - alias for both debug and release log settings.</para></listitem>
575 </itemizedlist>
576 </listitem>
577 </varlistentry>
578 </variablelist>
579
580 </refsect2>
581
582 <refsect2 id="vboxmanage-debugvm-stack">
583 <title>debugvm stack</title>
584 <remark role="help-copy-synopsis"/>
585 <para>
586 Unwinds the guest CPU stacks to the best of our ability. It is
587 recommended to first run the <command>osdetect</command> command, as this
588 gives both symbols and perhaps unwind information.
589 </para>
590 <variablelist>
591 <varlistentry>
592 <term><option>--cpu=<replaceable>id</replaceable></option></term>
593 <listitem><para>Selects a single guest CPU to display the stack for. The default is all CPUs.</para> </listitem>
594 </varlistentry>
595 </variablelist>
596
597 </refsect2>
598
599 <refsect2 id="vboxmanage-debugvm-statistics">
600 <title>debugvm statistics</title>
601 <remark role="help-copy-synopsis"/>
602 <para>
603 Displays or resets VMM statistics.
604 </para>
605 <para>
606 Retrieves register values for guest CPUs and emulated devices.
607 </para>
608 <variablelist>
609 <varlistentry>
610 <term><option>--pattern=<replaceable>pattern</replaceable></option></term>
611 <listitem><para>DOS/NT-style wildcards patterns for selecting statistics. Multiple
612 patterns can be specified by using the '|' (pipe) character as separator.</para>
613 </listitem>
614 </varlistentry>
615 <varlistentry>
616 <term><option>--reset</option></term>
617 <listitem><para>Select reset instead of display mode.</para></listitem>
618 </varlistentry>
619 </variablelist>
620
621 </refsect2>
622
623 <refsect2 id="vboxmanage-debugvm-guestsample">
624 <title>debugvm guestsample</title>
625 <remark role="help-copy-synopsis"/>
626 <para>
627 Creates a sample report of the guest activity.
628 </para>
629 <para>
630 Retrieves the filename to dump the report to.
631 </para>
632 <variablelist>
633 <varlistentry>
634 <term><option>--filename=<replaceable>filename</replaceable></option></term>
635 <listitem><para>The filename to dump the sample report to.</para>
636 </listitem>
637 </varlistentry>
638 <varlistentry>
639 <term><option>--sample-interval-us=<replaceable>interval</replaceable></option></term>
640 <listitem><para>The interval in microseconds between guest samples.</para>
641 </listitem>
642 </varlistentry>
643 <varlistentry>
644 <term><option>--sample-time-us=<replaceable>time</replaceable></option></term>
645 <listitem><para>The amount of microseconds to take guest samples.</para>
646 </listitem>
647 </varlistentry>
648 </variablelist>
649
650 </refsect2>
651
652 </refsect1>
653
654</refentry>
655
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette