How to get maximum number of connection, I have ever got on my server?

Is there a way I can log current number of active connection in nginx?
I want to check the max number of parallel connection I am getting on
my
server.

regards
Vivek G.