This question SQL Server: Filter output of sp_who2 has a method to insert the result of sp_who2 into a table.
How can I insert the result into a table in addition to