Changes between Version 25 and Version 26 of Core_dump
- Timestamp:
- Jun 29, 2010 9:30:27 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Core_dump
v25 v26 46 46 47 47 = How to create dumps on !OpenSolaris = 48 To get core on !OpenSolaris host create coreadm.conf file48 To get core on !OpenSolaris host run the following command as root 49 49 {{{ 50 # cat /etc/coreadm.conf 51 COREADM_GLOB_PATTERN=/tmp/cores/core.%f.%p 52 COREADM_GLOB_CONTENT=all 53 COREADM_INIT_PATTERN=%f.%p 54 COREADM_INIT_CONTENT=all 55 COREADM_GLOB_ENABLED=yes 56 COREADM_PROC_ENABLED=yes 57 COREADM_GLOB_SETID_ENABLED=yes 58 COREADM_PROC_SETID_ENABLED=yes 59 COREADM_GLOB_LOG_ENABLED=yes 50 coreadm -g /var/cores/core.%f.%p -i core.%f.%p -e global -e process -e global-setid -e proc-setid -e log 60 51 }}} 61 then enforce coreadm(1) to read configuration from file62 {{{63 # coreadm -U64 # pfexec svcs | grep coreadm65 online 20:40:11 svc:/system/coreadm:default66 # pfexec svcadm restart coreadm67 # pfexec svcs | grep coreadm68 online 5:30:22 svc:/system/coreadm:default69 # ulimit -c unlimited70 }}}71 52 72 After mentioned above manipulations core files will appear in /var/cores folder 53 The cores will now be placed in /var/cores/ folder with the global dumps will go into /var/crash/<hostname> 73 54 74 55 = Forcing !VirtualBox to terminate with a core dump =