Kiln » KilnSupportScripts Powershell Scripts to help monitor a Kiln environment. Contact Fog Creek support before using.
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

change Get-BackendMemoryFromLog to output comma-delimeted file that's useful

Changeset 7f1f911cf1b5

Parent bfe4eef9e385

by Profile picture of User 476Ben McCormack <benm@fogcreek.com>

Changes to one file · Browse files at 7f1f911cf1b5 Showing diff from parent bfe4eef9e385 Diff from another changeset...

Change 1 of 1 Show Entire File tools.ps1 Stacked
 
1
2
 
3
 
 
1
 
2
3
 
@@ -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