Operating System - HP-UX
1826347 Members
4059 Online
109692 Solutions
New Discussion

Re: Capture Active sessions, duration of connection for a period of time.

 
Bachala
Advisor

Capture Active sessions, duration of connection for a period of time.

Hi
I need to capture number of connections/sessions for each day to determine peak amount of users. This will provide me information on how many idle sessions are there everyday and will give me an idea to increase license also. Please let me know if any of you have written code or set parameters to determine the same.
1 REPLY 1
Brian Hackley
Honored Contributor

Re: Capture Active sessions, duration of connection for a period of time.

Hi my thought was to use tcpdump or WireShark with a capture filter. Filtering on the TCP port # of the application, and only looking for TCP SYN. Compiled versions of these tools may be found at the HP-UX Software Archive and Porting Centre, http://hpux.connect.org.uk/ . Usage help at www.wireshark.org and http://www.tcpdump.org/tcpdump_man.html
Alternatively, one could use IPFilter to log the incoming TCP SYN packets for that port. IPF comes with the HP OEs and you'll probably have it on your system. Check with ipf -V (upper case). IP Admin guide for the version on your system is at: http://docs.hp.com/en/internet.html#IPFilter . Hope that helps.
Ask me about telecommuting!