No description
Find a file
2022-06-13 17:58:18 +03:00
screenshots README: Change tui screenshot 2022-06-10 12:55:49 +03:00
tui tui: Fix misspell 2022-06-10 12:50:29 +03:00
util info: Remove unused stuff 2022-06-05 23:49:58 +03:00
webui webui: Don't append AVG load 2022-06-13 17:58:18 +03:00
.gitignore update gitignore 2021-12-26 23:26:05 +03:00
.gitlab-ci.yml CI/CD: do not build with -race to avoid errors 2022-05-31 01:50:49 +03:00
go.mod util: Hash cfg password 2022-05-31 01:52:28 +03:00
go.sum util: Hash cfg password 2022-05-31 01:52:28 +03:00
LICENSE Add LICENSE 2021-12-26 20:01:14 +00:00
main.go info: Do not append sensors with value 0 2022-05-24 10:19:07 +03:00
README.md README: Add bcrypt.js to Used libraries list 2022-06-10 09:43:38 +00:00

go-sys-mon

go-sys-mon - A system monitoring tool for Linux written in Go

pipeline status Go Report Card

go-sys-mon supports monitoring of CPU, RAM, disks, network and temperatures. The program features two UI modes: Web UI and Terminal UI.

webui tui

Config

Web UI can be configured using config.yaml, which has to be located at $HOME/.config/go-sys-mon/config.yaml or OS's equivalent. Sample config.yaml can be found in util/cfg. It's automatically loaded when user's config does not exist.

port: 8000
username: admin
password: password

Default values are insecure, so it is strongly advised to change them.

Options

 -h, --help           Help message
 -p, --port=value     Listen port [8000]
 -u, --ui-mode=value  UI mode [web] (web, tui)

Used libraries

Backend (Go):

  1. gopsutil
  2. getopt

Terminal UI (Go):

  1. termdash

Web UI (JavaScript, CSS):

  1. ApexCharts
  2. jQuery
  3. bcrypt.js
  4. Bootstrap 5

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.