DEV Community

Tomasz Giba
Tomasz Giba

Posted on

How to display Go processes with their commands

you have to have gops installed: https://github.com/google/gops

then:

gops | awk '{print $1}' | xargs ps -o pid,args
Enter fullscreen mode Exit fullscreen mode

Top comments (0)