Bug 56643 - RFE: Ability to specify group or user with the systemd-cgls command
Summary: RFE: Ability to specify group or user with the systemd-cgls command
Status: RESOLVED INVALID
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium enhancement
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-01 16:57 UTC by Shawn Starr
Modified: 2012-11-01 17:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Shawn Starr 2012-11-01 16:57:47 UTC
It would be great if one could specify a group or user (great for scripting etc).

Example:

$ systemd-cgls --group auditd.service (or strips off the upper levels)

  system
  ├ auditd.service
  │ ├ 531 /sbin/auditd -n
  │ ├ 541 /sbin/audispd
  │ └ 542 /usr/sbin/sedispatch


$ systemd-cgls --user foo

├ user
│ └ foo
      └ 2
      ├ 8969 /bin/bash
Comment 1 Shawn Starr 2012-11-01 17:10:43 UTC
Close it... i didnt see something in manpage..


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.