Close Menu
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • How to
      • Q&A
    • OS
      • Windows
      • Arch Linux
    • AI
    • Gaming
      • Easter Eggs
    • Statistics
    • Blog
      • Featured
    • MORE
      • IP Address
      • Man Pages
    • Write For Us
    • Contact
    Command Linux
    Home - man page - SYSTEMD-CGLS

    SYSTEMD-CGLS

    WillieBy WillieFebruary 9, 2026Updated:February 9, 2026No Comments2 Mins Read

    NAME

    systemd-cgls – Recursively show control group contents  

    SYNOPSIS

    systemd-cgls [OPTIONS…] [CGROUP…]
     

    DESCRIPTION

    systemd-cgls

    recursively shows the contents of the selected Linux control group hierarchy in a tree. If arguments are specified, shows all member processes of the specified control groups plus all their subgroups and their members. The control groups may either be specified by their full file paths or are assumed in the systemd control group hierarchy. If no argument is specified and the current working directory is beneath the control group mount point /sys/fs/cgroup, shows the contents of the control group the working directory refers to. Otherwise, the full systemd control group hierarchy is shown.

    By default, empty control groups are not shown.  

    OPTIONS

    The following options are understood:

    –all

    Do not hide empty control groups in the output.

    -l, –full

    Do not ellipsize process tree members.

    -k

    Include kernel threads in output.

    -M MACHINE, –machine=MACHINE

    Limit control groups shown to the part corresponding to the container MACHINE.

    -h, –help

    Print a short help text and exit.

    –version

    Print a short version string and exit.

    –no-pager

    Do not pipe output into a pager.
     

    EXIT STATUS

    On success, 0 is returned, a non-zero failure code otherwise.

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    PSTREE

    April 20, 2026

    SIGSUSPEND

    April 20, 2026

    SETFACL

    April 20, 2026

    SYSTEMD-SYSCTL.SERVICE

    April 20, 2026
    Top Posts

    EVP_DigestInit

    February 21, 2026

    PROC

    February 19, 2026

    DELUSER

    January 19, 2026

    DELUSER

    February 26, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.