mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use wider columns for process id and user (#5303)
I also moved all the formatting code higher up in the tree, it never felt like it belonged where it was.
This commit is contained in:
+3
-3
@@ -537,7 +537,7 @@ namespace System.Management.Automation.Runspaces
|
||||
.AddHeader(Alignment.Right, label: "PM(M)", width: 8)
|
||||
.AddHeader(Alignment.Right, label: "WS(M)", width: 10)
|
||||
.AddHeader(Alignment.Right, label: "CPU(s)", width: 10)
|
||||
.AddHeader(Alignment.Right, width: 6)
|
||||
.AddHeader(Alignment.Right, width: 7)
|
||||
.AddHeader(Alignment.Right, width: 3)
|
||||
.AddHeader()
|
||||
.StartRowDefinition()
|
||||
@@ -587,8 +587,8 @@ namespace System.Management.Automation.Runspaces
|
||||
TableControl.Create()
|
||||
.AddHeader(Alignment.Right, label: "WS(M)", width: 10)
|
||||
.AddHeader(Alignment.Right, label: "CPU(s)", width: 8)
|
||||
.AddHeader(Alignment.Right, width: 6)
|
||||
.AddHeader(width: 22)
|
||||
.AddHeader(Alignment.Right, width: 7)
|
||||
.AddHeader(width: 30)
|
||||
.AddHeader()
|
||||
.StartRowDefinition()
|
||||
.AddScriptBlockColumn("\"{0:N2}\" -f [float]($_.WS / 1MB)")
|
||||
Reference in New Issue
Block a user