desktopinfo config bug fixed

This commit is contained in:
Michael H.G. Schmidt 2023-08-14 22:37:40 +02:00
parent 59a80fc00e
commit c099928855

View File

@ -5,10 +5,15 @@ top=20
right=50 right=50
auto-scale=1 auto-scale=1
# font ###
# set FONT ...
###
font-face=Fixedsys font-face=Fixedsys
font-size=6 font-size=6
###
# set COULORS ...
###
[items] [items]
set White = #ffffff set White = #ffffff
set Orange = #ffd000 set Orange = #ffd000
@ -18,18 +23,27 @@ set Magenta = #ff00ff
set MagentaL = #ffa0ff set MagentaL = #ffa0ff
set Red = #ff0000 set Red = #ff0000
###
# show HOSTNAME and OS VERSION ...
###
COLOR=%orange% COLOR=%orange%
HOST=wide:1,text:,display:@%1,font-size:200% HOST=wide:1,text:,display:@%1,font-size:200%
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId,set:releaseid,hidden:1 REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId,set:releaseid,hidden:1
WMI=id:os,wide:1,namespace:root\cimv2,query:Win32_OperatingSystem,display:%caption% %releaseid% WMI=id:os,wide:1,namespace:root\cimv2,query:Win32_OperatingSystem,display:%caption% %releaseid%
CPUTYPE=wide:1,text:,display:%1 CPUTYPE=wide:1,text:,display:%1
###
# show CPU HISTORY ...
###
COLOR=%white% COLOR=%white%
USER=wide:1,text:,display:User = %1 USER=wide:1,text:,display:User = %1
COMMENT=wide:1,text:,display:CPU History: COMMENT=wide:1,text:,display:CPU History:
CPU=interval:1,text-color:%white%,color:%green%,chart:filled max:100 series1:1 color1:00ff00 height:2,\ CPU=interval:1,text-color:%white%,color:%green%,chart:filled max:100 series1:1 color1:00ff00 height:2,\
text:,display:%chart% text:,display:%chart%
###
# show CPU usage ...
###
COMMENT=wide:1,text:,display:CPU usage: COMMENT=wide:1,text:,display:CPU usage:
CPU=interval:1,text-color:%white%,color:%magenta%,chart:bar max:100 series1:1 color1:%MagentaL% threshold:70,\ CPU=interval:1,text-color:%white%,color:%magenta%,chart:bar max:100 series1:1 color1:%MagentaL% threshold:70,\
text:,display:%1[1.1f]% %chart% text:,display:%1[1.1f]% %chart%
@ -37,6 +51,9 @@ WMI=text:,interval:5,namespace:root\cimv2,query:Win32_Processor,display:Speed: %
COMMENT=style:w COMMENT=style:w
###
# show RAM data ...
###
COMMENT=wide:1,color:%Orange%,text:,display:RAM USED COMMENT=wide:1,color:%Orange%,text:,display:RAM USED
PHYSICALRAM=interval:10,text-color:%white%,color:%green%,set:aram=%4[3.1b],alarms:(%3 ge 80 0000FF),\ PHYSICALRAM=interval:10,text-color:%white%,color:%green%,set:aram=%4[3.1b],alarms:(%3 ge 80 0000FF),\
chart:bar max:100 series1:3 color1:%greenl%,text:,display:%1[3.1b]B (%3%) %chart% chart:bar max:100 series1:3 color1:%greenl%,text:,display:%1[3.1b]B (%3%) %chart%
@ -45,30 +62,38 @@ PAGEFILE=text:,interval:5,display:Page file: %1[3.1g]GiB %3% of %2[1.0b]B
COMMENT=style:w COMMENT=style:w
###
# show STORAGE data ...
###
TEXT=wide:1,color:%Orange%,text:,display:STORAGE USED TEXT=wide:1,color:%Orange%,text:,display:STORAGE USED
LOGICALDRIVES=text:,include:CDEF,interval:60,diskio:0,chart:bar2 scale:linear max:100 series1:7 threshold:80 color1:b55393 color2:%orange% color3:%red%, display:%1: %6[5.1g] of %5[3.0b]B %chart% LOGICALDRIVES=text:,drive-size:1,interval:60,diskio:0,chart:bar2 scale:linear max:100 series1:7 threshold:80 color1:b55393 color2:%orange% color3:%red%, display:%1: %6[5.1g] of %5[3.0b]B %chart%
COMMENT=style:w COMMENT=style:w
# show network data ... ###
# show NETWORK data ...
###
TEXT=wide:1,color:%Orange%,text:,display:NETWORK TEXT=wide:1,color:%Orange%,text:,display:NETWORK
NETWORKINTERFACES=text:,interval:60,operstatus:1,iftype:6 71,display:%2: %8/%10 NETWORKINTERFACES=text:,interval:60,operstatus:1,iftype:6 71,display:%2: %8/%10
WMI=text:,interval:60,alarms:(%11 ge 34 0088f0),namespace:root\cimv2,query:Win32_PingStatus where address='1.1.1.1',display:Latency: %ResponseTime%ms from 1.1.1.1 WMI=text:,interval:60,alarms:(%11 ge 34 0088f0),namespace:root\cimv2,query:Win32_PingStatus where address='1.1.1.1',display:Latency: %ResponseTime%ms from 1.1.1.1
COMMENT=style:w COMMENT=style:w
###
# show PROCESSES data ...
###
PROCESSCOUNT=interval:5,wide:1,display: Processes: %1 PROCESSCOUNT=interval:5,wide:1,display: Processes: %1
COMMENT=wide:1, display: (top 5 sorted by CPU usage) COMMENT=wide:1, display: (top 5 sorted by CPU usage)
COMMENT=wide:1,color:%orange%,display:NAME PID CPU% COMMENT=wide:1,color:%orange%,display:NAME PID CPU%
TOPPROCESSCPU=interval:5,wide:1,maxrows:5,filter:-desktopinfo,display:%1[0.25s]%2[0.8s]%3[3.1f]% TOPPROCESSCPU=interval:5,wide:1,maxrows:5,filter:-desktopinfo,display:%1[0.25s]%2[0.8s]%3[3.1f]%
COMMENT COMMENT
COMMENT=wide:1, display: (top 5 sorted by MEM usage) COMMENT=wide:1, display: (top 5 sorted by MEM usage)
COMMENT=wide:1,color:%orange%,display:NAME PID MEM COMMENT=wide:1,color:%orange%,display:NAME PID MEM
TOPPROCESSMEM=interval:5,wide:1,maxrows:5,display:%1[0.25s]%2[0.8s]%3[1.0b] TOPPROCESSMEM=interval:5,wide:1,maxrows:5,display:%1[0.25s]%2[0.8s]%3[1.0b]
COMMENT=style:w COMMENT=style:w
UPTIME=interval:60,wide:1,display: System Uptime: {{%1*24+%2}}h %3m
###
# show SYSTEM UPTIME ...
###
UPTIME=interval:60,wide:1,display: System Uptime: {{%1*24+%2}}h %3m