Repository Details
Shared by


HelloGitHub Rating
0 ratings
Free•BSD-3-Clause
Claim
Discuss
Collect
Share
6.9k
Stars
No
Chinese
Go
Language
Yes
Active
43
Contributors
31
Issues
Yes
Organization
0.3.28
Latest
337
Forks
BSD-3-Clause
License
More
展示当前系统运行了哪些 Go 程序的工具,同时支持深入分析的参数
```
# 展示当前运行的所有 Go 程序
$ gops
983 980 uplink-soecks go1.9 /usr/local/bin/uplink-soecks
52697 52695 gops go1.10 /Users/jbd/bin/gops
4132 4130 foops * go1.9 /Users/jbd/bin/foops
51130 51128 gocode go1.9.2 /Users/jbd/bin/gocode
# 某一个 Go 程序的详细信息
$ 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)
```
Included in:
Vol.48
Comments
Rating:
No comments yet