Forum Discussion

Patrik_Jonsson's avatar
Nov 06, 2016

Get system compression statistics from command line?

Hi!

Does anyone know a way of getting system wide compression throughput from the command line? I need to get certain metrics limited by licenses, but have only found SSL TPS and throughput via tmsh, not compression.

Tmsh and bash is what I'm allowed to use and I can't use SNMP as it has to be compatible with all systems, even those with SNMP disabled (doing this for a client with very specific needs and methods).

Example:

show sys performance all-stats

Sys::Performance System
-------------------------------------------------------------------
System CPU Usage(%)  Current  Average  Max(since 11/06/16 12:37:17)
-------------------------------------------------------------------
Utilization               28       28                            43

-------------------------------------------------------------------
Memory Used(%)       Current  Average  Max(since 11/06/16 12:37:17)
-------------------------------------------------------------------
TMM Memory Used           11       11                            11
Other Memory Used         63       63                            63
Swap Used                  0        0                             0


Sys::Performance Connections
---------------------------------------------------------------------------
Active Connections           Current  Average  Max(since 11/06/16 12:37:17)
---------------------------------------------------------------------------
Connections                    45.1K    43.2K                         49.4K

---------------------------------------------------------------------------
Total New Connections(/sec)  Current  Average  Max(since 11/06/16 12:37:17)
---------------------------------------------------------------------------
Client Connections               916      962                          1.1K
Server Connections               745      782                           922

---------------------------------------------------------------------------
HTTP Requests(/sec)          Current  Average  Max(since 11/06/16 12:37:17)
---------------------------------------------------------------------------
HTTP Requests                   2.8K     2.8K                          3.3K


Sys::Performance Throughput
-----------------------------------------------------------------------------
Throughput(bits)(bits/sec)     Current  Average  Max(since 11/06/16 12:37:17)
-----------------------------------------------------------------------------
Service                         644.2M   622.5M                        807.2M
In                              659.1M   638.1M                        828.2M
Out                             303.5M   300.6M                        375.6M

-----------------------------------------------------------------------------
SSL Transactions               Current  Average  Max(since 11/06/16 12:37:17)
-----------------------------------------------------------------------------
SSL TPS                            599      640                           790

-----------------------------------------------------------------------------
Throughput(packets)(pkts/sec)  Current  Average  Max(since 11/06/16 12:37:17)
-----------------------------------------------------------------------------
Service                          78.7K    77.1K                         97.6K
In                               78.5K    77.1K                         97.8K
Out                              68.4K    67.8K                         84.1K


Sys::Performance Ramcache
------------------------------------------------------------------------
RAM Cache Utilization(%)  Current  Average  Max(since 11/06/16 12:37:17)
------------------------------------------------------------------------
Hit Rate                       61       63                            70
Byte Rate                      67       67                            75
Eviction Rate                   8       14                            28

Any input appreciated!

/Patrik