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

add tools file

Changeset bfe4eef9e385

Parent 14361bd3a70b

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

Changes to 2 files · Browse files at bfe4eef9e385 Showing diff from parent 14361bd3a70b Diff from another changeset...

Change 1 of 1 Show Entire File .hgignore Stacked
 
1
2
3
 
 
 
 
1
2
3
4
5
 
@@ -1,3 +1,5 @@
 syntax: glob    checkBackend.log +*.csv +*.xls* \ No newline at end of file
Change 1 of 1 Show Entire File tools.ps1 Stacked
 
 
 
 
 
 
1
2
3
 
@@ -0,0 +1,3 @@
+function Get-BackendMemoryFromLog([string]$logFile){ + cat $logFile | Select-String "service backend" | foreach{[int](($_ -split ":")[-1])} +} \ No newline at end of file