|
|
5 лет назад | |
|---|---|---|
| bin | 6 лет назад | |
| cmd | 5 лет назад | |
| .gitignore | 6 лет назад | |
| Makefile | 6 лет назад | |
| README.md | 6 лет назад | |
| cpu.go | 5 лет назад | |
| gupta.go | 5 лет назад | |
| gupta_test.go | 5 лет назад | |
| memory.go | 6 лет назад | |
| memory_test.go | 5 лет назад |
A minial metric collection system which polls:
Fondly named gupta, for my bud.
You need go in version 1.12 at least. On a linux based system just type
$ make build
This will place the built program in the bin/ directory.
To install the program into your system:
$ sudo make install
On a linux based system just type make build
$ make test
$ gutpa [-c|-l|-m|-p <partition>|-n <interface>] [-i <sec>]
You should see something like this:
$ gupta -c
{
"timestamp": <epoch>,
"metrics": [
{"name": "cpu user", "metric": 60.0},
...
]
}
$ sudo make uninstall