USING Q4 TO ANALYZE SYSTEM DUMP FILES(For 10.10 and greater)When a 10.X HP-UX system crashes, it saves a copy of the RAM in /var/adm/crash. Since these files are binary code, a utility call q4 was created to analyze them and create readable text from which the response center can determine the failure cause. Do you have q4 loaded? Type this: $ type q4 You should see: q4 is /usr/contrib/bin/q4. If not, try: $ swlist -l file | grep contrib The q4 utility should be located in /usr/contrib/bin. If it isn't loaded: Load the INSTALL media
Use swinstall to select and load it if not loaded. # swinstall -vs /<CD-ROM mount point> OS-Core.Q4 Identifying the dumpAfter a crash, dumps are typically saved in /var/adm/crash. You would see:/var/adm/crash/core.0/INDEX.gz (the suffix numbers may differ) The INDEX file contains a summary of the crash. *********************** Prepare q4 *****************************(If this was done once previously, skip steps 2 through 4)
****** After the "prep" steps, run q4 as follows *****************If not already there...$ cd /var/adm/crash/core.0 (or the core directory you wish to q4)
| |