Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
ld3d
Participant

CLI Command for IP sessions

Hello guys,

Which exactly CLI command should I be using to figure out how many connection sessions are running through one IP? (additionally to say, that is my public IP and I want to see how many sessions are there, for example in one time frame)

Is there a command to show you the sessions cross section in that moment, so, current time!?

Thanks in advance!

3 Replies
the_rock
Legend
Legend

0 Kudos
ld3d
Participant

Thanks Andy.

I've already tried commands from above link but all of them are showing real time connections which are being, of course, impossible to catch in one, sort to say snapshot....

 

Following I've tried so far :

fwaccel conns | grep <IP>

netstat -ni | grep <IP>
fw tab -t connections -u -f | grep <IP>

fwaccel conns | grep <IP> | wc -l

 

All of above showing real time dynamically data flow....

What I actually need is one command which will show how many sessions do I have currently  & overview (or in one second) through one IP.

 

Thanks!

0 Kudos
the_rock
Legend
Legend

That, Im not certain if it exists, sorry...

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events