You can run the following command from BASEDIR/smarts/bin:
dmctl -s <AM_domain> geti AD_PendingData
This command will output to the screen the list of devices on the Discovery Pending list.
Running the following command will create a file called pending.txt in BASEDIR/smarts/bin which will contain a list of all devices on the pending list.
dmctl -s <AM_domain> geti AD_PendingData > pending.txt
To get a more detailed list of devices on the Pending List, you could run the following command:
dmctl -s <AM_domain> invoke AD_Pending::AD-Pending getPending