How to check the Dell PERC RAID rebuild status with MegaCli command line

Example:

The IPStorTeamStorage server no web service for RAID HBA management. For query the RAID volume status, we can using the MegaCli command line.

1. Filter the disk status as rebuild in all of physical disks 
    /opt/MegaRAID/Megacli/MegaCli64 -PDList -aAll |egrep 'Adapter|Enclosure|Slot|Firmware"
2. Base on step 1 to query disk rebuild status
   /opt/MegaRAID/Megacli/MegaCli64 -PDRbld -ShowProg -PhysDrv[17:2,17:14] -a1
   Rebuild Progress on Device at Enclosure 17, Slot 2 Completed 15% in 80 Minutes.
   Rebuild Progress on Device at Enclosure 17, Slot 14 Completed 15% in 40 Minutes.