System info in the browser written in go
Endpoint | Info |
---|---|
/info/cpu/name | Returns CPU model name |
/info/cpu/usage | Returns CPU usage (Realtime) |
/info/cpu/usage/X | Returns CPU usages in last X seconds |
/info/cpu/average | Returns CPU usage average (Realtime) |
/info/cpu/usage/average/X | Returns CPU usage average in last X seconds |
/info/cpu/usage/cinterval/X | Returns the confidence interval according to the usage in last X seconds |
Endpoint | Info |
---|---|
/info/gpu/name | Returns GPU name |
Endpoint | Info |
---|---|
/info/mem/available | Returns available memory |
/info/mem/total | Returns total memory |
/info/mem/usage | Returns memory usage (in MiB) |
/info/mem/usagepercent | Returns memory usage (percent) |
Endpoint | Info |
---|---|
/info/disks | Returns Partitions names |
/info/disks/PARTNAME/size | Returns partition size |
Endpoint | Info |
---|---|
/info/os/desktop | Returns Desktop Environment |
/info/os/hostname | Returns hostname |
/info/os/kernel | Returns kernel name |
/info/os/name | Returns distro name |
/info/os/uptime | Returns uptime |