I have a deprecated stored procedure which should no longer be called from code, but there is some system which is still calling it. This is a production server so I have very
select hostname from master..sysprocesses where spid=@@SPID
or
select host_name from sys.dm_exec_sessions where session_id=@@SPID