Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
litespeed_wiki:config:real-time-stats [2020/12/08 20:26]
Lisa Clarke Extensive copyediting, fixes to inaccuracies
litespeed_wiki:config:real-time-stats [2020/12/08 20:42]
Lisa Clarke Extensive copyediting, fixes to inaccuracies
Line 5: Line 5:
 You can view LiteSpeed Web Server statistics in realtime. Navigate to **WebAdmin Console > Actions > Real-Time Stats**. You can view LiteSpeed Web Server statistics in realtime. Navigate to **WebAdmin Console > Actions > Real-Time Stats**.
  
-{{:​litespeed_wiki:​config:​lsws-realtime-stats-interval.png|}} +The Real-Time Stats report ​is a convenient tool for monitoring the system, as it shows a snapshot of your server statistics. The report contains the following sections:
- +
-This is a convenient tool for monitoring the system, as it shows a snapshot of your server statistics. ​You can control the refresh rate for this snapshot through the **Refresh Interval** drop-down list in the upper right corner. You can refresh anywhere from every five minutes to every ten seconds, or select ''​Stop''​ to avoid refreshing at all. +
- +
-The Real-Time Stats report contains the following sections:+
  
    * **Server Health** displays basic server statistics, uptime, load, and anti-DDoS blocked IPs.    * **Server Health** displays basic server statistics, uptime, load, and anti-DDoS blocked IPs.
Line 15: Line 11:
    * **Virtual Host** shows request processing statuses and external application statuses for each virtual host.    * **Virtual Host** shows request processing statuses and external application statuses for each virtual host.
    * **External Application** lists the external applications currently running and their usage statistics. The CGI daemon process ''​lscgid''​ is always running as an external application.    * **External Application** lists the external applications currently running and their usage statistics. The CGI daemon process ''​lscgid''​ is always running as an external application.
 +
 +{{:​litespeed_wiki:​config:​lsws-realtime-stats-interval.png|}}
 +
 +You can control the refresh rate for this data through the **Refresh Interval** drop-down list in the upper right corner. You can refresh anywhere from every five minutes to every ten seconds, or select ''​Stop''​ to avoid refreshing at all.
  
 {{:​litespeed_wiki:​config:​lsws-realtime-stats-details.png|}} {{:​litespeed_wiki:​config:​lsws-realtime-stats-details.png|}}
Line 34: Line 34:
  
 **NOTE**: Be sure the ''​lsadm''​ user belongs to the same group as the ''​lshttpd''​ directory and the ''​.status''​ and ''​.rtreport''​ files, otherwise, ''​lsadm''​ will be unable to populate the **Real-Time Stats** screen. **NOTE**: Be sure the ''​lsadm''​ user belongs to the same group as the ''​lshttpd''​ directory and the ''​.status''​ and ''​.rtreport''​ files, otherwise, ''​lsadm''​ will be unable to populate the **Real-Time Stats** screen.
 +
 +**NOTE**: For backwards compatibility,​ LSWS actually writes to ''/​dev/​shm''​ for the ''​.rtreport''​ files. So, ''/​tmp/​lshttpd/​.rtreport''​ is a symbolic link to ''/​dev/​shm/​lsws/​status/​.rtreport'',​ ''/​tmp/​lshttpd/​.rtreport.2''​ is a symbolic link to ''/​dev/​shm/​lsws/​status/​.rtreport.2'',​ and so on.
  
 ===== Accessing the Data Directly ===== ===== Accessing the Data Directly =====
Line 44: Line 46:
  
 Remember, there will be additional ''​.rtreport''​ files if you have multiple workers. You may ''​cat''​ any one of them. Remember, there will be additional ''​.rtreport''​ files if you have multiple workers. You may ''​cat''​ any one of them.
 +
 +**NOTE**: There is no auto-cleanup of ''​.rtreport''​ files, so if you have downgraded from four workers to two (for example) the old ''​.rtreport.3''​ and ''​.rtreport.4''​ files will remain. You can tell they are no longer used, if you look at the timestamp.
  
 ==== Through the Local Admin Port ==== ==== Through the Local Admin Port ====
Line 54: Line 58:
  
 The ''​-k''​ parameter is used if you have a self-signed certificate. The ''​-k''​ parameter is used if you have a self-signed certificate.
 +
 +**NOTE**: The status summary is essentially a concatenation of all of the ''​.rtreport''​ files. If you have multiple workers, then there will be multiple sections, which are not combined. If you wish to see a full picture, you will need to manually add up the values.
  
 === Change Status Page Password === === Change Status Page Password ===
  • Admin
  • Last modified: 2023/03/25 15:00
  • by Lisa Clarke