Changeset 32364 in vbox
- Timestamp:
- Sep 9, 2010 4:01:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/user_AdvancedTopics.xml
r32363 r32364 1340 1340 </sect1> 1341 1341 1342 <sect1 id="addhostonlysolaris"> 1343 <title>Configuring VirtualBox CoreDumper on Solaris hosts</title> 1344 1345 <para>VirtualBox is capable of producing its own core files when things go 1346 wrong and for more extensive debugging. Currently this is only available 1347 on Solaris hosts.</para> 1348 1349 <para>The VirtualBox CoreDumper can be enabled using the following 1350 command:</para> 1351 1352 <para><screen>VBoxManage setextradata "VM name" VBoxInternal2/CoreDumpEnabled 1</screen></para> 1353 1354 <para>You can specify which directory to use for core dumps with this 1355 command:</para> 1356 1357 <para><screen>VBoxManage setextradata "VM name" VBoxInternal2/CoreDumpDir <path-to-directory></screen>Make 1358 sure the directory you specify is on a volume with sufficient free space 1359 and that the VirtualBox process has sufficient permissions to write files 1360 to this directory. If you skip this command and don't specify any core 1361 dump directory, the current directory of the VirtualBox executable will be 1362 used (which would most likely fail when writing cores as they are 1363 protected with root permissions). It is recommended you explicity set a 1364 core dump directory.</para> 1365 1366 <para>Next you need to specify when the VirtualBox CoreDumper should be 1367 triggered. You can replace the system core dumper, or ask it to setup it's 1368 core dumper for live, running processes without terminating the VM. This 1369 is done using the following commands:</para> 1370 1371 <para><screen>VBoxManage setextradata "VM name" VBoxInternal2/CoreDumpReplaceSystemDump 1 1372 VBoxManage setextradata "VM name" VBoxInternal2/CoreDumpLive 1</screen>At 1373 least one of the above two commands will have to be provided if you have 1374 enabled the VirtualBox CoreDumper.</para> 1375 1376 <para>Setting <computeroutput>CoreDumpReplaceSystemDump</computeroutput> 1377 overrides the host's core dumping mechanism and in the event of any crash 1378 only the VirtualBox CoreDumper would be produced a core file.</para> 1379 1380 <para>Setting <computeroutput>CoreDumpLive</computeroutput> setups the VM 1381 to produce cores whenever the VM receives a 1382 <computeroutput>SIGUSR2</computeroutput> signal. After producing the core 1383 file, the VM will not be terminated and will continue to run. You can thus 1384 take cores of the VM process anytime using:</para> 1385 1386 <para><screen>kill -s SIGUSR2 <VM-process-id></screen></para> 1387 1388 <para>Core files produced by the VirtualBox CoreDumper are of the form 1389 <computeroutput>core.vb.<ProcessName>.<ProcessID></computeroutput>, 1390 e.g.<computeroutput>core.vb.VBoxHeadless.11321</computeroutput>.</para> 1391 </sect1> 1392 1342 1393 <sect1 id="guitweaks"> 1343 1394 <title>Locking down the GUI</title>
Note:
See TracChangeset
for help on using the changeset viewer.