Hi

How to know how much memory sqlserver agent service is using....(not by using task manager or by writing any api).I want to know is there any system table or any stored procedure to get info about sqlagents memory counter....

For sqlserver service i can able to get performance info by using the system table sysperfinfo of master database.

I have seen one procedure sp_sqlagent_get_perf_counters in msdb database , but it is not displaying any values...