Better way to collect sp_whoisactive data?

hi

output of stored procedure into temp table !! please see link below ..