1
0
mirror of https://github.com/google/gops.git synced 2024-11-27 08:31:17 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
JBD
9fda3b87c7 Add Go modules and missing vendored file 2019-01-25 10:45:53 -08:00
Shi Han
e4108e7e73 address breaking changes from xlab/treeprint (#84)
A PR of xlab/treeprint (https://github.com/xlab/treeprint/pull/6)
which was merged might break gops in the future.
The PR removed treeprint.EdgeTypeStart. To set the root node,
we can now use SetValue(value Value) instead.

In this commit,

    dep ensure -update github.com/xlab/treeprint

was executed to update the library and then fix is applied.
2018-07-11 10:08:06 -07:00
Michal Rostecki
62b4d22266 vendor: dep ensure -update github.com/shirou/gopsutil (#79)
gopsutil library is licensed under BSD, but the previous version
contained some GPL-licensed code which is a violation of GPL
license. The updated version doesn't contain GPL-licensed code
anymore.

https://github.com/shirou/gopsutil/issues/518
2018-04-29 22:11:38 -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
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
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
08cb2394b4 vendor: dep ensure again 2017-09-04 11:54:34 -07:00
Jaana Burcu Dogan
806455e841 all: run dep init again 2017-07-28 14:45: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