You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
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 the directory name supplied as a command line argument.
The text was updated successfully, but these errors were encountered:
Hello! This is an old one but this is because go-ps reads from /proc/pid/stat, which returns the same minor information as /proc/pid/comm. I opened an issue to have it read os.Readlink of the /proc/pid/exe to get the real path. In the mean time, you can write your own basic function to take the pid, build the /proc/pid/exe path and use os.Readlink to read it out. Hope this helps!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Executable names are wonky. For example,
/usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
is truncated tounattended-upgr
.unattended-upgr
is not the real executable name. It's not even a filename. It's an incomplete part of the directory name supplied as a command line argument.The text was updated successfully, but these errors were encountered: