-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Apple Silicon binary and fix its CPU clock speed
by updating the deps. Also remove some an overkill dependency (minio/minio) by switching to getting disk info from an existing one (shirou/gopsutil). Finally update docs a bit, in particular I should be less harsh on myself. :P Fixes #2
- Loading branch information
Showing
10 changed files
with
177 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
# This is a configuration file example. | ||
# It is completely optional. The values below represent the defaults. | ||
|
||
# empty line is an empty line, duh | ||
rows: | ||
- "timestamp" | ||
- "" | ||
- "fqdn" | ||
- "ip" | ||
- "uptime" | ||
- "" | ||
- "load" | ||
- "memory" | ||
- "diskspace" | ||
- timestamp | ||
- | ||
- fqdn | ||
- ip | ||
- uptime | ||
- | ||
- load | ||
- memory | ||
- diskspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,51 @@ | ||
module github.com/gdubicki/dynamotd | ||
|
||
go 1.17 | ||
go 1.22 | ||
|
||
require ( | ||
github.com/Showmax/go-fqdn v0.0.0-20180501083314-6f60894d629f | ||
github.com/Showmax/go-fqdn v1.0.0 | ||
github.com/Tonyfilla/go-humanize v0.0.0-20190109114339-dd7dcc22b778 | ||
github.com/fatih/color v1.13.0 | ||
github.com/mackerelio/go-osstat v0.2.1 | ||
github.com/minio/minio v0.0.0-20200926040242-511424a287e7 | ||
github.com/shirou/gopsutil v3.21.11+incompatible | ||
github.com/spf13/viper v1.6.1 | ||
github.com/stretchr/testify v1.4.0 | ||
github.com/fatih/color v1.16.0 | ||
github.com/mackerelio/go-osstat v0.2.4 | ||
github.com/shirou/gopsutil/v3 v3.24.2 | ||
github.com/spf13/viper v1.18.2 | ||
github.com/stretchr/testify v1.9.0 | ||
) | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/dustin/go-humanize v1.0.0 // indirect | ||
github.com/fsnotify/fsnotify v1.4.7 // indirect | ||
github.com/go-ole/go-ole v1.2.6 // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/fsnotify/fsnotify v1.7.0 // indirect | ||
github.com/go-ole/go-ole v1.3.0 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/magiconair/properties v1.8.1 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/mitchellh/mapstructure v1.1.2 // indirect | ||
github.com/montanaflynn/stats v0.5.0 // indirect | ||
github.com/lufia/plan9stats v0.0.0-20240226150601-1dcf7310316a // indirect | ||
github.com/magiconair/properties v1.8.7 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/montanaflynn/stats v0.7.1 // indirect | ||
github.com/ncw/directio v1.0.5 // indirect | ||
github.com/pelletier/go-toml v1.2.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/spf13/afero v1.1.2 // indirect | ||
github.com/spf13/cast v1.3.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.0.0 // indirect | ||
github.com/spf13/pflag v1.0.3 // indirect | ||
github.com/subosito/gotenv v1.2.0 // indirect | ||
github.com/tklauser/go-sysconf v0.3.10 // indirect | ||
github.com/tklauser/numcpus v0.4.0 // indirect | ||
github.com/yusufpapurcu/wmi v1.2.2 // indirect | ||
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27 // indirect | ||
golang.org/x/text v0.3.3 // indirect | ||
gopkg.in/ini.v1 v1.57.0 // indirect | ||
gopkg.in/yaml.v2 v2.2.8 // indirect | ||
github.com/pelletier/go-toml v1.9.5 // indirect | ||
github.com/pelletier/go-toml/v2 v2.1.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect | ||
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect | ||
github.com/sagikazarmark/locafero v0.4.0 // indirect | ||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect | ||
github.com/shoenig/go-m1cpu v0.1.6 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/spf13/afero v1.11.0 // indirect | ||
github.com/spf13/cast v1.6.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
github.com/tklauser/go-sysconf v0.3.13 // indirect | ||
github.com/tklauser/numcpus v0.7.0 // indirect | ||
github.com/yusufpapurcu/wmi v1.2.4 // indirect | ||
go.uber.org/atomic v1.11.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect | ||
golang.org/x/sys v0.18.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
gopkg.in/ini.v1 v1.67.0 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.