1 1.0.0.0 - PowerShell Gallery
Có thể bạn quan tâm
Skip To Content
Search PowerShell packages: PSColor
PowerShell Gallery
Toggle navigation| | | ||
1.0.0.0
ProcessInfo.ps1
| functionWrite-Color-Process { param([string]$color="white",$file) Write-host("{0,-7} {1,25} {2,10} {3}"-f$file.mode,([String]::Format("{0,10} {1,8}",$file.LastWriteTime.ToString("d"),$file.LastWriteTime.ToString("t"))),(Write-FileLength$file.length),$file.name)-foregroundcolor$color } functionProcessInfo{ param( [Parameter(Mandatory=$True,Position=1)] $process ) if($script:showHeader) { Write-Host Write-Host'Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName' Write-Host'------- ------ ----- ----- ----- ------ -- -----------' $script:showHeader=$false } $id=$_.Id $owner=(Get-WmiObject-ClassWin32_Process-Filter"ProcessId = $id").getowner() Write-Host("{0,7} {1,7} {2,8} {3} {4}"-f$_.Handles,` [math]::Round($_.NonpagedSystemMemorySize/1KB),` [math]::Round($_.PagedMemorySize/1KB), $owner.domain, $owner.user ) } |
Từ khóa » Npm(k) Pm(k) Ws(k) Vm(m)
-
What Do The Headers In The PowerShell Ps Output Mean? - Super User
-
Get-Process (Microsoft.PowerShell.Management)
-
Managing Processes With Process Cmdlets - PowerShell
-
PowerShell Get-Process – Managing Processes - 4sysops
-
What It Means When PM(K) Of Ps Gets Negative Values?
-
What It Means When PM(K) Of Ps Gets Negative Values? - Server Fault
-
Khám Phá 10 Tính Năng Của PowerShell
-
How To Monitor The Resources Used By OpenEdge Processes On ...
-
Month Of PowerShell: Process Threat Hunting, Part 1 | SANS Institute
-
Get-Process - PowerShell Command - PDQ
-
Fanfare For The Common Parameter Part 3: Success
-
Q. How Do I Access Attributes Of Objects Piped To Other Expressions?
-
PowerShell Tutorial => Set-Alias
-
PowerShell Get-process Cmdlet - MoonPoint Support