mitchellh / go-ps

Find, list, and inspect processes from Go (golang).
https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc
MIT License
1.47k stars 251 forks source link

Path #40

Open RealHarshThakur opened 4 years ago

RealHarshThakur commented 4 years ago

I wish the path there could be configured, use case being that I have /proc of host mounted in a container. https://github.com/mitchellh/go-ps/blob/master/process_linux.go#L13