IBM Support

Gathering and Transmitting PE Debug Data from an HMC



How to collect a pedbg from a HMC at either v7, v8 or v9?


Sometimes when you are working with IBM Remote Support you will be asked to send in PE debug (pedbg) data from the HMC attached to your servers. The process of gathering a pedbg on an HMC requires that you perform the operation as a user called hscpe that has task role hmcpe. The pedbg script will collect debug data and afterwards you can transmit the data off the HMC using the sendfile command.


1. Collecting a pedbg

a. Login as user hscpe with ssh,

If the hscpe user ID does not exist, Create it using hscroot and following command.

mkhmcusr -u hscpe -a hmcpe -d "HMC PE User"

Note:  If the hscpe account exist, but don't know its password.

Lost password command = "chhmcusr -u hscpe -t passwd"


b. run following command (type it rather than cut and paste)

pedbg -c -q 4


2. Upload the pedbg to IBM

a. Use the command sendfile (if HMC can access Internet directly)

sendfile -f /dump/ -h -d /toibm/aix/ -n -u anonymous --passwd <your own email address>

NOTE: Use your SalesForce case number as a prefix when renaming the file to send, but keep the rest of the pedbg name intact.

b. If upload to IBM testcase is not possible with the sendfile command

(1) copy (scp) the file from the HMC to a system that has internet access

scp /dump/HMClogs.*.zip <user>@<ipaddress or hostname>:/tmp/ TSxxxxxxxxx.HMClogs.*.zip


(2) Use the ECuRep website to upload the file and select AIX in "the upload is for"


c. If need to send data to IBM Blue Diamond rather than our testcase or ECuRep sites then use following.


Product Alias/Synonym

Hardware Management Console

Document information

More support for: Power HMC

Component: --

Software version: All Versions

Operating system(s): AIX, IBM i, Linux

Software edition: Advanced

Reference #: T1012079

Modified date: 27 September 2018