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
Maybe we could inspect /proc/<pid>/cgroup for each process before printing them out, and avoid printing them if the cgroup paths are not "/", as in this example: $ cat /proc/752/cgroup:
It would seem like xcheckrestart reports processes which run in a container, but are not/never were installed on the host system:
$ xbps-query -s postgre
(reports nothing)$ xcheckrestart
:Idea
Maybe we could inspect
/proc/<pid>/cgroup
for each process before printing them out, and avoid printing them if the cgroup paths are not "/", as in this example:$ cat /proc/752/cgroup
:On the host, I would expect non-containerized processes to output something like this:
$ cat /proc/1/cgroup
:The downside might be a performance hit...
PS: Thank you for this wonderful collection of tools!
The text was updated successfully, but these errors were encountered: