新增: 电子相册全屏模式+开机启动+Win10兼容
This commit is contained in:
8
scripts/check-resources.ps1
Normal file
8
scripts/check-resources.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
$p = Get-Process -Name 'u-desktop' -ErrorAction SilentlyContinue
|
||||
if (-not $p) { Write-Host "u-desktop not running"; exit 0 }
|
||||
Write-Host "PID: $($p.Id)"
|
||||
Write-Host "CPU time: $([math]::Round($p.CPU, 2))s"
|
||||
Write-Host "WorkingSet: $([math]::Round($p.WorkingSet64/1MB, 1)) MB"
|
||||
Write-Host "PrivateMem: $([math]::Round($p.PrivateMemorySize64/1MB, 1)) MB"
|
||||
Write-Host "Threads: $($p.Threads.Count)"
|
||||
Write-Host "Handles: $($p.HandleCount)"
|
||||
Reference in New Issue
Block a user