Changes between Version 18 and Version 19 of Core_dump
- Timestamp:
- Sep 3, 2009 1:47:53 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Core_dump
v18 v19 39 39 The core files can be found in the /cores folder. 40 40 41 = How to create dumps on OpenSolaris = 42 To get core on OpenSolaris host create coreadm.conf file 43 {{{ 44 # cat /etc/coreadm.conf 45 COREADM_GLOB_PATTERN=/tmp/cores/core.%f.%p 46 COREADM_GLOB_CONTENT=all 47 COREADM_INIT_PATTERN=%f.%p 48 COREADM_INIT_CONTENT=all 49 COREADM_GLOB_ENABLED=yes 50 COREADM_PROC_ENABLED=yes 51 COREADM_GLOB_SETID_ENABLED=yes 52 COREADM_PROC_SETID_ENABLED=yes 53 COREADM_GLOB_LOG_ENABLED=yes 54 }}} 55 then enforce coreadm(1) to read configuration from file 56 {{{ 57 # coreadm -U 58 # pfexec svcs | grep coreadm 59 online 20:40:11 svc:/system/coreadm:default 60 # pfexec svcadm restart coreadm 61 # pfexec svcs | grep coreadm 62 online 5:30:22 svc:/system/coreadm:default 63 # ulimit -c unlimited 64 }}} 65 66 After mentioned above manipulations core files will appear in /var/cores folder 41 67 42 68 = Forcing !VirtualBox to terminate with a core dump = … … 58 84 $ kill -4 7145 59 85 }}} 86 87 On OpenSolaris: 88 {{{ 89 # ulimit -c unlimited 90 # /opt/VirtualBox/amd64/bin/VirtualBox -startvm VM_NAME & 91 # ps aux|grep VirtualBox 92 ... 7145 ... VirtualBox ... 93 # kill -4 7145 94 }}} 95 96 You can find result core file according location specified in coreadm 97 {{{ 98 # coreadm 99 }}} 100 60 101 Passing the signal number 4 (`SIGILL`) is essential! The same applies to the alternative frontends `VBoxHeadless` and `VBoxSDL`. 61 102 103 104 62 105 = How to minidumps on Windows = 63 106 Please visit this [http://support.microsoft.com/kb/315263 Microsoft site] for more details about minidumps[[BR]]