-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report process info #58
Comments
That'd be amazing and quite useful for folks running stuff on the cloud. The number of open files most especially. Thanks for filing this issue. |
We can import gopsutil into the agent and make it work on the remote processes as well. I am taking my words back that it will be an asymmetrical feature. Do you want me to assign this to myself and send out a change? |
Please do so. |
rakyll
added a commit
to rakyll/gops
that referenced
this issue
Oct 22, 2017
Example output: $ gops <pid> threads: 14 memory usage: 0.090% cpu usage: 0.088% username: jbd cmd+args: /Users/jbd/bin/gocode -s -sock unix -addr 127.0.0.1:37373 Fixes google#58.
Merged
rakyll
added a commit
to rakyll/gops
that referenced
this issue
Feb 28, 2018
Example output: $ gops <pid> threads: 14 memory usage: 0.090% cpu usage: 0.088% username: jbd cmd+args: /Users/jbd/bin/gocode -s -sock unix -addr 127.0.0.1:37373 Fixes google#58.
rakyll
added a commit
to rakyll/gops
that referenced
this issue
Feb 28, 2018
Example output: $ gops <pid> threads: 14 memory usage: 0.090% cpu usage: 0.088% username: jbd cmd+args: /Users/jbd/bin/gocode -s -sock unix -addr 127.0.0.1:37373 Fixes google#58.
rakyll
added a commit
to rakyll/gops
that referenced
this issue
Feb 28, 2018
Example output: $ gops <pid> threads: 14 memory usage: 0.090% cpu usage: 0.088% username: jbd cmd+args: /Users/jbd/bin/gocode -s -sock unix -addr 127.0.0.1:37373 Fixes google#58.
rakyll
added a commit
that referenced
this issue
Feb 28, 2018
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gops can report more process info (e.g. https://godoc.org/github.com/shirou/gopsutil/process) for a PID. The only downside is that this command will be asymmetrical because we cannot provide the same functionality for the processes working remotely.
@odeke-em, what do you think?
The text was updated successfully, but these errors were encountered: