From 9068fad4d2a6e0118c99d1eb754af3095cbf86b2 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Thu, 23 Feb 2023 09:05:23 +0100 Subject: [PATCH] misc optimizing --- scripts/config/desktopinfo.ini | 20 ++++++++++---------- scripts/unpack-zipfiles.cmd | 1 + 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/scripts/config/desktopinfo.ini b/scripts/config/desktopinfo.ini index 45c4210..90ed58c 100644 --- a/scripts/config/desktopinfo.ini +++ b/scripts/config/desktopinfo.ini @@ -48,29 +48,29 @@ PAGEFILE=text:,interval:5,display:Page file: %1[3.1g]GiB %3% of %2[1.0b]B COMMENT=style:w TEXT=color:%Orange%,text:,display:STORAGE USED -LOGICALDRIVES=text:,drive-size=4194304,interval:15,diskio:1,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=4194304,interval:60,diskio:1,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 # show network data ... TEXT=color:%Orange%,text:,display:NETWORK -NETWORKINTERFACES=text:,interval:30,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 COMMENT=style:w -PROCESSCOUNT=interval:2,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,color:%orange%,display:NAME PID CPU% -TOPPROCESSCPU=interval:1,wide:1,maxrows:5,filter:-desktopinfo,display:%1[0.25s]%2[0.10s]%3[3.1f]% +COMMENT=wide:1, display: (top 5 sorted by CPU usage) +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]% COMMENT -COMMENT=wide:1, display: (top 5 sorted by MEM usage) -COMMENT=wide:1,color:%orange%,display:NAME PID MEM -TOPPROCESSMEM=interval:2,wide:1,maxrows:5,display:%1[0.25s]%2[0.10s]%3[1.1b]B +COMMENT=wide:1, display: (top 5 sorted by MEM usage) +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] COMMENT=style:w -UPTIME=wide:1,display: System Uptime: {{%1*24+%2}}h %3m +UPTIME=interval:60,wide:1,display: System Uptime: {{%1*24+%2}}h %3m diff --git a/scripts/unpack-zipfiles.cmd b/scripts/unpack-zipfiles.cmd index 6df80fa..650936f 100644 --- a/scripts/unpack-zipfiles.cmd +++ b/scripts/unpack-zipfiles.cmd @@ -72,6 +72,7 @@ echo Desktopinfo mkdir %TOOLS%\desktopinfo 2>nul move /Y %T%\desktopinfo\Desktopinfo64.exe %TOOLS%\desktopinfo move /Y %T%\desktopinfo\*.dll %TOOLS%\desktopinfo +move /Y %T%\desktopinfo\*.pdf %TOOLS%\desktopinfo rd /S /Q %T%\desktopinfo copy /Y config\desktopinfo.ini %TOOLS%\desktopinfo echo.