To resolve a cgroups issue where a process is being placed in the wrong cgroup, I'm being advised to take regular snapshots of the
/proc/process-id/cgroups files over a period of time when the process is running. The idea being to identify the process and check if it's allocated cgroup is correct and/or changes over time.
Does anyone know of any tools which can capture this kind of information? I'm aware that simply 'tar'ing
/proc isn't an option due to its nature.