Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
56% | Total: 563 | All time: 5,423 This week: 80 |
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
}
Files (11) |
File | Role | Description | ||
---|---|---|---|---|
bin (2 files) | ||||
src (5 files) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Data | Auxiliary data | ||
README.md | Doc. | Auxiliary data | ||
serverstat.conf | Data | Auxiliary data |
Files (11) | / | bin |
File | Role | Description |
---|---|---|
serverstat | Appl. | Auxiliary data |
serverstatd | Aux. | Auxiliary data |
Files (11) | / | src |
File | Role | Description |
---|---|---|
ConfigurationReader.php | Class | Class source |
InformationCollector.php | Class | Class source |
Storage.php | Class | Class source |
WebServer.php | Class | Class source |
WindowsInformation.php | 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. |
Install with Composer |
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.