-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use native commands for process list
- Loading branch information
1 parent
af11410
commit 15afdec
Showing
6 changed files
with
190 additions
and
103 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,28 +1,20 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic | ||
Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## Unreleased | ||
|
||
## [0.2.2] - 2021-03-31 | ||
|
||
### Changed | ||
- Updated README | ||
|
||
## [0.2.1] - 2021-03-10 | ||
## [0.1.1] - 2024-09-02 | ||
|
||
### Changed | ||
- Change release github action to use macos-latest so that macos cgo build works | ||
|
||
## [0.2.0] - 2021-03-10 | ||
### Added | ||
|
||
### Changed | ||
- Updated goreleaser to build macOS version with cgo enabled | ||
- Use native commands for getting process list. | ||
|
||
## [0.1.0] - 2020-12-30 | ||
## [0.1.0] - 2023-11-04 | ||
|
||
### Added | ||
|
||
- Initial release | ||
- Added "Top CPU processes" to output. |
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,15 +1,55 @@ | ||
module github.com/makijapan/cpu-process-profiler | ||
|
||
go 1.14 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect | ||
github.com/go-ole/go-ole v1.2.4 // indirect | ||
github.com/sensu-community/sensu-plugin-sdk v0.11.0 | ||
github.com/sensu/sensu-go/api/core/v2 v2.3.0 | ||
github.com/sensu/sensu-go/types v0.3.0 | ||
github.com/shirou/gopsutil v3.20.11+incompatible | ||
github.com/shirou/gopsutil/v3 v3.20.11 | ||
github.com/stretchr/testify v1.6.1 | ||
) | ||
|
||
require ( | ||
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect | ||
github.com/coreos/etcd v3.3.22+incompatible // indirect | ||
github.com/coreos/go-semver v0.3.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect | ||
github.com/echlebek/timeproxy v1.0.0 // indirect | ||
github.com/fsnotify/fsnotify v1.4.7 // indirect | ||
github.com/go-ole/go-ole v1.2.4 // indirect | ||
github.com/gogo/protobuf v1.3.1 // indirect | ||
github.com/golang/protobuf v1.3.2 // indirect | ||
github.com/google/uuid v1.1.1 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.9 // indirect | ||
github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect | ||
github.com/magiconair/properties v1.8.1 // indirect | ||
github.com/mitchellh/mapstructure v1.1.2 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.1 // indirect | ||
github.com/pelletier/go-toml v1.2.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/robertkrimen/otto v0.0.0-20191219234010-c382bd3c16ff // indirect | ||
github.com/robfig/cron/v3 v3.0.1 // indirect | ||
github.com/sensu/sensu-licensing v0.1.2 // indirect | ||
github.com/sirupsen/logrus v1.6.0 // indirect | ||
github.com/spf13/afero v1.1.2 // indirect | ||
github.com/spf13/cast v1.3.0 // indirect | ||
github.com/spf13/cobra v1.0.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.0.0 // indirect | ||
github.com/spf13/pflag v1.0.3 // indirect | ||
github.com/spf13/viper v1.7.0 // indirect | ||
github.com/subosito/gotenv v1.2.0 // indirect | ||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 // indirect | ||
golang.org/x/sys v0.14.0 // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a // indirect | ||
google.golang.org/grpc v1.24.0 // indirect | ||
gopkg.in/ini.v1 v1.51.0 // indirect | ||
gopkg.in/sourcemap.v1 v1.0.5 // indirect | ||
gopkg.in/yaml.v2 v2.3.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect | ||
) |
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
Oops, something went wrong.