I\'d like to know what stored procedures are currently running to diagnose some performance problems. How can I find that out?
DBCC INPUTBUFFER will show you the first 255 characters of input on a spid (you can use sp_who2 to determine the spids you're interested in). To see the whole command, you can use ::fn_get_sql().