Dreossk wrote:What do I need to change to adapt it to my OS language? All the Order= and Counter= and add Categories? Because that doesn't work, all the values are still 0 and the log spams "The elements already has been added. Dictionary key: 'virtual size (bytes)' Key added: ''virtual size (bytes)'" every second. Are the names taken from "Add counter" then under the Process entry? I don't see anything referring to the name of the process there. I did the command above in your post and I have a working top 5 processs in another skin.
I had the same problem you're describing (actually a fellow skin designer who tested my skin suite had it - since I use an English OS - but I was able to reproduce it) with the localized OS (aka the OS in a different language). If you add
Category and
Order and set them to your local language variants (as seen in Perfmon.msc) then you
might be able to make
some measures work, but
not all of them (unless you're really lucky, lol) - check my last post on the previous page for details. For now, there is unfortunately no working solution for this, other than using an English version of Windows, since ailia, the developer, seems to have taken a break from this (or maybe busy with other stuff, I don't know).
One thing that should be noted though is that the plugin
will work as expected if you install an English version of Windows
and only install a language pack afterwards (at least according to my tests on the issue), since the Perfmon names will usually remain unchanged (or they can be addressed using English names). The only situation when you'll have trouble to get the plugin working as expected is if you install a "pure" non-English OS (aka built-in non-English) - otherwise if you install a language pack on the top of an original English OS, you should be fine, so you could have both the plugin working and the OS in your local language.
And yes, the category/counter names are taken from "Add counter" then under the Process entry, although, technically, they are in fact taken from a registry key holding the current/local names for the counters (
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\CurrentLanguage), and there are also some files involved as well, in your System32 folder (the .dat files starting with 'perf'). I wouldn't advise on modifying that registry key or the files though.
Dreossk wrote:Also, what do I need to do to see all the processes instead of top 5?
There's no straightfoward way to do this. The only way I know of is creating enough measures/meters for, let's say, a maximum of 200 processes (Instance=1...200) and then hide the "blank" ones in your skin at every update. It's not pretty, but I think it'll work.