go-ps icon indicating copy to clipboard operation
go-ps copied to clipboard

Find, list, and inspect processes from Go (golang).

Results 37 go-ps issues
Sort by recently updated
recently updated
newest added

Executable names are wonky. For example, `/usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal` is truncated to `unattended-upgr`. `unattended-upgr` is not the real executable name. It's not even a filename. It's an incomplete part of...

I wrote small Windows app that writes down list of processes, but it is shorter than what TaskManager shows. It seems that processes that are marked as "process name (32)"...

Process names might be truncated on darwin, linux. This fork here which has the full process executable path, uses filepath.Base(..) to get the full name: https://github.com/keybase/go-ps

This PR adds NetBSD support via [mount_procfs(8)](https://man.netbsd.org/mount_procfs.8). Completely based on Linux one. (It would be probably better to avoid `mount_procfs(8)` because on some setup it can be not present (i.e....

Hi, I am happy to report that process querying is working well with go-ps. Could we add a portable Terminate() function to the process interface? This can help developers to...

example test run on a plan9 host ```rc cpu% ape/uname Plan9 cpu% go test PASS ok github.com/mitchellh/go-ps 0.282s ```

If the process cannot be found, it is better to return an error.

I am trying to make a "super alt f4" for linux, which kills the current active window when you press alt and f4 at the same time, however this package...

Hi, The loop in https://github.com/mitchellh/go-ps/blob/master/process_windows.go#L112 can return false for (A) successfully reaching the end of the list, or (B) some other error. As per https://docs.microsoft.com/en-us/windows/win32/api/tlhelp32/nf-tlhelp32-process32nextw we must check GetLastError() for...