CPU, Memory and Disk stat tool written in Go
A library for reading:
- /proc/stat
- /proc/meminfo
at a set interval.
+-----------+
| processor |- StatProcessor(statProcessor, chan)
+-----------+
|-- Process() -> []core.Stat{}
+-----------------+
| ResettingReader | Open(reader.DataSource)
+-----------------+
|-- Read() -> [][]string
+---------+
| io.File |
+---------+
|-- Seek()
\-- Read()
- disk stats (% used, io rates)
- net stats (kb/s?)
- /proc//stat