Netscaler 10.1 List all services with No Connections

I am trying to clean up old services on my Netscaler that are no longer in use. Can I use the stat service command then possible pipe the result to grep to search / list all services with "0" connections
LVL 20
compdigit44Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brian MurphyIT ArchitectCommented:
What about 'ps' from Shell Prompt?

Or, are you referring to services created that might just have a monitor bound?
0
compdigit44Author Commented:
I was referring to services on the Netscaler that are being hosted.. I.E HTTP, HTTPS etc.. for assigned servers
0
compdigit44Author Commented:
I've requested that this question be deleted for the following reason:

 I am guessing this cannot be done
0
btanExec ConsultantCommented:
Will it be better if you try out the diagnostic in surfacing all services and their state and link. Try out the criteria filter like the SVCNAME (service name) and maybe using some wildcards and look into the two columns earlier mentioned (for ordering) - see the UI capture in http://blogs.citrix.com/2012/02/23/figuring-out-connection-level-details-on-netscaler/

There is also some command line example shared in. Your mentioned approach may be better suited (or accurate) if you use "sh service" and grep those with "State" not having "UP" as it can "DOWN" or "Out of Service".  See this posting which list out the services and their state, so that we can grab those service name (numbered in bullet) http://discussions.citrix.com/topic/286791-services-state-are-down/?p=1553170 (More on info on sh service - http://support.citrix.com/article/CTX121500)

.... there is alternatively from the vServer view point too in http://support.citrix.com/article/CTX121500
.... but the more affirming may be to drill into "sh connectiontable" (as the GUI above mentioned) and grep those services http://www.jasonsamuel.com/2010/07/09/how-to-monitor-realtime-traffic-stats-accurately-on-a-citrix-netscaler/

Pardon as did not have the specific steps, as it is more a try out and believe it should meet certain aspect you are looking though
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Citrix

From novice to tech pro — start learning today.