From: Dan Guzman on
> I tried querying the sys.sysprocesses view, but quickly realized that this
> view only tracks host names for processes that have been initiated by a
> domain account (and please feel free to correct me if my assumption is
> wrong). I would definitely like to find a better way of listing all
> machines
> that currently have SQL Server active connections.

sys.sysprocesses will include both trusted and standard SQL connections.
However, consider using sys.dm_exec_sessions since sysprocesses is
deprecated.

--
Hope this helps.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/