- May
- 13,402
- 190
This should happen.
As of the build 16 update I get this.
It's a fairly complicated library routine which puts the output of a VB script into an array and processes the array like this.
Code:
v:\> sv
Start Time Pid CPU(s) WS(M) Name
--------------------------------------------------------------------------------
12/04 02:46:04.970 9080 1.359 15.5 SecurityHealthService
12/04 02:46:07.550 9148 0.016 23.0 Appinfo
12/04 02:47:43.009 10220 5.578 134.6 IAStorDataMgrSvc
12/04 02:47:43.443 8184 6.844 8.4 SgrmBroker
12/04 02:47:43.599 9092 2.797 34.4 StorSvc
12/04 02:47:43.740 2596 0.047 5.1 w32tmsvc
12/04 02:47:43.751 2348 0.109 9.0 wscsvc
12/05 15:24:24.503 912 1.188 66.1 WpnUserService_23e9dea
12/05 15:24:24.961 1660 0.781 54.4 cbdhsvc_23e9dea
12/06 02:56:09.324 4152 366.750 270.0 WinDefend
12/06 02:56:14.665 3360 6.078 13.8 WdNisSvc
12/07 11:25:55.746 2852 0.031 13.5 CaptureService_23e9dea
12/07 12:45:06.739 9556 0.016 11.9 AppXSvc
12/07 12:45:22.955 9004 0.016 13.7 LicenseManager
12/07 12:45:23.013 6368 0.047 8.7 ClipSVC
--------------------------------------------------------------------------------
15 services shown (of 71 services in 62 (of 94) processes) at 12:46:23 2023-12-07
As of the build 16 update I get this.
Code:
v:\> sv
Start Time Pid CPU(s) WS(M) Name
--------------------------------------------------------------------------------
??????????†??‰†††???†††??†?????†??????††??†††???‹††??‹???????†??????††??†††???‹††??‹??????????????†??‰†††???†††??†???????????????†??'†††???†††??†?????????????????????†??'†††???†††??†????????????????†??'†††???†††??†???????????????†??'†††???†††??†??????†??????††??†††???‹††??‹?????????????†??????††??†††????††?????????????†??????††??†††????††?????????????????†???†††???†††??†?????†??????††??††††??"††??"???????????????†???†††???†††??†???????????????'†??"†††???†††??†??????????†??????††??††††??"††??‰????????†??????††??††††??‰††???????????†??????††??††††??‰††???????????????????"†??‰†††???†††??†???????†??????††??††††???††??????????????????†??????††??††††??‹††???????????????"†???†††???†††??†????????????‰†???†††???†††??†?????????†??????††??†††????††??‰??????†??????††??††††???††??????????†??????††??†††???'††??‰??????????????"†???†††???†††??†????????????"†??'†††???†††??†??????????????‹†??'†††???†††??†????????????†??????††??††††???††??`???????†??????††??†††???"††??‰???????????????†??'†††???†††??†?????????????????????†??‰†††
???†††??†????????†??????††??††††???††????????????????†???†††???†††??†???????†??????††??††††???††??"????????????‹†??‰†††???†††??†?????????????‰†???†††???†††??†??????????????‰†??"†††???†††??†?????????????‰†???†††???†††??†??????????????"†??'†††???†††??†???????????†??????††??††††???††??‹????????????†??????††??††††???††??"??????????†??????††??††††???††??????????????????†??"†††???†††??†??????????????†??'†††???†††??†???????????????†??'†††???†††??†???????†??????††??†††????††??‰???????†??????††??††††??"††??'?????????????????‰†???†††???†††??†?????????????????†??'†††???†††??†????????†??????††??††††??‹†††?"????????????†??????††??††††??'††????????????????????†??'†††???†††??†????????????????????†??"†††???†††??†?????????????"†??‰†††???†††??†?????????????????‰†??‰†††???†††??†??????????????†??????††??††††??"††??‰??????????????‹†??‰†††???††???†??????????????????"†???†††???†††??†???????????????‹†??'†††???†††??†???????†??????††??††††???†††??????????†??????††??††††??‹†††?‰???????†??????††??††††???††??????????????????†??????††??††
††???††??????????????"???????†??'††????††???†????????†??????††??††††???††???????????†??????††??††††???††??`????????????
--------------------------------------------------------------------------------
1 services shown (of 68 services in 59 (of 90) processes) at 12:44:46 2023-12-07
It's a fairly complicated library routine which puts the output of a VB script into an array and processes the array like this.
Code:
:: process each service
:: HTCMD is internal HEAD or TAIL
:: filter is a pipe to grep for specified info
do i=0 to %lastindex by 7 | d:\gnu\sort.exe %sortargs %filter | %htcmd /n %nshow | tee %tmpfile
set name=%s[%i] & set /a i+=1
set pid=%s[%i] & set /a i+=1
set display=%s[%i] & set /a i+=1
set wmistart=%s[%i] & set /a i+=1
set ktime=%s[%i] & set /a i+=1
set utime=%s[%i] & set /a i+=1
set wset=%s[%i]
set cpu=%@eval[(%ktime + %utime) / 10000000 =3]
set workset=%@eval[%wset / 1024**2 =1]
echo %@tformat[%wmistart]%@format[8,%pid] %@format[10,%cpu] %@format[8,%workset] %@format[-%longest,%name]%@if[%verbose == 1, %display,]
enddo