The Job Activity Monitor allows you to view the sysjobactivity table by using SQL Server Management Studio. You can view all jobs on the server, or you can define filters to limit the number of jobs displayed. You can also sort the job information by clicking on a column heading in the Agent Job Activity grid. For example, when you select the Last Run column heading, you can view the jobs in the order that they were last run. Clicking the column heading again toggles the jobs in ascending and descending order based on their last run date.
Using the Job Activity Monitor you can perform the following tasks:
-
Start and stop jobs.
-
View job properties.
-
View the history for a specific job.
-
Refresh the information in the Agent Job Activity grid manually or set an automatic refresh interval by clicking View refresh settings.
Use the Job Activity Monitor when you want to find out what jobs are scheduled to run, the last outcome of jobs that have run during the current session, and to find out which jobs are currently running or idle. If the SQL Server Agent service fails unexpectedly, you can determine which jobs were in the middle of being executed by looking at the previous session in the Job Activity Monitor.
To open the Job Activity Monitor, expand SQL Server Agent in Management Studio Object Explorer, right-click Job Activity Monitor, and click View Job Activity.
You can also view job activity for the current session by using the stored procedure sp_help_jobactivity.