Its very simple. Open management studio create a new query on the instance where is the database that you are shrinking and paste this query:
Select percent_complete, status, command , estimated_completion_time from sys.dm_exec_requests
And find dbccfilescompact