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 21
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 MurphySenior Information Technology ConsultantCommented:
What about 'ps' from Shell Prompt?

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

 I am guessing this cannot be done
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

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) (More on info on sh service -

.... there is alternatively from the vServer view point too in
.... but the more affirming may be to drill into "sh connectiontable" (as the GUI above mentioned) and grep those services

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

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

From novice to tech pro — start learning today.