1
0
mirror of https://github.com/google/gops.git synced 2024-11-24 08:22:25 +02:00
Commit Graph

37 Commits

Author SHA1 Message Date
Tobias Klauser
f5057debe6 README.md: update installation instructions
Using `go get -u github.com/google/gops` fails to install gops when
using Go modules. Update the installation instructions accordingly.

For #147
2021-07-15 10:52:58 +02:00
Tobias Klauser
8918f15c19 Allow to specify CPU usage period as duration string
The current implementation assumes the given duration in seconds.
Instead, also allow to specify a duration in the format as expected by
`time.ParseDuration` and use that if found. If a plain integer is
specified, it is still parsed as a duration in seconds.
2021-07-01 12:01:38 +02:00
Tobias Klauser
f870d0110a Restore CPU usage report format
Commit 78435f89 changed the existing output format for the CPU usage
from `cpu usage:` to `cpu usage (all):`.

This might break existing scripts relying on this format. Revert that
part of the change and only report the CPU usage for the given period
with a suffix:

cpu usage:	0.087%
cpu usage (1s):	1.42%
2021-07-01 12:01:38 +02:00
村口大白鹅
78435f89d8
Support for reporting the percent of CPU time usage within given time (#143) 2021-04-17 13:14:45 -07:00
Tobias Klauser
81f7a00714 README.md: add GitHub action status badge 2021-03-01 10:00:41 +01:00
sans
6fb0d860e5
README.md: fix typo (#119) 2020-08-12 11:16:51 +02:00
Pavlos Ratis
3bb2ff8d85 Update README with the latest changes (#67) 2018-04-23 16:44:40 -07:00
Pavlos Ratis
48c083dd34 add command to display a process tree (#72)
Implemented a command, where users can list all running Go
processes in a tree-like format (like pstree).

Example:

$ gops tree
...
├── 13744
│   └── 71746 (gops) {go1.10}
├── 1
│   └── 13962 (gocode) {go1.9}
└── 557
    └── 635 (com.docker.supervisor) {go1.9.2}
        └── 638 (com.docker.driver.amd64-linux) {go1.9.2}
2018-03-10 19:43:39 -08:00
Rambone
dcc978d6e8 make ConfigDir configurable (#61)
make ConfigDir configurable

* internal: retrieve ConfigDir from GOPS_CONFIG_DIR environment variable

* make code graceful

* code optimize
2017-11-13 00:52:04 -07:00
JBD
ce0552a598 README: document setgc (#57) 2017-10-08 12:11:38 -06:00
Pieter Louw
3f15b6d2b6 README: replace agent.Listen nil param with empty Options (#55) 2017-10-04 00:22:55 -06:00
JBD
61651220bb README: godoc should link to the top-level package (#53) 2017-09-18 19:21:51 -06:00
Pavlos Ratis
f6c95cf224 Update gops snippets to match the new output (#50)
* update README snippets to reflect the new output

Updated the sample output in the README to match the
properly tabulated output when actually running the program.
2017-09-13 16:09:42 -06:00
Jaana Burcu Dogan
a5b317229c README: add build status badge 2017-09-04 11:23:37 -07:00
Jaana Burcu Dogan
8d0aff5e37 switch to Circle CI 2017-09-04 10:09:16 -07:00
Jaana Burcu Dogan
2a9a4ad991 README: move badges to the next line 2017-09-04 09:45:22 -07:00
Jaana Burcu Dogan
e1d2345403 doc: fix title on README 2017-03-02 11:52:43 -08:00
Nick K
288e543fee add remote mode support (#30) 2017-03-02 11:51:14 -08:00
Jaana Burcu Dogan
35b841e24e doc: reorganize the README 2017-01-20 13:19:03 -08:00
Jaana Burcu Dogan
671bd43984 gops: add Go execution trace support 2017-01-20 13:10:54 -08:00
Jaana Burcu Dogan
0e47ba961c rename vitals to stats 2017-01-03 01:15:13 -08:00
Jaana Burcu Dogan
6379e59497 Remove the -p flag.
Fixes #25.
2017-01-01 19:54:15 -08:00
Jaana Burcu Dogan
62d2faba6c fix README example 2016-12-20 12:27:39 -08:00
kakilangit
edc722bd55 fix typo in README and usage (#18) 2016-11-20 13:16:04 -08:00
Alejandro Ramon Lopez del Huerto
282d5a56fb doc: improve README and update usage (#17) 2016-11-16 12:38:16 -08:00
Jaana Burcu Dogan
d63e5ab6fc add godoc link 2016-11-14 00:08:34 -08:00
Jaana Burcu Dogan
9071219631 rewrite README 2016-11-13 22:29:02 -08:00
Jaana Burcu Dogan
ba1069cb7e update the README with new memstats 2016-11-13 21:21:35 -08:00
Jaana Burcu Dogan
c15b304160 add build status 2016-11-11 15:44:07 -08:00
Javier Revillas
182163fe68 Update README.md 2016-11-11 21:05:26 +01:00
Jaana Burcu Dogan
e10f24b4b1 add reference to the hello example 2016-11-11 11:50:47 -08:00
Jaana Burcu Dogan
d0e8d851b4 update README 2016-11-11 11:45:10 -08:00
Jaana Burcu Dogan
b2dafa5046 update README 2016-11-07 17:30:53 -08:00
Jaana Burcu Dogan
ade9a5218e diagnostics are unix-only for now 2016-11-06 00:01:48 -07:00
Jaana Burcu Dogan
acea89ce32 fix help text 2016-11-05 23:59:24 -07:00
Jaana Burcu Dogan
a41a298324 fix indentation 2016-11-05 23:50:39 -07:00
Jaana Burcu Dogan
6243ec9b2a add README 2016-11-05 23:49:51 -07:00