WINDOWS 如何類似 LINUX TOP取得運作多久的時間(何時開機/開機時間) ~ 取得 process 執行時間

WINDOWS 如何類似 LINUX TOP取得運作多久的時間(何時開機/開機時間) ~ 取得 process 執行時間

WINDOWS 如何類似 LINUX TOP取得運作多久的時間(何時開機/開機時間) ~ 取得 process 執行時間


資料來源: https://serverfault.com/questions/268923/determine-process-uptime


BAT/CMD code

tasklist

wmic process where ProcessID="17700" get CreationDate
wmic process where Name="explorer.exe" get CreationDate




PS.

01.tasklist : 取得所有正在執行程式資訊 [BAT下的系統管理員]

02.explorer : WINDOWS 桌面程式



執行實際備份

C:\Users\devel>wmic process where Name="explorer.exe" get CreationDate
CreationDate
20220713084601.301057+480


C:\Users\devel>WMIC PROCESS GET NAME, CREATIONDATE
CreationDate               Name
20220708180034.544929+480  System Idle Process
20220708180034.544929+480  System
20220708180031.569398+480  Registry
20220708180034.549680+480  smss.exe
20220708180041.688105+480  csrss.exe
20220708180043.393689+480  wininit.exe
20220708180043.422730+480  services.exe
20220708180043.434051+480  lsass.exe
20220708180043.502835+480  svchost.exe
20220708180043.517439+480  fontdrvhost.exe
20220708180043.518412+480  WUDFHost.exe
20220708180043.557127+480  svchost.exe
20220708180043.576657+480  svchost.exe
20220708180044.130882+480  svchost.exe
20220708180044.136244+480  svchost.exe
20220708180044.136385+480  svchost.exe
20220708180044.141832+480  svchost.exe
20220708180044.141862+480  svchost.exe
20220708180044.161036+480  svchost.exe
20220708180044.168594+480  svchost.exe
20220708180044.171345+480  svchost.exe
20220708180044.172694+480  svchost.exe
20220708180044.195373+480  IntelCpHDCPSvc.exe
20220708180044.197964+480  svchost.exe
20220708180044.201725+480  svchost.exe
20220708180044.204657+480  svchost.exe
20220708180044.205187+480  svchost.exe
20220708180044.219896+480  svchost.exe
20220708180044.224422+480  svchost.exe
20220708180044.234102+480  svchost.exe
20220708180044.253665+480  svchost.exe
20220708180044.255078+480  svchost.exe
20220708180044.272297+480  svchost.exe
20220708180044.277612+480  svchost.exe
20220708180044.302956+480  NVDisplay.Container.exe
20220708180044.306674+480  svchost.exe
20220708180044.308755+480  svchost.exe
20220708180044.321899+480  svchost.exe
20220708180044.343561+480  svchost.exe
20220708180044.344745+480  svchost.exe
20220708180044.345507+480  svchost.exe
20220708180044.346411+480  svchost.exe
20220708180044.364000+480  Memory Compression
20220708180044.372927+480  svchost.exe
20220708180044.395322+480  svchost.exe
20220708180044.398126+480  igfxCUIServiceN.exe
20220708180044.422082+480  svchost.exe
20220708180044.423118+480  svchost.exe
20220708180044.600165+480  svchost.exe
20220708180044.602744+480  svchost.exe
20220708180044.609587+480  svchost.exe
20220708180044.652669+480  svchost.exe
20220708180044.667673+480  svchost.exe
20220708180044.696973+480  svchost.exe
20220708180044.719779+480  WmiPrvSE.exe
20220708180044.739625+480  spoolsv.exe
20220708180044.763988+480  svchost.exe
20220708180044.781143+480  svchost.exe
20220708180044.882626+480  OneApp.IGCC.WinService.exe
20220708180044.883190+480  svchost.exe
20220708180044.885337+480  svchost.exe
20220708180044.887033+480  svchost.exe
20220708180044.887146+480  svchost.exe
20220708180044.888491+480  esif_uf.exe
20220708180044.905830+480  IntelAudioService.exe
20220708180044.906628+480  BuildService.exe
20220708180044.916827+480  svchost.exe
20220708180044.922782+480  IpOverUsbSvc.exe
20220708180044.970032+480  svchost.exe
20220708180044.973510+480  LMS.exe
20220708180044.994269+480  RtkBtManServ.exe
20220708180044.994866+480  svchost.exe
20220708180044.995048+480  CoordService.exe
20220708180044.995291+480  SmartByteNetworkService.exe
20220708180044.996291+480  RstMwService.exe
20220708180044.996910+480  RtkAudUService64.exe
20220708180044.998661+480  svchost.exe
20220708180044.998700+480  svchost.exe
20220708180045.004784+480  sqlwriter.exe
20220708180045.026895+480  svchost.exe
20220708180045.029577+480  WavesAudioService.exe
20220708180045.040740+480  jhi_service.exe
20220708180045.043801+480  WavesSysSvc64.exe
20220708180045.044109+480  WMIRegistrationService.exe
20220708180045.051961+480  SmartByteAnalyticsService.exe
20220708180045.059286+480  svchost.exe
20220708180045.189091+480  svchost.exe
20220708180045.365240+480  svchost.exe
20220708180045.402088+480  RAPSService.exe
20220708180045.508104+480  RAPS.exe
20220708180045.521765+480  conhost.exe
20220708180045.562107+480  svchost.exe
20220708180050.751159+480  PresentationFontCache.exe
20220708180050.790432+480  svchost.exe
20220708180050.883836+480  svchost.exe
20220708180050.914448+480  svchost.exe
20220708180051.352160+480  svchost.exe
20220708180052.641981+480  svchost.exe
20220708180052.718733+480  MoUsoCoreWorker.exe
20220708180053.085978+480  SearchIndexer.exe
20220708180056.841601+480  svchost.exe
20220708180106.746842+480  SecurityHealthService.exe
20220708180110.255643+480  svchost.exe
20220708180116.290713+480  svchost.exe
20220711084557.809165+480  svchost.exe
20220711084557.848281+480  svchost.exe
20220711084718.494337+480  svchost.exe
20220711084718.638265+480  DDVRulesProcessor.exe
20220711084719.233713+480  Dell.D3.WinSvc.exe
20220711084719.461650+480  DellSupportAssistRemedationService.exe
20220711084720.293267+480  ServiceShell.exe
20220711084736.998701+480  Dell.TechHub.exe
20220711084750.459844+480  svchost.exe
20220711084755.642670+480  servicehost.exe
20220711084755.780709+480  SgrmBroker.exe
20220711084756.057834+480  SupportAssistAgent.exe
20220711084756.066254+480  Dell.TechHub.DataManager.SubAgent.exe
20220711084756.070956+480  conhost.exe
20220711084756.097369+480  Dell.TechHub.Instrumentation.SubAgent.exe
20220711084756.103651+480  conhost.exe
20220711084756.125862+480  Dell.TechHub.Diagnostics.SubAgent.exe
20220711084756.131132+480  conhost.exe
20220711084756.156672+480  Dell.DCF.UA.Bradbury.API.SubAgent.exe
20220711084756.165181+480  conhost.exe
20220711084801.028681+480  DDVDataCollector.exe
20220711084802.162291+480  DDVCollectorSvcApi.exe
20220711084835.304269+480  svchost.exe
20220711084924.434513+480  svchost.exe
20220711084939.991331+480  dllhost.exe
20220711084940.522790+480  MpCopyAccelerator.exe
20220711091844.997598+480  svchost.exe
20220711103850.139721+480  WmiPrvSE.exe
20220711120409.935054+480  svchost.exe
20220711171745.309453+480  MsMpEng.exe
20220711171747.674125+480  NisSrv.exe
20220712154932.088885+480  svchost.exe
20220712173231.701715+480  svchost.exe
20220712180023.529872+480  csrss.exe
20220712180023.547915+480  winlogon.exe
20220712180023.586857+480  fontdrvhost.exe
20220712180023.631632+480  dwm.exe
20220712180028.803480+480  NVDisplay.Container.exe
20220713084600.674270+480  dptf_helper.exe
20220713084600.760705+480  sihost.exe
20220713084600.769173+480  svchost.exe
20220713084600.775900+480  svchost.exe
20220713084600.794296+480  svchost.exe
20220713084600.804271+480  igfxEMN.exe
20220713084601.026042+480  uihost.exe
20220713084601.098293+480  taskhostw.exe
20220713084601.119859+480  svchost.exe
20220713084601.301057+480  explorer.exe
20220713084602.032194+480  svchost.exe
20220713084603.479450+480  SettingSyncHost.exe
20220713084603.679767+480  RtkAudUService64.exe
20220713084603.757343+480  StartMenuExperienceHost.exe
20220713084603.913061+480  RuntimeBroker.exe
20220713084604.070057+480  ctfmon.exe
20220713084604.195012+480  SearchApp.exe
20220713084604.337433+480  RuntimeBroker.exe
20220713084605.362662+480  svchost.exe
20220713084612.704047+480  TextInputHost.exe
20220713084622.090549+480  ApplicationFrameHost.exe
20220713084622.095715+480  Calculator.exe
20220713084622.355674+480  RuntimeBroker.exe
20220713084630.073993+480  YourPhone.exe
20220713084630.083581+480  backgroundTaskHost.exe
20220713084630.111436+480  DellMobileConnect.exe
20220713084630.906317+480  RuntimeBroker.exe
20220713084631.649699+480  RuntimeBroker.exe
20220713084631.868393+480  RuntimeBroker.exe
20220713084639.735046+480  dllhost.exe
20220713084641.196437+480  SecurityHealthSystray.exe
20220713084641.344491+480  chrome.exe
20220713084641.703125+480  chrome.exe
20220713084641.946152+480  RtkAudUService64.exe
20220713084641.993458+480  chrome.exe
20220713084641.996108+480  chrome.exe
20220713084642.017929+480  chrome.exe
20220713084642.784739+480  WavesSvc64.exe
20220713084643.904931+480  LINEAPP.exe
20220713084644.544704+480  OneDrive.exe
20220713084646.921406+480  chrome.exe
20220713084650.021248+480  xgTrayIcon.exe
20220713084650.052128+480  CheckNDISPort_df.exe
20220713084650.603150+480  CancelAutoPlay_df.exe
20220713084729.468155+480  LineMediaPlayer.exe
20220713084729.567613+480  LineMediaPlayer.exe
20220713084730.496921+480  LineCall.exe
20220713084733.623271+480  DellMobileConnectClient.exe
20220713085127.024046+480  Dell.TechHub.Instrumentation.UserSessionAgent.exe
20220713085134.915101+480  notepad++.exe
20220713085630.166546+480  UserOOBEBroker.exe
20220713090224.597562+480  svchost.exe
20220713090727.391251+480  chrome.exe
20220713090923.271743+480  TGitCache.exe
20220713090958.010537+480  dllhost.exe
20220713091023.984711+480  cmd.exe
20220713091023.991679+480  conhost.exe
20220713091024.601490+480  gitea.exe
20220713093533.581852+480  CS_Set_user-agent.exe
20220713100445.514298+480  msedge.exe
20220713100445.531320+480  msedge.exe
20220713100445.624082+480  msedge.exe
20220713100445.628632+480  msedge.exe
20220713100445.681995+480  msedge.exe
20220713100451.740920+480  msedge.exe
20220713100451.819507+480  msedge.exe
20220713104239.208599+480  devenv.exe
20220713104241.539024+480  PerfWatson2.exe
20220713104243.886694+480  Microsoft.ServiceHub.Controller.exe
20220713104244.359826+480  ServiceHub.VSDetouredHost.exe
20220713104247.007897+480  ServiceHub.ThreadedWaitDialog.exe
20220713104250.813920+480  ServiceHub.RoslynCodeAnalysisService.exe
20220713104301.324900+480  ServiceHub.Host.CLR.exe
20220713104304.951130+480  ServiceHub.IndexingService.exe
20220713104306.450968+480  ServiceHub.Host.CLR.exe
20220713104307.384895+480  ServiceHub.IdentityHost.exe
20220713104308.081576+480  ServiceHub.TestWindowStoreHost.exe
20220713104309.568048+480  ServiceHub.SettingsHost.exe
20220713104313.397155+480  ServiceHub.Host.CLR.x64.exe
20220713104313.914079+480  ServiceHub.Host.CLR.x86.exe
20220713104316.043085+480  ServiceHub.Host.CLR.x86.exe
20220713104339.590417+480  ServiceHub.DataWarehouseHost.exe
20220713104342.690901+480  WebViewHost.exe
20220713105517.530970+480  chrome.exe
20220713111243.267062+480  ShellExperienceHost.exe
20220713111243.426324+480  RuntimeBroker.exe
20220713111852.769643+480  SearchProtocolHost.exe
20220713120531.889431+480  Microsoft.Photos.exe
20220713120534.969503+480  RuntimeBroker.exe
20220713122317.164211+480  svchost.exe
20220713123817.861353+480  cmd.exe
20220713123818.188358+480  conhost.exe
20220713124429.343439+480  StandardCollector.Service.exe
20220713125904.716521+480  cmd.exe
20220713125904.733678+480  conhost.exe
20220713130625.893215+480  WmiPrvSE.exe
20220713131106.373433+480  DesignToolsServer.exe
20220713131116.398362+480  MSBuild.exe
20220713131116.416877+480  conhost.exe
20220713131116.838003+480  MSBuild.exe
20220713131116.842535+480  conhost.exe
20220713131122.028404+480  CS_VPOS.exe
20220713131123.015969+480  msedgewebview2.exe
20220713131123.042429+480  msedgewebview2.exe
20220713131123.326768+480  msedgewebview2.exe
20220713131123.333568+480  msedgewebview2.exe
20220713131123.363111+480  msedgewebview2.exe
20220713131123.440921+480  msedgewebview2.exe
20220713131123.524592+480  msedgewebview2.exe
20220713131123.560226+480  msedgewebview2.exe
20220713131123.620378+480  msedgewebview2.exe
20220713131126.663573+480  svchost.exe
20220713131618.656474+480  chrome.exe
20220713131637.327399+480  chrome.exe
20220713131805.494984+480  audiodg.exe
20220713131822.281923+480  svchost.exe
20220713131940.563872+480  SearchFilterHost.exe
20220713131956.237335+480  chrome.exe
20220713132008.665078+480  chrome.exe
20220713132009.826123+480  chrome.exe
20220713132035.412045+480  chrome.exe
20220713132037.278732+480  chrome.exe
20220713132037.639485+480  chrome.exe
20220713132038.067146+480  chrome.exe
20220713132038.286873+480  chrome.exe
20220713132038.292389+480  chrome.exe
20220713132043.052392+480  chrome.exe
20220713132043.230936+480  chrome.exe
20220713132043.774194+480  chrome.exe
20220713132043.851699+480  chrome.exe
20220713132044.673991+480  opera.exe
20220713132044.715061+480  opera_crashreporter.exe
20220713132044.778322+480  opera.exe
20220713132044.783582+480  opera.exe
20220713132044.984214+480  opera.exe
20220713132045.328968+480  opera.exe
20220713132045.405695+480  opera.exe
20220713132045.441500+480  opera.exe
20220713132045.446520+480  opera.exe
20220713132045.525603+480  opera.exe
20220713132045.543208+480  opera.exe
20220713132045.556821+480  opera.exe
20220713132045.570602+480  opera.exe
20220713132045.619425+480  opera.exe
20220713132047.071214+480  opera.exe
20220713132047.360881+480  chrome.exe
20220713132047.371035+480  chrome.exe
20220713132047.377308+480  chrome.exe
20220713132047.588681+480  opera.exe
20220713132048.022666+480  chrome.exe
20220713132049.041154+480  chrome.exe
20220713132049.051335+480  chrome.exe
20220713132049.069071+480  chrome.exe
20220713132049.376361+480  chrome.exe
20220713132049.381015+480  chrome.exe
20220713132049.391247+480  chrome.exe
20220713132049.603507+480  chrome.exe
20220713132051.133606+480  opera.exe
20220713132051.268346+480  opera.exe
20220713132052.710228+480  chrome.exe
20220713132052.884399+480  opera.exe
20220713132054.921309+480  opera.exe
20220713132058.454800+480  opera.exe
20220713132058.862191+480  opera.exe
20220713132102.842638+480  opera.exe
20220713132104.534173+480  opera.exe
20220713132124.086824+480  WmiPrvSE.exe
20220713132124.166356+480  svchost.exe
20220713132124.504872+480  opera.exe
20220713132125.973690+480  WmiApSrv.exe
20220713132126.261307+480  WMIC.exe
20220713132126.321603+480  opera.exe


C:\Users\devel>


C:\Users\devel>tasklist

映像名稱                       PID 工作階段名稱      工作階段 #    RAM使用量
========================= ======== ================ =========== ============
System Idle Process              0 Services                   0          8 K
System                           4 Services                   0     43,868 K
Registry                       124 Services                   0     56,856 K
smss.exe                       552 Services                   0        312 K
csrss.exe                      872 Services                   0      2,828 K
wininit.exe                    980 Services                   0      1,848 K
services.exe                   696 Services                   0      7,748 K
lsass.exe                      688 Services                   0     15,712 K
svchost.exe                   1092 Services                   0     26,336 K
fontdrvhost.exe               1120 Services                   0      1,356 K
WUDFHost.exe                  1128 Services                   0     12,100 K
svchost.exe                   1224 Services                   0     18,356 K
svchost.exe                   1272 Services                   0      4,952 K
svchost.exe                   1524 Services                   0      4,312 K
svchost.exe                   1584 Services                   0      2,144 K
svchost.exe                   1600 Services                   0      9,552 K
svchost.exe                   1652 Services                   0      6,584 K
svchost.exe                   1660 Services                   0      2,520 K
svchost.exe                   1792 Services                   0      5,036 K
svchost.exe                   1880 Services                   0      9,280 K
svchost.exe                   1900 Services                   0      5,208 K
svchost.exe                   1912 Services                   0      3,968 K
IntelCpHDCPSvc.exe            1112 Services                   0      1,192 K
svchost.exe                   1116 Services                   0      2,796 K
svchost.exe                   1396 Services                   0      7,556 K
svchost.exe                   1772 Services                   0      3,048 K
svchost.exe                   1764 Services                   0      3,752 K
svchost.exe                   2160 Services                   0      2,232 K
svchost.exe                   2216 Services                   0      6,440 K
svchost.exe                   2332 Services                   0      9,404 K
svchost.exe                   2468 Services                   0      4,204 K
svchost.exe                   2488 Services                   0      7,256 K
svchost.exe                   2624 Services                   0      2,324 K
svchost.exe                   2652 Services                   0      8,516 K
NVDisplay.Container.exe       2816 Services                   0     10,224 K
svchost.exe                   2860 Services                   0      6,540 K
svchost.exe                   2872 Services                   0      7,040 K
svchost.exe                   2920 Services                   0     16,344 K
svchost.exe                   3060 Services                   0      2,676 K
svchost.exe                   1732 Services                   0      7,736 K
svchost.exe                   2368 Services                   0      5,044 K
svchost.exe                   2544 Services                   0      2,204 K
Memory Compression            3132 Services                   0    854,332 K
svchost.exe                   3212 Services                   0      5,704 K
svchost.exe                   3264 Services                   0      2,080 K
igfxCUIServiceN.exe           3272 Services                   0      3,920 K
svchost.exe                   3360 Services                   0      2,532 K
svchost.exe                   3368 Services                   0      3,808 K
svchost.exe                   3728 Services                   0     29,576 K
svchost.exe                   3736 Services                   0      9,340 K
svchost.exe                   3788 Services                   0      3,372 K
svchost.exe                   3952 Services                   0      3,324 K
svchost.exe                   4000 Services                   0     12,720 K
svchost.exe                   4072 Services                   0      4,624 K
WmiPrvSE.exe                  3604 Services                   0     46,360 K
spoolsv.exe                   3900 Services                   0      6,496 K
svchost.exe                   4156 Services                   0      9,336 K
svchost.exe                   4212 Services                   0      3,580 K
OneApp.IGCC.WinService.ex     4408 Services                   0     33,448 K
svchost.exe                   4416 Services                   0     11,728 K
svchost.exe                   4424 Services                   0     40,136 K
svchost.exe                   4432 Services                   0      3,960 K
svchost.exe                   4440 Services                   0     25,712 K
esif_uf.exe                   4448 Services                   0      2,664 K
IntelAudioService.exe         4556 Services                   0     20,212 K
BuildService.exe              4564 Services                   0     10,584 K
svchost.exe                   4596 Services                   0      4,276 K
IpOverUsbSvc.exe              4604 Services                   0     11,076 K
svchost.exe                   4708 Services                   0      5,272 K
LMS.exe                       4728 Services                   0      5,752 K
RtkBtManServ.exe              4784 Services                   0      3,212 K
svchost.exe                   4792 Services                   0      3,516 K
CoordService.exe              4800 Services                   0      9,528 K
SmartByteNetworkService.e     4808 Services                   0    123,980 K
RstMwService.exe              4820 Services                   0      3,108 K
RtkAudUService64.exe          4832 Services                   0      3,972 K
svchost.exe                   4840 Services                   0      2,672 K
svchost.exe                   4848 Services                   0      2,012 K
sqlwriter.exe                 4868 Services                   0      6,288 K
svchost.exe                   4988 Services                   0      1,772 K
WavesAudioService.exe         5008 Services                   0     10,272 K
jhi_service.exe               5052 Services                   0      1,624 K
WavesSysSvc64.exe             5080 Services                   0     13,180 K
WMIRegistrationService.ex     5088 Services                   0      8,568 K
SmartByteAnalyticsService     3840 Services                   0      1,780 K
svchost.exe                   4364 Services                   0      8,416 K
svchost.exe                   5764 Services                   0      2,156 K
svchost.exe                   5140 Services                   0      6,208 K
RAPSService.exe               6296 Services                   0     11,080 K
RAPS.exe                      6468 Services                   0      9,244 K
conhost.exe                   6496 Services                   0      2,904 K
svchost.exe                   6572 Services                   0      2,420 K
PresentationFontCache.exe     7756 Services                   0     10,200 K
svchost.exe                   7996 Services                   0     13,292 K
svchost.exe                   8160 Services                   0      2,724 K
svchost.exe                   7180 Services                   0     12,520 K
svchost.exe                   8600 Services                   0      3,632 K
svchost.exe                   8036 Services                   0     11,576 K
MoUsoCoreWorker.exe           9260 Services                   0     22,956 K
SearchIndexer.exe             9628 Services                   0     57,372 K
svchost.exe                  10708 Services                   0     12,584 K
SecurityHealthService.exe    12132 Services                   0      7,792 K
svchost.exe                   9360 Services                   0      6,928 K
svchost.exe                   8564 Services                   0      2,820 K
svchost.exe                   8788 Services                   0     17,556 K
svchost.exe                   8380 Services                   0      2,412 K
svchost.exe                   7564 Services                   0      5,116 K
DDVRulesProcessor.exe         9848 Services                   0      7,252 K
Dell.D3.WinSvc.exe           12448 Services                   0     89,460 K
DellSupportAssistRemedati     1192 Services                   0     79,432 K
ServiceShell.exe             12080 Services                   0     53,380 K
Dell.TechHub.exe              6736 Services                   0     29,136 K
svchost.exe                   1500 Services                   0     11,644 K
servicehost.exe               5712 Services                   0     22,464 K
SgrmBroker.exe                4284 Services                   0      6,908 K
SupportAssistAgent.exe       10168 Services                   0    107,784 K
Dell.TechHub.DataManager.     7580 Services                   0     55,736 K
conhost.exe                   8712 Services                   0      3,148 K
Dell.TechHub.Instrumentat    10644 Services                   0     88,536 K
conhost.exe                   5748 Services                   0      3,188 K
Dell.TechHub.Diagnostics.     7372 Services                   0     44,720 K
conhost.exe                  12292 Services                   0      3,168 K
Dell.DCF.UA.Bradbury.API.     3560 Services                   0     39,032 K
conhost.exe                   2304 Services                   0      3,152 K
DDVDataCollector.exe         13332 Services                   0     39,820 K
DDVCollectorSvcApi.exe       13820 Services                   0      2,540 K
svchost.exe                  17668 Services                   0      3,172 K
svchost.exe                  12908 Services                   0      8,916 K
dllhost.exe                   1384 Services                   0      5,932 K
MpCopyAccelerator.exe        15572 Services                   0      3,472 K
svchost.exe                  19880 Services                   0      4,520 K
WmiPrvSE.exe                  9604 Services                   0     25,028 K
svchost.exe                  25536 Services                   0      4,964 K
MsMpEng.exe                  17996 Services                   0    468,176 K
NisSrv.exe                   28844 Services                   0      7,740 K
svchost.exe                  25952 Services                   0     13,396 K
svchost.exe                   5356 Services                   0      2,760 K
csrss.exe                    22088 Console                    4      5,348 K
winlogon.exe                 15036 Console                    4      4,868 K
fontdrvhost.exe              11248 Console                    4     11,008 K
dwm.exe                      21236 Console                    4     67,580 K
NVDisplay.Container.exe      20500 Console                    4     32,980 K
dptf_helper.exe              13780 Console                    4      2,364 K
sihost.exe                   18248 Console                    4     18,752 K
svchost.exe                  21080 Console                    4     15,992 K
svchost.exe                  11648 Console                    4      3,236 K
svchost.exe                  11116 Console                    4     24,620 K
igfxEMN.exe                  16908 Console                    4      4,208 K
uihost.exe                    9992 Console                    4     10,180 K
taskhostw.exe                30656 Console                    4     12,616 K
svchost.exe                  18504 Services                   0      2,148 K
explorer.exe                 21744 Console                    4    158,528 K
svchost.exe                  21812 Console                    4     17,912 K
SettingSyncHost.exe          29976 Console                    4      3,168 K
RtkAudUService64.exe         25136 Console                    4      3,504 K
StartMenuExperienceHost.e    20776 Console                    4     62,624 K
RuntimeBroker.exe            14180 Console                    4     20,808 K
ctfmon.exe                    9112 Console                    4     30,748 K
SearchApp.exe                28764 Console                    4     66,220 K
RuntimeBroker.exe            11888 Console                    4     16,236 K
svchost.exe                   8584 Console                    4     11,760 K
TextInputHost.exe            17300 Console                    4     33,012 K
ApplicationFrameHost.exe     24660 Console                    4      8,636 K
Calculator.exe               23544 Console                    4        488 K
RuntimeBroker.exe            16976 Console                    4      2,172 K
YourPhone.exe                26336 Console                    4        560 K
backgroundTaskHost.exe        1508 Console                    4    112,528 K
DellMobileConnect.exe        28480 Console                    4     11,708 K
RuntimeBroker.exe            21424 Console                    4     11,940 K
RuntimeBroker.exe             1200 Console                    4     11,572 K
RuntimeBroker.exe            11508 Console                    4      5,880 K
dllhost.exe                  27032 Console                    4      8,332 K
SecurityHealthSystray.exe    28932 Console                    4      3,416 K
chrome.exe                   20784 Console                    4    229,704 K
chrome.exe                    5216 Console                    4      3,856 K
RtkAudUService64.exe         16796 Console                    4      4,208 K
chrome.exe                   30368 Console                    4    317,988 K
chrome.exe                   28804 Console                    4     44,072 K
chrome.exe                    7724 Console                    4     11,264 K
WavesSvc64.exe               26044 Console                    4     14,452 K
LINEAPP.exe                  19036 Console                    4     79,652 K
OneDrive.exe                 13356 Console                    4     38,976 K
chrome.exe                    2752 Console                    4     31,352 K
xgTrayIcon.exe               12572 Console                    4      7,740 K
CheckNDISPort_df.exe          5612 Console                    4      6,568 K
CancelAutoPlay_df.exe        21604 Console                    4      5,956 K
LineMediaPlayer.exe          27268 Console                    4     16,248 K
LineMediaPlayer.exe          18556 Console                    4     15,996 K
LineCall.exe                  8548 Console                    4     20,776 K
DellMobileConnectClient.e    25764 Console                    4     42,132 K
Dell.TechHub.Instrumentat    23548 Console                    4     33,652 K
notepad++.exe                 1020 Console                    4     13,568 K
UserOOBEBroker.exe           13288 Console                    4      5,828 K
svchost.exe                  25588 Services                   0     10,504 K
chrome.exe                   21808 Console                    4     10,688 K
TGitCache.exe                 9644 Console                    4      4,640 K
dllhost.exe                  17700 Console                    4      4,720 K
cmd.exe                      21764 Console                    4      1,352 K
conhost.exe                  13132 Console                    4      5,096 K
gitea.exe                    11864 Console                    4     88,980 K
CS_Set_user-agent.exe        12792 Console                    4     29,180 K
msedge.exe                   21656 Console                    4     53,840 K
msedge.exe                   18904 Console                    4      2,676 K
msedge.exe                   29200 Console                    4     17,728 K
msedge.exe                   24436 Console                    4     22,940 K
msedge.exe                    6336 Console                    4      7,736 K
msedge.exe                   15352 Console                    4     24,336 K
msedge.exe                   15624 Console                    4      9,856 K
devenv.exe                   15812 Console                    4    948,496 K
PerfWatson2.exe              21176 Console                    4     61,304 K
Microsoft.ServiceHub.Cont    22980 Console                    4     54,056 K
ServiceHub.VSDetouredHost    16012 Console                    4     47,048 K
ServiceHub.ThreadedWaitDi    19800 Console                    4     36,744 K
ServiceHub.RoslynCodeAnal    11884 Console                    4    279,076 K
ServiceHub.Host.CLR.exe       9692 Console                    4     71,736 K
ServiceHub.IndexingServic     8988 Console                    4     89,108 K
ServiceHub.Host.CLR.exe      28948 Console                    4     43,952 K
ServiceHub.IdentityHost.e    29940 Console                    4     45,344 K
ServiceHub.TestWindowStor    11892 Console                    4     45,128 K
ServiceHub.SettingsHost.e    24752 Console                    4     53,812 K
ServiceHub.Host.CLR.x64.e    29292 Console                    4    598,188 K
ServiceHub.Host.CLR.x86.e    24032 Console                    4     58,804 K
ServiceHub.Host.CLR.x86.e    18292 Console                    4     38,568 K
ServiceHub.DataWarehouseH    18760 Console                    4     81,396 K
WebViewHost.exe              23512 Console                    4     48,760 K
chrome.exe                     996 Console                    4    122,544 K
ShellExperienceHost.exe      15728 Console                    4     26,072 K
RuntimeBroker.exe            13168 Console                    4      7,768 K
SearchProtocolHost.exe       23296 Services                   0     10,460 K
chrome.exe                   11928 Console                    4    103,472 K
chrome.exe                   18328 Console                    4     98,236 K
chrome.exe                    8408 Console                    4     38,116 K
Microsoft.Photos.exe         11108 Console                    4        336 K
RuntimeBroker.exe             7792 Console                    4      8,280 K
svchost.exe                   7368 Services                   0      6,856 K
chrome.exe                   19608 Console                    4     33,908 K
chrome.exe                   13640 Console                    4     39,184 K
chrome.exe                   14648 Console                    4     36,272 K
chrome.exe                   17256 Console                    4     43,712 K
chrome.exe                   24528 Console                    4    116,452 K
chrome.exe                    9820 Console                    4     42,348 K
chrome.exe                    1140 Console                    4     42,340 K
chrome.exe                    7888 Console                    4     98,752 K
chrome.exe                   11416 Console                    4     71,868 K
chrome.exe                   25828 Console                    4     49,684 K
chrome.exe                   17612 Console                    4     41,912 K
chrome.exe                   23104 Console                    4     43,784 K
chrome.exe                   12660 Console                    4     43,072 K
cmd.exe                      11536 Console                    4      4,588 K
conhost.exe                   6444 Console                    4     21,148 K
chrome.exe                    9944 Console                    4    163,436 K
StandardCollector.Service    27524 Services                   0     60,140 K
DesignToolsServer.exe        14576 Console                    4    153,388 K
CS_VPOS.exe                  23824 Console                    4     51,664 K
msedgewebview2.exe           23024 Console                    4    109,248 K
msedgewebview2.exe           14004 Console                    4      8,072 K
msedgewebview2.exe            7836 Console                    4     89,944 K
msedgewebview2.exe           27972 Console                    4     33,232 K
msedgewebview2.exe           22996 Console                    4     19,544 K
msedgewebview2.exe           28660 Console                    4    110,284 K
msedgewebview2.exe           24632 Console                    4     55,016 K
msedgewebview2.exe           30236 Console                    4     63,300 K
msedgewebview2.exe           24600 Console                    4     68,776 K
chrome.exe                   27536 Console                    4     44,408 K
chrome.exe                   28544 Console                    4     47,352 K
chrome.exe                   15068 Console                    4     53,004 K
chrome.exe                   12688 Console                    4    103,412 K
WmiPrvSE.exe                 12728 Services                   0     15,780 K
chrome.exe                   27820 Console                    4     68,664 K
VSSVC.exe                     4536 Services                   0     18,152 K
svchost.exe                  19060 Services                   0      9,116 K
chrome.exe                   23812 Console                    4     29,908 K
cmd.exe                      22452 Console                    4      4,524 K
conhost.exe                  17240 Console                    4     20,740 K
audiodg.exe                  30476 Services                   0     12,008 K
opera.exe                    14776 Console                    4    160,736 K
opera_crashreporter.exe      27592 Console                    4      8,004 K
SearchFilterHost.exe          7772 Services                   0     12,052 K
opera.exe                     8896 Console                    4    229,844 K
opera.exe                    20364 Console                    4     50,144 K
opera.exe                    17476 Console                    4     29,200 K
opera.exe                     4324 Console                    4     56,696 K
opera.exe                    30528 Console                    4     29,276 K
opera.exe                    15116 Console                    4     63,792 K
opera.exe                    15472 Console                    4    121,356 K
opera.exe                    15296 Console                    4    122,004 K
opera.exe                    26916 Console                    4    131,924 K
opera.exe                    10820 Console                    4    124,420 K
opera.exe                     7420 Console                    4    180,432 K
opera.exe                    29676 Console                    4     20,584 K
opera.exe                    25748 Console                    4     68,572 K
opera.exe                    16784 Console                    4     43,832 K
opera.exe                    10492 Console                    4     50,768 K
opera.exe                    14364 Console                    4     96,136 K
opera.exe                     6420 Console                    4     47,712 K
opera.exe                    20544 Console                    4     53,576 K
opera.exe                     9704 Console                    4     44,496 K
opera.exe                    23984 Console                    4     47,056 K
opera.exe                    10472 Console                    4     49,304 K
opera.exe                    18016 Console                    4     43,568 K
opera.exe                    26128 Console                    4     58,428 K
opera.exe                    26136 Console                    4     29,132 K
tasklist.exe                 20708 Console                    4      9,344 K



6 thoughts on “WINDOWS 如何類似 LINUX TOP取得運作多久的時間(何時開機/開機時間) ~ 取得 process 執行時間

  1. wmic process where Name=”Calculator.exe” get CreationDate

    wmic process where Name=”dllhost.exe” get CreationDate

  2. tasklist output to text file [tasklist 紀錄到文字檔案]


    tasklist > filename.txt
    tasklist >> filename.txt

    1. ChatGPT 回答:

      To output the contents of the Windows Task Manager to a text file, follow these steps:

      Open the Command Prompt by pressing the Windows key + R and typing “cmd” in the Run dialog box.

      Type “tasklist” into the command prompt and press Enter. This will display a list of all running processes on your computer.

      To output this list to a text file, type “tasklist > filename.txt” and press Enter. Replace “filename.txt” with the name you want to give to the text file.

      Navigate to the directory where you saved the text file to verify that it contains the tasklist output.

      Note: If you want to append the tasklist output to an existing file, use “tasklist >> filename.txt” instead.

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *