sp_replication_agent_checkup (Transact-SQL)
SQL Server 2008 R2
Checks each distribution database for replication agents that are running but have not logged history within the specified heartbeat interval. This stored procedure is executed at the Distributor on any database.