Pavlos Ratis
3bb2ff8d85
Update README with the latest changes ( #67 )
2018-04-23 16:44:40 -07:00
Jack Mordaunt
160b358b10
Fixed data race. ( #68 )
2018-03-10 21:24:15 -08: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
Suhas Karanth
0e2aa5d22e
dep ensure -update github.com/go-ole/go-ole ( #70 )
2018-03-03 12:00:58 -08:00
JBD
09ff00a4dd
Add process info ( #59 )
...
Example output:
$ gops <pid>
parent PID: 5985
threads: 27
memory usage: 0.199%
cpu usage: 0.139%
username: jbd
cmd+args: /Applications/Splice.app/Contents/Resources/Splice Helper.app/Contents/MacOS/Splice Helper -pid 5985
local/remote: 127.0.0.1:56765 <-> :0 (LISTEN)
local/remote: 127.0.0.1:56765 <-> 127.0.0.1:50955 (ESTABLISHED)
local/remote: 100.76.175.164:52353 <-> 54.241.191.232:443 (ESTABLISHED)
Fixes #58 .
2018-02-27 19:41:44 -08:00
ferhat elmas
e09130d898
test: remove unused type ( #66 )
2017-12-21 19:26:21 -07:00
ferhat elmas
f4d96179f3
cmd: Use strings.Contains ( #65 )
...
- instead strings.Index check
2017-12-02 20:39:23 -07:00
Nazri Ramliy
2209de1300
Add usage synopsis in help message ( #64 )
2017-11-23 18:41:11 -07:00
Rambone
390a41310a
Report more Stack info, as stack-mspan-inuse、stack-mspan-sys etc. ( #63 )
2017-11-20 10:28:44 -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
Daniel Fireman
ed4f1f24a6
Introducing support to debug.SetGCPercent. ( #56 )
...
* Introducing support to debug.SetGCPercent.
Fixes #8
On my I needed to augment a little bit the communication
protocol to add support to optional parameters.
2017-10-06 17:50:40 -06:00
Pieter Louw
3f15b6d2b6
README: replace agent.Listen nil param with empty Options ( #55 )
2017-10-04 00:22:55 -06:00
JBD
25312cafb9
add missing license headers ( #54 )
2017-09-21 00:33:28 -06:00
JBD
61651220bb
README: godoc should link to the top-level package ( #53 )
2017-09-18 19:21:51 -06:00
Rene Zbinden
6865b1eab5
keep trace and profile files when go tool chain is not available ( #52 )
2017-09-15 15:03:29 -07: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
JBD
1a41b817e5
agent: don't close on interrupt by default ( #49 )
2017-09-11 19:50:16 -07:00
JBD
d38055cdcb
internal, vendor: remove unused code ( #48 )
...
internal object packages are no longer required
given gops depends on rsc.io/goversion/version now.
Also running dep prune to remove the packages
gops doesn't depend from the vendor directory.
2017-09-06 12:15:36 -06:00
Jaana Burcu Dogan
57e77c5c37
agent indicator should be postfix
2017-09-04 23:05:17 -07:00
Jaana Burcu Dogan
a1c72eeaa8
shorthen devel build version string
2017-09-04 20:08:19 -07:00
Jaana Burcu Dogan
f0a29dc244
add PPID to the output
2017-09-04 18:49:17 -07:00
Jaana Burcu Dogan
08cb2394b4
vendor: dep ensure again
2017-09-04 11:54:34 -07:00
Emmanuel T Odeke
d858829db9
goversion: use rsc.io/goversion/version instead of internal package ( #47 )
...
Follow up of
112843115d (commitcomment-23936637)
Solves the problem of us having to manually watch
upstream and pull in bug fixes and updates, if our
internal copy goes stale.
Fixes #22 .
2017-09-04 11:53:45 -07:00
Jaana Burcu Dogan
bfd379ce45
goprocess: report info about a single process
2017-09-04 11:45:49 -07: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
JBD
414c940baf
output better aligned results ( #46 )
...
Before the change, the output looked:
43819 gops go1.9 /Users/jbd/bin/gops
20160 corp-ssh-helper go1.8.1.typealias /usr/local/bin/corp-ssh-helper
30492 dlv go1.9 /Users/jbd/bin/dlv
31212 godoc devel +990dac2723 Fri Jun 30 18:24:58 2017 +0000 /Users/jbd/bin/godoc
18579 mnp_logger go1.7.1 /usr/local/bin/mnp_logger
After the change, it looks:
48071 gops go1.9 /Users/jbd/bin/gops
31212 godoc devel +990dac2723 Fri Jun 30 18:24:58 2017 +0000 /Users/jbd/bin/godoc
18579 mnp_logger go1.7.1 /usr/local/bin/mnp_logger
20160 corp-ssh-helper go1.8.1.typealias /usr/local/bin/corp-ssh-helper
30492 dlv go1.9 /Users/jbd/bin/dlv
44512 gocode devel +990dac2723 Fri Jun 30 18:24:58 2017 +0000 /Users/jbd/bin/gocode
2017-09-01 18:43:29 -06:00
Jaana Burcu Dogan
208dc6473d
support only 1.8 and 1.9
2017-08-29 14:09:23 -07:00
Jaana Burcu Dogan
5c0015f27d
Export Go process reporting section as a package.
2017-08-28 19:33:06 -07:00
Jaana Burcu Dogan
112843115d
report go build version
2017-08-26 14:47:02 -07:00
Jaana Burcu Dogan
806455e841
all: run dep init again
2017-07-28 14:45:08 -07:00
Cezar Sá Espinola
51dfb48038
Print filenames on client for pprof and trace dumps ( #38 )
2017-07-27 00:54:08 -07:00
Jaana Burcu Dogan
ccfb39d854
Do not checkin the vendor directory.
2017-05-12 17:01:12 -07:00
Jaana Burcu Dogan
0ac75a2ac5
Vendor all dependencies.
2017-05-12 16:49:31 -07:00
Jaana Burcu Dogan
467d918128
examples/hello: simplify the minimal example
2017-05-10 14:38:11 -07:00
Jaana Burcu Dogan
62f833fc9f
remove dependencies to github.com/pkg/errors
2017-03-18 17:29:43 -07:00
Shawn Smith
b0c5c02b30
agent: fix godoc typo ( #34 )
2017-03-08 21:06:37 -08:00
Shawn Smith
07a10154a6
add Go 1.8 to travis.yml ( #35 )
2017-03-08 21:05:54 -08: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
Cezar Sá Espinola
c8ccacaea5
agent: prettier formatting for units printed by memstats ( #28 )
2017-02-17 16:06:16 -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
3fe5c6c719
reorg the help text
2017-01-19 18:50:59 -08:00
Jaana Burcu Dogan
fa6968806c
fix godoc
2017-01-19 18:43:31 -08:00
Jaana Burcu Dogan
218c61a1d3
gops: Stat pidfile to determine if agent is working
...
Fixes #27 .
2017-01-19 18:37:32 -08:00
Jaana Burcu Dogan
290a9a1e3d
gops: concurrently lookup for Go processes
2017-01-19 16:35:21 -08:00
Cezar Sá Espinola
ad978d77e6
agent: avoid truncating stacktrace if it's bigger than 64kb ( #29 )
...
Using pprof.Lookup("goroutine") instead of runtime.Stack directly
because the former already takes care of expanding the buffer used with
runtime.Stack until it's big enough for the stack.
2017-01-13 12:27:22 -08:00