Stroy

Memo how to get details about process

  1. open task manager
  2. select tab detail
  3. get pid that you want for example 15544
  4. enter win
  5. type power shell
  6. get how long a process runs type below
1
New-TimeSpan(Get-Process -Id 15544).StartTime
  1. get information
1
2
3
4
5
6
7
8
9
10
11
Days              : 0
Hours : 1
Minutes : 28
Seconds : 38
Milliseconds : 505
Ticks : 53185054760
TotalDays : 0.0615567763425926
TotalHours : 1.47736263222222
TotalMinutes : 88.6417579333333
TotalSeconds : 5318.505476
TotalMilliseconds : 5318505.476
  1. get process start time
1
Get-Process -Id 15544 | select StartTime

10.get info

1
2
3
StartTime
---------
2022/3/1 上午 08:29:39

reference