[systemd-devel] [HEADS-UP] cgroups patch for procps
Lennart Poettering
lennart at poettering.net
Tue May 18 06:15:43 PDT 2010
Heya,
if you package systemd for a distribution you might want to add this
patch to your procps package, on top of the cgroup patch that is already
shipped by (at least Fedora's) procps package:
https://bugzilla.redhat.com/show_bug.cgi?id=593267
Turns the output of "ps xawf -eo pid,args,user,cgroup" from this:
1 /usr/local/sbin/systemd sys root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1
300 /sbin/udevd -d root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/sysinit.service
560 \_ /sbin/udevd -d root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/sysinit.service
561 \_ /sbin/udevd -d root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/sysinit.service
636 /sbin/mingetty tty1 root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/getty at .service/tty1
637 /sbin/mingetty tty6 root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/getty at .service/tty6
638 /sbin/mingetty tty3 root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/getty at .service/tty3
639 /sbin/mingetty tty2 root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/getty at .service/tty2
640 /sbin/mingetty tty4 root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/getty at .service/tty4
641 /sbin/mingetty tty5 root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/getty at .service/tty5
699 auditd root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/auditd.service
701 \_ /sbin/audispd root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/auditd.service
703 \_ /usr/sbin/sedispatc root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/auditd.service
739 /sbin/rsyslogd -c 4 root blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/rsyslog.service
759 rpcbind rpc blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/rpcbind.service
782 rpc.statd rpcuser blkio:/;net_cls:/;freezer:/;devices:/;memory:/;cpuacct:/;cpu:/;ns:/;debug:/;cpuset:/;name=systemd:/systemd-1/nfslock.service
into this:
1 /usr/local/sbin/systemd sys root name=systemd:/systemd-1
300 /sbin/udevd -d root name=systemd:/systemd-1/sysinit.service
560 \_ /sbin/udevd -d root name=systemd:/systemd-1/sysinit.service
561 \_ /sbin/udevd -d root name=systemd:/systemd-1/sysinit.service
636 /sbin/mingetty tty1 root name=systemd:/systemd-1/getty at .service/tty1
637 /sbin/mingetty tty6 root name=systemd:/systemd-1/getty at .service/tty6
638 /sbin/mingetty tty3 root name=systemd:/systemd-1/getty at .service/tty3
639 /sbin/mingetty tty2 root name=systemd:/systemd-1/getty at .service/tty2
640 /sbin/mingetty tty4 root name=systemd:/systemd-1/getty at .service/tty4
641 /sbin/mingetty tty5 root name=systemd:/systemd-1/getty at .service/tty5
699 auditd root name=systemd:/systemd-1/auditd.service
701 \_ /sbin/audispd root name=systemd:/systemd-1/auditd.service
703 \_ /usr/sbin/sedispatc root name=systemd:/systemd-1/auditd.service
739 /sbin/rsyslogd -c 4 root name=systemd:/systemd-1/rsyslog.service
759 rpcbind rpc name=systemd:/systemd-1/rpcbind.service
782 rpc.statd rpcuser name=systemd:/systemd-1/nfslock.service
Have fun,
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the systemd-devel
mailing list