Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding function for connection table information #86

Open
jhulbe opened this issue Mar 26, 2018 · 0 comments
Open

adding function for connection table information #86

jhulbe opened this issue Mar 26, 2018 · 0 comments

Comments

@jhulbe
Copy link

jhulbe commented Mar 26, 2018

Expected Behavior

I was trying to view / log the connections to a site.

Current Behavior

I didn't see a current way to view connections

Possible Solution

Created new function to pull the nsconnectiontable output
I've created Get-NSTCPConnections, queries the connection table.

Context

I'm using it in this fashion to view the active connections to a site over a 30min period for testing :
1..1800 | %{(Get-NSTCPConnections | ?{$_.destip -like "$vipIPaddress"} | ft).count ; sleep 1}

End goal is to eventually monitor connection count, and add resources on an as needed basis. Watch for a count, power up a server, test, add it to service group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant