It is currently April 27th, 2024, 10:14 am

Memory Hog

Get help with creating, editing & fixing problems with skins
User avatar
maminscris
Posts: 509
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Memory Hog

Post by maminscris »

Is there a way to use PerfMon.dll to show the process that eats the most ram, like the processor hog for ram?
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
Image
vitasimplex
Posts: 19
Joined: April 18th, 2009, 10:32 pm

Re: Memory Hog

Post by vitasimplex »

straight from the manual

ADVANCED CPU
This is pretty much the same as the using the PerfMon to measure the CPU usage excapt that you can filter out processes or only include some of them.

CPUInclude
List of process names that are included in the cpu measuring. The names are separated with semicolon (";"-char). The include list overrides the excludes.

CPUExclude
List of process names that are excluded from the cpu measuring. The names are separated with semicolon (";"-char). The include list must be empty to exclude something.

TopProcess
Value 1 returns the name of the process that took the most CPU time since the last update. Value 2 returns the CPU time for that process. Note that this returns CPU time and not the percentage. If you measure the value once per second you can scale the value with 100000 to get the percentage but you should note that if the values cannot be measured excatly once per second (like it usually cannot because the timer in Windows is not accurate) you might get values larger than 100%.



--------------------------------------------------------------------------------

Examples

Display the name and CPU usage of the top process:

[MeasureTopProcess]
Measure=Plugin
Plugin=Plugins\AdvancedCPU.dll
TopProcess=2
CPUExclude=Idle

[MeasureTopProcess2]
Measure=Plugin
Plugin=Plugins\AdvancedCPU.dll
TopProcess=1
CPUExclude=Idle

[MeterTopProcess]
Meter=STRING
X=0
Y=0
MeasureName=MeasureTopProcess
MeasureName2=MeasureTopProcess2
Text="%1 (%2%)"
NumOfDecimals=1
Scale=100000
User avatar
maminscris
Posts: 509
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Re: Memory Hog

Post by maminscris »

I know that i have it

Code: Select all

[Mse_TopProcess]
Measure=Plugin
Plugin=Plugins\AdvancedCPU.dll
TopProcess=2
CPUExclude=Idle;Rainmeter

[Mse_TopProcess2]
Measure=Plugin
Plugin=Plugins\AdvancedCPU.dll
TopProcess=1
CPUExclude=Idle
, but that measure is measuring the program that uses most of the CPU, i was asking about one that measures the program that uses most of the RAM memory
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
Image
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Memory Hog

Post by dragonmage »

No. There is not a way to do this currently. Some one will have to create a plugin to do that I believe.
ch_rob
Posts: 22
Joined: March 24th, 2011, 2:45 pm

Re: Memory Hog

Post by ch_rob »

I know this thread is old, but I'll mention it for prosperity's sake...

There is a plugin for this now. See conversation here: http://rainmeter.net/forum/viewtopic.php?f=5&t=239 and here: http://customize.org/rainmeter/skins/82306