Help to migrate from v2.3x to v3.3x
› Forums › Desktop Info › Help to migrate from v2.3x to v3.3x
- This topic has 17 replies, 2 voices, and was last updated 1 year ago by
roadarsi.
-
AuthorPosts
-
-
6 December, 2021 at 8:25 am #4852
Hi. Can someone help me to convert my desktopinfo.ini from version 2.31 to 3.30.
I want mantain the same layout (cpu usage mainly)Thanks in advance.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566[options]# size and positiontop=90right=1width=475allowdrag=0column1width=120# colorformcolor=330033transparency=10# fontfont-face=Consolasfont-size=9font-charset=0font-rtl=0cleartype=1# logginglog=desktopinfo.loglog-level=error# navigationnav=0#monitorar processos com mais de 4GBdesktopinfo64=1[text]noresults=<n/a>error=[error][pages]1=Main Page[items]# page 1 - cpuCPUTYPE=active:1,lid:cputype,color:0099EECORETEMP=active:1,interval:20,color:00dddd,threshold1:1 70,display:%1%2CPUUSAGE=interval:3,row-text:Cpu %1,chart:bar linear 100 2 70,bar-colors:007700 0077ff 0000ff,display:%2[2.0f]%,color:FFFFFFCOLOR=aaCCEE# page 1 - top processesTOPPROCESSCPU=active:1,interval:5,display:%1 (pid:%2) %3%TOPPROCESSMEM=active:1,interval:5,display:%1 (pid:%2) %3[1.1b]BPAGEFAULTS=interval:5,font-size:100%,threshold1:5 -80,display:Total: %1\, Hard: %2\, Hit: %5%# page 1 - memoryPHYSICALRAM=active:1,interval:5,color:FFFFFF,threshold1:3 80 0000FF,display:%1[4.2b]B / %2[4.2b]B (%3% used)PAGEFILE=active:1,interval:5,color:aaaaaa,threshold1:3 80 0000FF,tcolor:0000FF,display:%1[4.2b]B / %2[4.2b]B (%3% used)color=77ee00# page 1 - networkNETWORKINTERFACES=interval:30,operstatus:1,iftype:6 71,row-text:Interface ,display:%3| %8 (%4)| Gateway: %17NETCONNECTIONS=interval:15WMI=interval:60,threshold1:11 30,text:Network Latency, namespace:root\cimv2,query:Win32_PingStatus where address='one.one.one.one',display:%ResponseTime%ms (one.one.one.one)WMI=interval:2,color:00ffbb,text:Realtek PCIe GBE,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name = "Realtek PCIe GBE Family Controller",display:Entrada: %BytesReceivedPersec%[6.2b]B Saida: %BytesSentPersec%[6.2b]B %CurrentBandwidth%[3.0B]bpscolor=ffccaa# page 1 - disksLOGICALDRIVES=interval:5,row-text:%1: (%2), display:%6[3.0b]B / %5[3.0b]B (%8[5.1b]B livres) (%7[1.1f]% used),threshold1:7 90 0000ffAttachments:
-
6 December, 2021 at 11:54 am #4858
the charts on cpuusage and the format on topprocesscpu are the changes in question:
INI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364[options]# size and positiontop=90right=1width=475allowdrag=0column1width=120# colorformcolor=330033transparency=10# fontfont-face=Consolasfont-size=9font-charset=0font-rtl=0cleartype=1# logginglog=desktopinfo.loglog-level=error# navigationnav=0#monitorar processos com mais de 4GBdesktopinfo64=1[text]noresults=<n/a>error=[error][pages]1=Main Page[items]# page 1 - cpuCPUTYPE=active:1,lid:cputype,color:0099EECORETEMP=active:1,interval:20,color:00dddd,threshold1:1 70,display:%1%2CPUUSAGE=interval:3,row-text:Cpu %1,chart:bar scale:linear max:100 series1:2 threshold:70 color1:007700 color2:0077ff color3:0000ff,display:%2[2.0f]%,color:FFFFFF,display:%2[2.0f]% %chart%COLOR=aaCCEE# page 1 - top processesTOPPROCESSCPU=active:1,interval:5,display:%1 (pid:%2) %3[2.1f]%TOPPROCESSMEM=active:1,interval:5,display:%1 (pid:%2) %3[1.1b]BPAGEFAULTS=interval:5,font-size:100%,threshold1:5 -80,display:Total: %1\, Hard: %2\, Hit: %5%# page 1 - memoryPHYSICALRAM=active:1,interval:5,color:FFFFFF,threshold1:3 80 0000FF,display:%1[4.2b]B / %2[4.2b]B (%3% used)PAGEFILE=active:1,interval:5,color:aaaaaa,threshold1:3 80 0000FF,tcolor:0000FF,display:%1[4.2b]B / %2[4.2b]B (%3% used)color=77ee00# page 1 - networkNETWORKINTERFACES=interval:30,operstatus:1,iftype:6 71,row-text:Interface ,display:%3| %8 (%4)| Gateway: %17NETCONNECTIONS=interval:15WMI=interval:60,threshold1:11 30,text:Network Latency, namespace:root\cimv2,query:Win32_PingStatus where address='one.one.one.one',display:%ResponseTime%ms (one.one.one.one)WMI=interval:2,color:00ffbb,text:Realtek PCIe GBE,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name = "Realtek PCIe GBE Family Controller",display:Entrada: %BytesReceivedPersec%[6.2b]B Saida: %BytesSentPersec%[6.2b]B %CurrentBandwidth%[3.0B]bpscolor=ffccaa# page 1 - disksLOGICALDRIVES=interval:5,row-text:%1: (%2), display:%6[3.0b]B / %5[3.0b]B (%8[5.1b]B livres) (%7[1.1f]% used),threshold1:7 90 0000ff -
6 December, 2021 at 1:37 pm #4859
-
6 December, 2021 at 1:48 pm #4861
check the log file for errors on that item
-
7 December, 2021 at 1:03 am #4863
No errors in log file (no log file)
When log-level=info
1234567806/12/2021 10:58:59:640 INFO Desktop Info version 3.3.0.414406/12/2021 10:58:59:640 INFO Windows version 10.0.2200006/12/2021 10:58:59:640 INFO Path: <path of desktop info edited>06/12/2021 10:58:59:642 INFO (SetConfig) Items Loaded: 13 -
7 December, 2021 at 8:01 am #4864
It would seem the counters are not available.
Why do the CPUCOUNT and CPUUSAGE items not work?
Both of these items obtain information from the Windows “Processor” performance counter. If that performance counter is not present on your system, these items will not work. I am yet to determine why these counters are missing. I’ve read of some C++ runtime library installations trashing the counters. It’s feasible you may have some lean and mean Windows installation that has many counters disabled for performance reasons.
You can test if these counters are installed by running the Windows Performance Monitor tool:
1. Run perfmon.exe
2. Select the Performance Monitor node on the tree.
3. In the chart window on the right, right click and select Add Counters.
4. In the list on the left, find and select the Processor category.
5. If this category is missing, the Processor performance counters are not installed.
6. If the category is present you will see entries in the list view below for “Total”, “” and several numbers representing the cpu cores on the system. If any of these entries are missing, the performance counters are most likely corrupt. I’ll leave it as an exercise for you to figure out how to install or rebuild these performance counters.
-
7 December, 2021 at 8:11 am #4865
I had checked this before.
The performance counters are installed and working correctly. 😢
Attachments:
-
7 December, 2021 at 8:34 am #4867
PS.: CPUCOUNT is working, only CPUUSAGE not work
-
7 December, 2021 at 11:38 am #4868
CPUCOUNT has two return values giving core count taken from different areas. if you add “display:%1 %2” you’ll see both.
-
7 December, 2021 at 10:37 pm #4869
Hello, I believe I have found a bug.
When I change the system display language to English the CPUUSAGE is shown correctly.
When the language is other than english, like mine which is brazilian portuguese it does not work.
I am sending an image of the test that I performed in a virtual machineAttachments:
-
8 December, 2021 at 8:06 am #4871
Of course, it didn’t click when I looked at your perfmon screen shot. DTI is looking for the “\Processor(*)\% Processor Time” performance counter and obviously doesn’t find it. Your performance counter is “Processador”.
Can you give me the complete name of the above performance counter in your language. eg “\Processador(*)\% … ??? ”
-
8 December, 2021 at 9:28 am #4876
Hi, I am sending two txt files, one contain all performance counters that always exists in english from the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009
The another file is from my current language from \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\CurrentLanguage
And those links maybe help to tetrieve performance counter value in a language-independent way
https: //stackoverflow .com/questions/5581859/retrieve-performance-counter-value-in-a-language-independent-way
and
https: //docs.microsoft .com/pt-br/windows/win32/api/pdh/nf-pdh-pdhlookupperfnamebyindexa?redirectedfrom=MSDN
(message with links are not allowed? I put spaces in links)
Attachments:
-
8 December, 2021 at 9:54 am #4880
Thanks for that.
The stackoverflow article seems to explain things enough. I would have to look up the “Processor” part of the path and then the “% Processor Time” part and join them together.
In my registry:
6
% Processor Time238
ProcessorIn your registry:
6
% tempo de processador238
Processadorso the query looks like:
\Processador(*)\% tempo de processador-
This reply was modified 1 year ago by
Glenn.
-
This reply was modified 1 year ago by
-
9 December, 2021 at 9:26 am #4882
There was another comment that mentioned that performance counters don’t necessarily line up across installations. So the correct method to look up counter names is:
1. Look up the English version of the desired counter names in the 009 key (which is present in every Windows installation regardless of language).
2. Get the index numbers of the found English counters.
3. Look up those index numbers in the CurrentLanguage key.
4. Get the matching local language counter name strings.I’ll put up v3.3.1 shortly.
-
This reply was modified 1 year ago by
Glenn.
-
This reply was modified 1 year ago by
-
-
AuthorPosts
- You must be logged in to reply to this topic.