4/2/2023 0 Comments Resource monitor disk graph![]() ![]() Change records should be available in less than five minutes. Understand change event properties When a resource is created, updated, or deleted, a new change resource (Microsoft.Resources/changes) is created to extend the modified resource and represent the changed properties. Rough example/random idea : OFFSETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSIONSET /A Counter=0SET /A loops=60IF EXIST Data.csv DEL Data.csv:loopsysexp.exe /Title "Task Manager Windows" /class SysListView32 /Visible Yes /scomma "c:\temp\1.csv"SET /A Counter =1FOR /F "tokens=1,9,10 delims=," %%A IN ('TYPE c:\temp\1.csv ^| FIND "lsass.exe"') DO (ECHO %%A, !time!, %%B, %%C>Data.csvECHO %%A, !time!, Read bytes %%B, Write Bytes %%C)REM The following is just a poor man's WAIT, the 55 is to be changed to get as result a 1 second cycleREM which will depend on the actual PC and on the amount of commands in the loop and it won't be anywyayREM very accurateFOR /L %%B in (0,1,55) DO PING -n 1 127.0.1. To enable Azure CLI to query Azure Resource Graph, add the extension. Launch VS Code Quick Open ( Ctrl P ), paste the following command, and press enter. ![]() One could get rid of the screenshot capture and of the OCR parts. Tap the Windows logo key on your keyboard or click on the Start button in the taskbar. Displays current CPU stats, memory/disk consumption, and battery percentage remaining. So one could setup Task Manager with the "right" columns added to show, then makes a series of screenshots (every 1 second or so), OCR the screenshots, calculate the differences and graph them? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |