I just want to know the active http connections to my SpringBoot application. I will refer this to estimate web users time to time. Is there any way to get this?
I got this answer from StackOverflow post. But this is a bit different from my environment. My application is deployed in Production Linux server, which is beyond my touch. So I cannot run any JMX tool on it.
I tried SpringBoot actuator. I can only get httpsessions.active
, this is not what I want. I want http request count, not http session count.
Any help for this? Thanks.
Someone show a way in the server to get the current connections.
netstat -an | grep :8090 | wc -l
I think this is the direct way to do.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With