I'm using the example from the rainmeter manual to display the top process, and it works without any problems. However, I'd like to display the second top process below it and third below that, etc. I don't know the command to display the second process though. Any help? Here's the guesswork I have compiled so far (it's ugly).
edit: I just realized that rainmeter is only listing the usage percentage from one of the two cpus. So the percentage displayed is double what it should be.
Ok i figured out i could just scale to 200000 instead of 100000 and get the correct percentage of the top process. Still can't get a list going though.
I wanted the same thing. I've created a plug-in that allows for an arbitrary number of your top processes by memory or CPU consumption. See http://customize.org/rainmeter/skins/82306
ch_rob wrote:I wanted the same thing. I've created a plug-in that allows for an arbitrary number of your top processes by memory or CPU consumption. See http://customize.org/rainmeter/skins/82306
That works for me... kinda. Using the skin as is, I can get top CPU% processes, but not top memory. I've tried manipulating the ini file, but the best I can do is see either the top cpu or top memory, never both in the same ini.
That works for me... kinda. Using the skin as is, I can get top CPU% processes, but not top memory. I've tried manipulating the ini file, but the best I can do is see either the top cpu or top memory, never both in the same ini.
The zip contains an ini that does both. You have to create two measures (one for CPU, one for Mem) and then reference them both. Pertinent sections below.
Works ok on 64bit Win7. Like to have the ability to "mask" excluded processes, so the ones you are internally numbering can be excluded. Something like svchost* would be nice. Other than that, it seems to work pretty well. One could always pull the result into Lua and do additional formatting if desired.
[Rainmeter]
Update=1000
DynamicWindowSize=1
[Style]
FontFace=Trebuchet MS
FontColor=255,255,255,255
FontSize=12
StringStyle=Bold
SolidColor=0,0,0,1
[CPUTitleText]
Meter=STRING
MeterStyle=Style
X=0
Y=0R
Text="Top Processes By CPU%"
[MeasureTopCPU]
Measure=Plugin
Plugin=Plugins\TopProcesses.dll
; Indicates if this init entry should re-look at the process list
; 1 = Yes, 0 = No
; If you do more than one config entry, only one needs to do the ReQuery
ReQuery=1
; Pipe-delimited processess to exclude from the list
IgnoredProcesses=Idle|_Total|rundll32|wscript|userinit
; Metric for which to determine top processes (CPU or Memory)
MetricType=CPU
; The top processes to find can be a single number (e.g. 0 = top one process) or a range (0-4 = top five processes)
ProcNums=0-4
; Format in which to return the results... any string including the following keys: %pName %pID %CPU %Memory
Format="%CPU%: %pName"
[TopCPUText]
Meter=String
MeterStyle=Style
MeasureName=MeasureTopCPU
X=10
Y=5R
[MemoryTitleText]
Meter=STRING
MeterStyle=Style
X=0
Y=10R
Text="Top Processes By Memory"
[MeasureTopMem]
Measure=Plugin
Plugin=Plugins\TopProcesses.dll
ReQuery=0
IgnoredProcesses=Idle|_Total|rundll32|wscript|userinit
MetricType=Memory
ProcNums=0-4
Format="%Memory: %pName"
[TopMemText]
Meter=String
MeterStyle=Style
MeasureName=MeasureTopMem
X=10
Y=5R
3-27-2011 10-20-27 PM.jpg
You do not have the required permissions to view the files attached to this post.
Thanks ch_rob and JSMorley for the reply! I had previously built separate ini files that work fine, but appreciate knowing this actually works with both. Now if there were a way to list the top processes showing both CPU and RAM usage for the same process simultaneously...