I’m trying to write a script with wsadmin that will retrieve the total amount of active sessions. I’ve looked around the web and haven’t found anything really helpful. Is there a way to do this with the wsadmin tool? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See Websphere in memory session count – http://websphereadmin-janglestrategies.blogspot.com/2010/02/websphere-in-memory-session-count.html
From that blog post
for server in servers:
And hopefully you will get some output like this: