← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1424253] [NEW] RFE: procps tools should support lxc

 

You can use /proc/pid/ns and /proc/pid/cgroup to group results into
containers.  One example shown today on the lxc-users mailing list is

ps -eo pidns,cgroup:50,pid,user,args --sort pidns

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1424253

Title:
  RFE: procps tools should support lxc

Status in lxc package in Ubuntu:
  New

Bug description:
  Container management/monitoring is currently a pain, because procps do
  not support container, i.e. there is no way to tell the tools to
  "filter" the output wrt. a certain zone or to add a column, which
  shows the zone name a process belongs to.

  E.g. for what is needed:
  {ps|pgrep|pkill|top} ... -z $myzone 
  # show zone name as well
  {ps|top} -Z

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1424253/+subscriptions


References