I wanted to have a simple way of checking out my Raspberry Pi's board temperature, storage space, memory usage and other stats' so I cobbled together some php and bash to serve up using the webserver on my Raspberry Pi.
-
The page takes at least 1 second to load in order to take two samples of the network Tx/Rx bit-count a second apart in order to determine the current transfer rates.
-
Clearly I should be using an MVC rather than the inline-nightmare I've created.
- Clone this repo somewhere your webserver can see it.
- Cross Fingers.
- Point your browser at your webserver.