Hi guys
I'm trying to understand the output from .rtreport info. I wrote a bash script to just grab the info but noticed on 4 cpu license litespeed, the lsphp5 stats only come attached to one file .rtreport.2 which is cpu #2 right ?
.rtreport = cpu #1
.rtreport.2 = cpu #2
.rtreport.3 = cpu #3
.rtreport.4 = cpu #4
Is this correct ? So is lsphp5 always just attached to .rtreport.2 ?
I see with my VPS Litespeed license with 1 cpu, i only see .rtreport and lsphp5 is attached there.
Trying to understand the stats and why lsphp5 stats is only shown in .rtreport.2 ?
sample output
From my script
for single cpu VPS license
thanks
I'm trying to understand the output from .rtreport info. I wrote a bash script to just grab the info but noticed on 4 cpu license litespeed, the lsphp5 stats only come attached to one file .rtreport.2 which is cpu #2 right ?
.rtreport = cpu #1
.rtreport.2 = cpu #2
.rtreport.3 = cpu #3
.rtreport.4 = cpu #4
Is this correct ? So is lsphp5 always just attached to .rtreport.2 ?
I see with my VPS Litespeed license with 1 cpu, i only see .rtreport and lsphp5 is attached there.
Trying to understand the stats and why lsphp5 stats is only shown in .rtreport.2 ?
sample output
Code:
cat /tmp/lshttpd/.rtreport*
Code:
VERSION: LiteSpeed Web Server/Enterprise/4.1.8
UPTIME: 00:07:32
BPS_IN: 0, BPS_OUT: 0, SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 2000, MAXSSL_CONN: 500, PLAINCONN: 0, AVAILCONN: 2000, IDLECONN: 0, SSLCONN: 0, AVAILSSL: 500
REQ_RATE []: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_hostname.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [_AdminVHost]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_*_host2.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 2, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_host2.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
BLOCKED_IP:
EOF
VERSION: LiteSpeed Web Server/Enterprise/4.1.8
UPTIME: 00:07:31
BPS_IN: 3, BPS_OUT: 5, SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 2000, MAXSSL_CONN: 500, PLAINCONN: 12, AVAILCONN: 1988, IDLECONN: 12, SSLCONN: 0, AVAILSSL: 500
REQ_RATE []: REQ_PROCESSING: 0, REQ_PER_SEC: 3.7, TOT_REQS: 684, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_hostname.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 3.7, TOT_REQS: 683, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [_AdminVHost]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_*_host2.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_host2.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
EXTAPP [LSAPI] [] [lsphp5]: CMAXCONN: 40, EMAXCONN: 40, POOL_SIZE: 3, INUSE_CONN: 0, IDLE_CONN: 3, WAITQUE_DEPTH: 0, REQ_PER_SEC: 0.9, TOT_REQS: 351
BLOCKED_IP:
EOF
VERSION: LiteSpeed Web Server/Enterprise/4.1.8
UPTIME: 00:07:32
BPS_IN: 0, BPS_OUT: 0, SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 2000, MAXSSL_CONN: 500, PLAINCONN: 0, AVAILCONN: 2000, IDLECONN: 0, SSLCONN: 0, AVAILSSL: 500
REQ_RATE []: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_hostname.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [_AdminVHost]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_*_host2.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_host2.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
BLOCKED_IP:
EOF
VERSION: LiteSpeed Web Server/Enterprise/4.1.8
UPTIME: 00:07:32
BPS_IN: 0, BPS_OUT: 0, SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 2000, MAXSSL_CONN: 500, PLAINCONN: 0, AVAILCONN: 2000, IDLECONN: 0, SSLCONN: 0, AVAILSSL: 500
REQ_RATE []: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_hostname.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [_AdminVHost]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_*_host2.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
REQ_RATE [APVH_host2.domainname.net]: REQ_PROCESSING: 0, REQ_PER_SEC: 0.0, TOT_REQS: 0, CACHE_HITS_PER_SEC: 0.0, TOTAL_CACHE_HITS: 0
BLOCKED_IP:
EOF
Code:
./litestat.sh
Code:
.rtreport
-------------------------------------------------------------
VERSION: LiteSpeed Web Server/Enterprise/4.1.8
UPTIME: 00:07:34
BPS_IN: 0, BPS_OUT: 0,
SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 2000, PLAINCONN: 0, AVAILCONN: 2000, IDLECONN: 0,
MAXSSL_CONN: 500, SSLCONN: 0, AVAILSSL: 500
REQ_RATE REQ_PROCESSING: 0 REQ_PER_SEC: 0 TOT_REQS: 2
CACHE_HITS_PER_SEC: 0 TOTAL_CACHE_HITS: 0
-------------------------------------------------------------
.rtreport.2
-------------------------------------------------------------
VERSION: LiteSpeed Web Server/Enterprise/4.1.8
UPTIME: 00:07:34
BPS_IN: 3, BPS_OUT: 5,
SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 2000, PLAINCONN: 16, AVAILCONN: 1984, IDLECONN: 16,
MAXSSL_CONN: 500, SSLCONN: 0, AVAILSSL: 500
REQ_RATE REQ_PROCESSING: 0 REQ_PER_SEC: 7.4 TOT_REQS: 1367
CACHE_HITS_PER_SEC: 0 TOTAL_CACHE_HITS: 0
[lsphp5]: CMAXCONN: 40, EMAXCONN: 40, POOL_SIZE: 3,
[lsphp5]: INUSE_CONN: 0, IDLE_CONN: 3,
[lsphp5]: WAITQUE_DEPTH: 0, REQ_PER_SEC: 0.9, TOT_REQS: 351
-------------------------------------------------------------
.rtreport.3
-------------------------------------------------------------
VERSION: LiteSpeed Web Server/Enterprise/4.1.8
UPTIME: 00:07:34
BPS_IN: 0, BPS_OUT: 0,
SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 2000, PLAINCONN: 0, AVAILCONN: 2000, IDLECONN: 0,
MAXSSL_CONN: 500, SSLCONN: 0, AVAILSSL: 500
REQ_RATE REQ_PROCESSING: 0 REQ_PER_SEC: 0 TOT_REQS: 0
CACHE_HITS_PER_SEC: 0 TOTAL_CACHE_HITS: 0
-------------------------------------------------------------
.rtreport.4
-------------------------------------------------------------
VERSION: LiteSpeed Web Server/Enterprise/4.1.8
UPTIME: 00:07:34
BPS_IN: 0, BPS_OUT: 0,
SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 2000, PLAINCONN: 0, AVAILCONN: 2000, IDLECONN: 0,
MAXSSL_CONN: 500, SSLCONN: 0, AVAILSSL: 500
REQ_RATE REQ_PROCESSING: 0 REQ_PER_SEC: 0 TOT_REQS: 0
CACHE_HITS_PER_SEC: 0 TOTAL_CACHE_HITS: 0
-------------------------------------------------------------
Code:
.rtreport
-------------------------------------------------------------
VERSION: LiteSpeed Web Server/Enterprise/4.1.8
UPTIME: 07:36:36
BPS_IN: 0, BPS_OUT: 0,
SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 2000, PLAINCONN: 0, AVAILCONN: 2000, IDLECONN: 0,
MAXSSL_CONN: 500, SSLCONN: 0, AVAILSSL: 500
REQ_RATE REQ_PROCESSING: 0 REQ_PER_SEC: 0 TOT_REQS: 2826
CACHE_HITS_PER_SEC: 0 TOTAL_CACHE_HITS: 0
[lsphp5]: CMAXCONN: 35, EMAXCONN: 35, POOL_SIZE: 2,
[lsphp5]: INUSE_CONN: 0, IDLE_CONN: 2,
[lsphp5]: WAITQUE_DEPTH: 0, REQ_PER_SEC: 0.0, TOT_REQS: 772
-------------------------------------------------------------