candc(8)
Name
candc − collect diagnostic data for a running or crashed system
Syntax
/etc/candc [system_kernel] [core_image]
Options
system_kernel
The name of the system kernel. The default is /vmunix.
core_image
The name of the core image. The default is /dev/mem.
Description
The candc utility is a shell script that examines the core_image of the operating system to extract diagnostic data. It uses several tools and commands to extract selected parameters of a running or crashed system. The output from the candc utility is written to a crash-data.n file in the crash directory. The crash number is the file extension.
Operations with the candc utility are automatic. The system runs the utility during system startup. The candc utility then determines if there was a crash and whether the most recent core dump has been saved by the savecore command. If so, the utility extracts the data it needs. The default crash directory is /var/adm/crash.
The candc utility runs automatically only when the file crash-data.n exists in the crash directory, and is the most recent system crash (as determined by the crash number).
Restrictions
You must be superuser to run the candc utility.
Files
/dev/mem Default core image
/vmunix Default system kernel
/var/adm/crash/crash-data.n
Output from the utility