Changeset 7f1f911cf1b5…
Parent bfe4eef9e385…
by Ben McCormack <benm@fogcreek.com>
Changes to one file · Browse files at 7f1f911cf1b5 Showing diff from parent bfe4eef9e385 Diff from another changeset...
@@ -1,3 +1,3 @@ function Get-BackendMemoryFromLog([string]$logFile){
- cat $logFile | Select-String "service backend" | foreach{[int](($_ -split ":")[-1])}
+ cat $logFile | Select-String "service backend" | foreach{"$(($_ -split ' ')[0]),$([int](($_ -split ":")[-1])),$([int](($_ -split ":")[-1])/1024/1024)"}
}
\ No newline at end of file |
Loading...