Server Stats

This is a simple module that log and graph some server statistics.

When the ServerStats module is enabled (Modules --> Server Stats), the serverload and servermemory are logged using the RRDtool.
These graphs can be found on the System Stats page (right menu: System, Statistics)

The values used here come from kernel through:

$ cat /proc/loadavg
0.02 0.07 0.13 1/226 8747
$ cat /proc/meminfo 
MemTotal:         974640 kB
MemFree:           36272 kB
Buffers:           70284 kB
Cached:           498788 kB
SwapCached:            0 kB
Active:           456372 kB
Inactive:         270980 kB
Active(anon):     158740 kB
...

From loadavg, the first three values are used, see Wikipedia for the meaning of these values.
From meminfo, the first four lines are used.

Related Resources

Official site: http://oss.oetiker.ch/rrdtool/

    Updated by: danfos, Updated almost 3 years ago
    Access count: 43694 since 2014-07-27

    Server_performance.png (26.4 KB) danfos, 07/27/2014 01:52 PM

    Also available in: PDF HTML TXT