Forum Discussion

gg234_32466's avatar
gg234_32466
Icon for Nimbostratus rankNimbostratus
Jun 30, 2013

View session commands

We are running BIGIP version 10.2.4 and i am looking for the following commands where i can view results through SSH

 

 

1) How to view current active sessions?

 

2)How to view active sessions for perticular virtual server?

 

If we run these commands on production unit is there any performance issues?

 

 

Thanks for your help

 

 

6 Replies

  • 1) b conn show 2) it is not advisable to use on overloaded prod unit. Otherwise, it works like a charm.

     

  • if there are a ton of connections, it is better to also use filter.

    root@ve10(Active)(tmos) show sys connection ?
    Options:
      all-properties  Display all properties for the specified items
      default         Units are determined based on current values
      gig             All values are displayed in giga-units
      kil             All values are displayed in kilo-units
      meg             All values are displayed in mega-units
      raw             No conversions are made to any values
      |               Route command output to a filter
    Properties:
      "{"             Optional delimiter
      age             Specifies the age, in seconds, of a connection
      cs-client-addr  Specifies the clientside remote address of the active connections
      cs-client-port  Specifies the clientside remote port of the active connections
      cs-server-addr  Specifies the clientside local address of the active connections
      cs-server-port  Specifies the clientside local port of the active connections
      protocol        Specifies the protocol used for specified connections (for example: tcp, udp)
      ss-server-addr  Specifies the serverside remote address of the active connections
      ss-server-port  Specifies the serverside remote port of the active connections
      type            Specifies the connnection type used for specified connections (for example: any, mirror, self)
    
  • if there are a ton of connections, it is better to also use filter.

    root@ve10(Active)(tmos) show sys connection ?
    Options:
      all-properties  Display all properties for the specified items
      default         Units are determined based on current values
      gig             All values are displayed in giga-units
      kil             All values are displayed in kilo-units
      meg             All values are displayed in mega-units
      raw             No conversions are made to any values
      |               Route command output to a filter
    Properties:
      "{"             Optional delimiter
      age             Specifies the age, in seconds, of a connection
      cs-client-addr  Specifies the clientside remote address of the active connections
      cs-client-port  Specifies the clientside remote port of the active connections
      cs-server-addr  Specifies the clientside local address of the active connections
      cs-server-port  Specifies the clientside local port of the active connections
      protocol        Specifies the protocol used for specified connections (for example: tcp, udp)
      ss-server-addr  Specifies the serverside remote address of the active connections
      ss-server-port  Specifies the serverside remote port of the active connections
      type            Specifies the connnection type used for specified connections (for example: any, mirror, self)
    
  • Did you ever find a command to display the sessions (users) per vip pool node? Sessions can contain may tcp connections and that is not what I need.

     

    Let me know.

     

    Thanks.