We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.
Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.
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.
[options]
# size and position
top=90
right=1
width=475
allowdrag=0
column1width=120
# color
formcolor=330033
transparency=10
# font
font-face=Consolas
font-size=9
font-charset=0
font-rtl=0
cleartype=1
# logging
log=desktopinfo.log
log-level=error
# navigation
nav=0
#monitorar processos com mais de 4GB
desktopinfo64=1
[text]
noresults=<n/a>
error=[error]
[pages]
1=Main Page
[items]
# page 1 - cpu
CPUTYPE=active:1,lid:cputype,color:0099EE
CORETEMP=active:1,interval:20,color:00dddd,threshold1:1 70,display:%1%2
CPUUSAGE=interval:3,row-text:Cpu %1,chart:bar linear 100 2 70,bar-colors:007700 0077ff 0000ff,display:%2[2.0f]%,color:FFFFFF
COLOR=aaCCEE
# page 1 - top processes
TOPPROCESSCPU=active:1,interval:5,display:%1 (pid:%2) %3%
TOPPROCESSMEM=active:1,interval:5,display:%1 (pid:%2) %3[1.1b]B
PAGEFAULTS=interval:5,font-size:100%,threshold1:5 -80,display:Total: %1, Hard: %2, Hit: %5%
# page 1 - memory
PHYSICALRAM=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 - network
NETWORKINTERFACES=interval:30,operstatus:1,iftype:6 71,row-text:Interface ,display:%3| %8 (%4)| Gateway: %17
NETCONNECTIONS=interval:15
WMI=interval:60,threshold1:11 30,text:Network Latency, namespace:rootcimv2,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:rootcimv2,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]bps
color=ffccaa
# page 1 - disks
LOGICALDRIVES=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
the charts on cpuusage and the format on topprocesscpu are the changes in question:
[options] # size and position top=90 right=1 width=475 allowdrag=0 column1width=120 # color formcolor=330033 transparency=10 # font font-face=Consolas font-size=9 font-charset=0 font-rtl=0 cleartype=1 # logging log=desktopinfo.log log-level=error # navigation nav=0 #monitorar processos com mais de 4GB desktopinfo64=1 [text] noresults=<n/a> error=[error] [pages] 1=Main Page [items] # page 1 - cpu CPUTYPE=active:1,lid:cputype,color:0099EE CORETEMP=active:1,interval:20,color:00dddd,threshold1:1 70,display:%1%2 CPUUSAGE=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 processes TOPPROCESSCPU=active:1,interval:5,display:%1 (pid:%2) %3[2.1f]% TOPPROCESSMEM=active:1,interval:5,display:%1 (pid:%2) %3[1.1b]B PAGEFAULTS=interval:5,font-size:100%,threshold1:5 -80,display:Total: %1, Hard: %2, Hit: %5% # page 1 - memory PHYSICALRAM=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 - network NETWORKINTERFACES=interval:30,operstatus:1,iftype:6 71,row-text:Interface ,display:%3| %8 (%4)| Gateway: %17 NETCONNECTIONS=interval:15 WMI=interval:60,threshold1:11 30,text:Network Latency, namespace:rootcimv2,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:rootcimv2,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]bps color=ffccaa # page 1 - disks LOGICALDRIVES=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
Hi. Thakns, but cpuusage not show in v 3.3.0.
check the log file for errors on that item
No errors in log file (no log file)
When log-level=info
06/12/2021 10:58:59:640 INFO Desktop Info version 3.3.0.4144
06/12/2021 10:58:59:640 INFO Windows version 10.0.22000
06/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
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.
I had checked this before.
The performance counters are installed and working correctly. 😢
PS.: CPUCOUNT is working, only CPUUSAGE not work
CPUCOUNT has two return values giving core count taken from different areas. if you add "display:%1 %2" you'll see both.
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 machine
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(*)% ... ??? "
Hi, I am sending two txt files, one contain all performance counters that always exists in english from the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib09
The another file is from my current language from HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflibCurrentLanguage
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)
perflib_009.txt send again, first try got this message: The uploaded file could not be moved to wp-content/uploads/2021/12
file renamed, same error as before.
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 Time
238
Processor
In your registry:
6
% tempo de processador
238
Processador
so the query looks like:
Processador(*)% tempo de processador
