Kaseya Community

Monitoring Memory Usage of Outlook

This question is not answered
Has anyone set up a monitoring set for tracking and alarming on the memory usage for an individual application/process like outlook? We are running citrix terminal servers on Windows Server 2008 R2 and occasionally an outlook session starts chewing up memory on the server. I want to be able to set up a monitor/alarm that will trigger when outlook starts using more than half a gig of memory. Thanks Kellie
All Replies
  • This came up in another thread and I figured out a solution with the command-line:

    tasklist /v /fi "imagename eq outlook.exe" /fi "memusage gt 524288" /fo "list" | find "User Name:" > temp.txt & for /f "tokens=1,2,3" %a IN (temp.txt) DO ECHO %c

    That will return a username if an instance of OUTLOOK.EXE is using greater than 512MB of RAM. Otherwise, it will return "INFO: No tasks running with the specified criteria."

    [edited by: SMason at 11:13 AM (GMT -8) on 11-7-2011] Punctuation.