Checking DataPump Process

Hi All,

I am writing script for Env refresh for Oracle DB. I am using Datapump for that. If i start expdp or impdp, how can i know that export or import has completed. I have query for that. How will i integrate with script?. Or any command i can run from Linux side. Please share you suggestion.

Thanks,
Mani

you can check the exit status of your script.