| Recommend this page to a friend! | 
| Info | Documentation | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Total: 564 | All time:  5,424 This week: 60 | |||||
| Version | License | PHP version | Categories | |||
| serverstat 1.4 | BSD License | 5.3 | System information, Statistics, Unix, W..., W... | 
| Description | Author  | |||
This package can monitor machine resources using own Web server. Innovation Award 
  | 
ServerStat is a server monitoring software that tracks cpu, mem and swap.
It's a web server and daemon that saves monitoring statistics and allows access it via ajax request.
serverstat is a standalone web server that reads data from storage and outputs it in web. serverstatd is a daemon that keeps system information and stores it in storage.
File serverstat.conf:
storage* - can be file only.
period* - time between checks system status.
typeperf* - a counter name for typeperf utility.
Run daemon serverstatd.
Run server serverstat and provide port (if you want) of server: serverstat --port 83.
Typical serverstat response on any request is:
{  
   "processors":4,
   "processor_load":24,
   "memory":{  
      "total":"8499281920",
      "free":"2103896",
      "busy":8497178024
   },
   "swap":{  
      "total":0,
      "free":"0",
      "busy":0
   },
   "tasks":{  
      "total":105,
      "running":0
   },
   "uptime":30488
}
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Doc. | Auxiliary data | |||
| Data | Auxiliary data | |||
| / | bin | 
| File | Role | Description | 
|---|---|---|
|    | 
Appl. | Auxiliary data | 
|    | 
Aux. | Auxiliary data | 
| / | src | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
  | 
  | 
| User Ratings | ||||||||||||||||||||||||||||||
  | ||||||||||||||||||||||||||||||
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.