Monitoring memory usage of programs and services

User avatar
John Gray
PlatinumLounger
Posts: 5405
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Monitoring memory usage of programs and services

Post by John Gray »

Could anyone suggest something that would, every ten minutes or so, produce a snapshot of the memory usage of the largest memory-using programs and services, rather like someone looking at the Processes tab of Task Manager sorted in descending order of Memory Usage?

I've looked at PSLIST -M, but that produces far too much output in a difficult-to-sort format (now that Exchange Server 2007 has very long Image Names).

I'm really looking for memory leaks, or sudden large usages of memory by as-yet-unidentified programs. It's in Windows Server 2008, 64-bit, but it's a general problem so I've put it in this forum...

Thanks!
John Gray

"(or one of the team)" - how your appointment letter indicates you won't be seeing the Consultant...

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15585
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Monitoring memory usage of programs and services

Post by ChrisGreaves »

John Gray wrote:... produce a snapshot of the memory usage ...
This sounds like something way beyond the capabilities of MacroPod's {Field} expertise which would seem to drop it directly into the lap of an Excel or Word VBA Application that wakes up every minute and logs memory usage (or highest-usage or whatever you want).
At a guess this would require one or more of those those dreaded API calls.
There's nothing heavier than an empty water bottle