select hostname,program_name 
 from master..sysprocesses
 where spid=??