• You can try creating temporary table in your procedure

    where all the information for sp_who will be stored so that we can

    get the information from the table as you like

    statement are

    insert #temptable

    exec sp_who