F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. Articles
  3. Technical Articles

iControl Apps - #04 - Graceful Server Shutdown

This question comes up quite often here on DevCentral: "How can I gracefully shut down my servers for maintenance without disrupting current user sessions?".  In fact, I answered this question just t...
Published Jul 17, 2008
Version 1.0
application delivery
automation
dev
devops
events
iControl
iRules
news
series-icontrol-apps
tech tip
Joe_Pruitt's avatar
Joe_Pruitt
Joined September 22, 2004
View Profile
Francisco_Ferri's avatar
Francisco_Ferri
Icon for Nimbostratus rankNimbostratus
Jul 20, 2016

Hello Brent Rubeck; to get just the number of connections on the Nodes I use the following:

 

Initialize-F5.iControl -HostName $F5 -Credentials $user

 

$nodes=Get-F5.LTMNodeAddress | Select-Object -ExpandProperty Name

 

$connections=Get-F5.iControl

 

$connections.LocalLBNodeAddress.get_statistics($nodes) | %{$_.statistics.statistics | ? {$_.type -eq "STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS"} | %{$_.value.low} }

 

Help guide the future of your DevCentral Community!

What tools do you use to collaborate? (1min - anonymous)

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2026 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information