I blogged some time back about detecting running traces on Sql2000.
You can detect a running trace on a server by using the line:
select * from :: fn_trace_getinfo(default)
It turns out that Sql2k5 is always reporting a running trace. At this point, I’m not certain why that is. When I learn more, I’ll post.
I believe this would be the new default trace functionality in SQL Server 2005 – http://msdn2.microsoft.com/en-us/library/ms175513.aspx.
See “default trace enabled Option” in Books online. Also see http://www.informit.com/articles/printerfriendly.asp?p=457500 (under Dynamic Management Views heading).
I came across this about a month ago, it might help you out.. (Thankfully I archived it)
http://sqljunkies.com/WebLog/mz1313/archive/2006/05/09/20962.aspx