Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get active session from Tomcat 4

 
Pamungkas Timotius
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get number of active sessions on Tomcat, ussualy I use following URL on my browser

http://localhost:8080/manager/sessions?path=/QWERTY


Now the problem is, production-machine Tomcat using console, running on Unix based machine... without any GUI
What should I do to achieve same purpose??
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use wget if you have it installed (most Linux distros have it).

wget -O - -q --http-user=me --http-passwd=MyPasswd http://localhost:8080/manager/sessions?path=/QWERTY
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic