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

support non-default mount point for /proc filesystem #38

Open i-prudnikov opened 4 years ago

i-prudnikov commented 4 years ago

Hello, this small extension is for support of non default mount point for /proc filesystem. The use-case here is when running in container and need to track process on a host (host /proc filesystem is mounted inside container into /<some_folder>/proc).