Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

k1LoW/cgrps

Repository files navigation

cgrps Build Status GitHub release

cgrps is a set of commands for checking cgroups.

cgrps.gif

Usage

cgrps is supposed to be used with peco like following command,

$ cgrps stat $(cgrps ls | peco)

or

$ cgrps ls | grep user.slice | head -1 |  cgrps stat

Use with ps

$ ps u --pid $(cgrps ls | peco | cgrps pids | xargs)

Use with pidstat

$ pidstat -dru -h -p $(cgrps ls | peco | cgrps pids | xargs | tr ' ' ',')

Use with lsof

$ lsof -Pn -i -a -p $(cgrps ls | peco | cgrps pids | xargs | tr ' ' ',')

Commands

cgrps ls

list cgroups.

cgrps pids [CGROUP...]

report a snapshot of the current cgroups pids.

cgrps stat [CGROUP]

show current cgroup stats (CPU MEMORY BLKIO PIDS).

cgrps identify [PID...]

report cgroups for processes.

!!!NOTICE!!!

cgrps displays cgroups with the same hierarchies together.

If you want to check separately, please use cgroup-tools (Ubuntu) or libcgroup-tools (CentOS) etc.

About

cgrps is a set of commands for checking cgroups.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy