It can be very useful to see how many active connections you have on your SharePoint server. This can be easily done using PowerShell to look at the IIS performance counters.
As is mostly the case with scripting, somebody has already done a much better job than I ever could. Here is a script which creates a PowerShell function Get-WebServiceConnections.
I created a PowerShell script called CurrentConnections.ps1 with the following content and can now run it whenever needed:
function Get-WebServiceConnections()
{
$results = @{}
$perfmon = new-object System.Diagnostics.PerformanceCounter
$perfmon.CategoryName = "Web Service"
$perfmon.CounterName = "Current Connections"
$cat = new-object System.Diagnostics.PerformanceCounterCategory("Web Service")
$instances = $cat.GetInstanceNames()
foreach ($instance in $instances)
{
$perfmon.InstanceName = $instance
$results.Add($instance, $perfmon.NextValue())
}
write-output $results
}
Get-WebServiceConnections
C41C2D1FF3
ReplyDeletetwitter takipçi satın al
green swivel accent chair
B7C831FE
ReplyDeleteesçort sivas
esçort bayan karabük
demetevler esçort
gelibolu esçort
muğla esçort
İçmeler esçort
yozgat esçort
esçort batman
mersin olgun esçort
3C4DFE18
ReplyDeleteKulu
Kartepe
Yenişehir
Arsuz
Güzelbahçe
Bafra
Kaş
Şile
Başiskele
FCBA022B
ReplyDeleteReyhanlı
Siverek
Belek
Ezine
Bayındır
Söke
Çorlu
Ömerli
Kızıltepe