1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 03:22:08 +02:00
tldr/pages/common/gops.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

24 lines
440 B
Markdown

# gops
> List and diagnose Go processes currently running on your system.
> More information: <https://github.com/google/gops>.
- Print all go processes running locally:
`gops`
- Print more information about a process:
`gops {{pid}}`
- Display a process tree:
`gops tree`
- Print the current stack trace from a target program:
`gops stack {{pid|addr}}`
- Print the current runtime memory statistics:
`gops memstats {{pid|addr}}`