How to monitor regenerating SPU

SELECT CASE WHEN EXISTS (SELECT 1 FROM _V_SPU WHERE sp_role = 2) THEN 1 ELSE 0 END AS flag

select *
from _t_dslice
–where ds_mirdskid is null
where ds_regdskid is not null