diag_general_eed
Purpose
Collects the general Extended Error Data into a file.
Syntax
char *diag_general_eed (char *dir)
Description
The diag_general_eed subroutine collects Extended Error Data into a file in the directory given as input. The Extended Error Data file is the output of the snap -H command, with the addition of the output from the diagrpt -a and the lsdev -C commands.
Additional data can be collected and gathered in the EED by registering a collection application using a PDiagAtt ODM object class attribute extend_gen_eed. For more information, refer to PDiagAtt.
Parameters
Parameter | Description |
---|---|
dir | Absolute path of the directory to create the EED file, maximum 200 characters. |
Return Value
The diag_general_eed subroutine returns one of the following values:
Return Value | Description |
---|---|
NULL | If error creating the EED file, otherwise, pointer to the absolute EED file name that will be in the form of dir/snapH.pax.Z, where dir is the directory passed as input. |